4 Interactive graph
Compare The Relative Danger of Two Boroughs over the Time Periods 2021 and 2022.
Comparisons are based on the z-test for significance of pairs. Choose buttons below based on which two sets over time and borough you would like to compare. For example, choosing 2021 and Brooklyn for Set 1 and 2022 and Manhattan for Set 2 allows us to compare if Manhattan in 2022 was more dangerous in terms of recorded automobile crashes than Brooklyn in 2021. The danger here is computed by the number of people killed/total number of car crashes, and the number of people injured/total number of car crashes.
Set 1 - Year Selection
Set 2 - Year Selection
Set 1 - Borough
Set 2 - Borough
Are these two sets statistically significantly different from the other?