This analysis examines the relationship between transit crime complaints and daily subway ridership across New York City using 12 million records of the city's open data. My findings reveal critical actionable insights to the security team at MTA Headquarters to help provide New Yorkers a safe subway experience.
MTA Ridership Data, NYPD Transit Crime Complaints Data, MTA Subway Station Data
January 2024 - June 2024
Geospatial Mapping, Time Series Analysis, Correlation Studies, Statistical Thresholding
Brooklyn, Manhattan, Queens, The Bronx
Major Felonies (Grand Larceny, Felony Assault, Robbery, Burglary, Rape)
Complaints generally rise with ridership, except at 14 St–Union Sq and 74 Broadway – Jackson Heights, where complaints are high despite low ridership.
T-tests suggest the complaint anomaly is likely due to chance, not differences in average ridership.
A weak cross-correlation index of 0.18 indicates that complaint volume had no significant effect on ridership at these stations.
Anomaly detection found unusual ridership patterns on 8% of complaint days at 14 St - Union Sq and 11.12% at 74 Broadway - Jackson Heights, suggesting ridership behaved unexpectedly on those days.
* For major felonies.
* For major felonies per complaint station
Complaints count is sporadic throughout the year. While total daily complaints is low on most holidays, both weekends and holidays show elevated daily averages.
Daily ridership peaks during weekdays, with a dip on weekends. Ridership significantly drops on holidays.
Ridership across stations with complaints closely mirrors the trend across all stations. 85.9% of the total daily ridership comes from complaint stations.
To investigate anomaly stations with high complaint days frequency but lower average ridership.
Anomaly: 14 St–Union Sq, 74 Broadway–Jackson Heights
Non-Anomaly: Times Sq–42 St, Grand Central–42 St, 34 St–Penn Station
Number of complaint days (non-holiday) flagged as anomalies for average daily ridership:
Although not every complaint leads to an arrest, complaints still provide insight into what is troubling subway riders in New York City and where. This will help senior leadership take suitable actions to improve safety in the system.
Higher daily ridership usually comes with more complaint days, except for 14 St–Union Sq and 74 Broadway–Jackson Heights Roosevelt Av stations, where ridership is relatively low.
Statistical testing revealed that average daily ridership at these stations does not depend on number of complaint days.
Hence, deviations in ridership may be due to other factors such as socio-economic environment and design vulnerabilities (e.g., poor lighting, entrance/exit congestion, lack of patrol presence).
Anomaly detection model allows for plugging in new data to identify similar deviations from the norm.