Madrid Traffic Accidents Dataset

descriptive
traffic accidents
Author

Kazuharu Yanagimoto

Published

March 24, 2024

This is an analysis of the Madrid Traffic Accidents dataset. You can find a code for downloading and cleaning the data in code/00_download/ and code/01_cleaning/.

Note

I wrote this code for the workshop “An Advanced Introduction to R” at CEMFI in January 2022. You can find the slides and the materials in the GitHub repository

Logit Regression of Hospitalization and Death

Hospitalization
Died within 24 hours
 (1)   (2)   (3)   (4)   (5)   (6)
Passenger 0.026 0.501** 0.475** −1.697** −1.445* −1.440*
(0.100) (0.069) (0.068) (0.616) (0.631) (0.631)
Pedestrian 2.117** 2.381** 2.298** 2.190** 2.326** 2.327**
(0.114) (0.061) (0.058) (0.260) (0.248) (0.246)
Positive Alcohol 0.007 0.355** 0.381** −13.685** −13.421** −13.460**
(0.072) (0.081) (0.081) (0.059) (0.055) (0.054)
Observations 197477 197369 176133 118462 116344 112659
FE: Age Group X X X X X X
FE: Gender X X X X X X
FE: Type of Vehicle X X X X
FE: Weather X X
+ p < 0.1, * p < 0.05, ** p < 0.01