A new data-driven model for vehicle and pedestrian safety: statistical approach based on spatial decision-making | Synapse