Car Accidents Analysis of the zip code 10458
Project Dataset
I Chose this project because I was curious about the time frame of when most accidents occur. I also love cars as well. I found the data set on the NYC Open Data website at https://data.cityofnewyork.us/Public-Safety/NYPD-Motor-Vehicle-Collisions-Crashes/h9gi-nx95
The data set was filtered to only used the data from the Bronx only from 2014 to the present date. Then that dataset was further filtered to include only data from the 10458 zip code.
Project goals
The goal of the project is to analyze the times and number of traffic accidents.
https://github.com/Dpinkney001/Data-Science-MAT328-Project-Spring-2021
Accident Map data
The blue icons represents the accidents at the point location. It is a lot.
Dataframe.hist() Statistics
Out of all 8103 crashes, was killed in the zip code of 10458 Includes crashes with vehicles with cyclists and vehicles with pedestrians.
Statictical Data
Highest rate of injury
During mid 2015 to mid 2017 there was the highest rates of injury in the zip code of 10458
Relplot Data
Linear Regression model
The model predicts the times during June 8 at midnight there will be a low chance there will be an accident that any injury or death will occur.
Sns.replot data
scatter plot of number of persons injured and number of persons killed
According to the data and the graph results more people were injured than those who were killed in this zip code of 10458.
Scatter plot of the number of people injured and the time of day
There is a high rate of people who were injured in a collision and at various times of the day.
Scatter plot of the number of people killed and the time of day
There is a relatively low amount of people who were fatally injured in a collision.
Relplot of the number of motorists killed in a collision
Relplot of the number of motorists injured in a collision
Further analysis of the number of motorists killed in a collision
Out of all the accidents only one motorist was killed in a collision in the zip code 10458
scatter plot of the people who were killed in a collision during different times of day
Catplot of the number of persons injured
The most number of persons injured in a collision was 6 people and according to the graph that has happened two or three times in a 6 year period.