Prediction of Taxi Ridership in New York City based on ARIMA Model


  • Xuanqi Zhang



Taxi ridership; ARIMA model; white noise hypothesis.


With the development of society, people's travel demand is increasing. Traffic congestion has become an urgent problem to be solved. The effective prediction of passenger flow has become a key problem to solve the traffic congestion problem. There is always an accurate prediction result that allows people to better deal with the future traffic situation and make the best response strategy. In this study, the ARIMA model was used for prediction experiments. By analyzing and modeling the ridership data of New York taxi companies from January to July 2015. Get the suitable model for this study is ARIMA (3,1,1) model. And whether the data can be used by ARIMA model is tested to ensure the reliability of the model. Then, the line chart and prediction data about time and number of trips are obtained. Through this study, it can be found that ARIMA prediction model has certain practicability and reliability in predicting data. Through the analysis of the data set, the predicted value of the passenger flow from August 1 to 8 can be obtained more accurately. At the same time, there are some limitations, that can be improved when combined with other models. For example, when dealing with the data set related to vehicles in this study, the ARIMA model could not be used for predictive analysis because the data set itself had many extreme values and outliers.


Download data is not yet available.


Liu Y, Yu H, Fang H. Application of KNN prediction model in urban traffic flow prediction. In: Proceedings of the 2021 5th Asian Conference on Artificial Intelligence Technology, 2021, 389-392.

Xu D, Wang Y, Peng P, et al. Real-time road traffic state prediction based on kernel-KNN. Transportmetrica, 2020, 16(1): 104-118.

Rahman F I. Short-term traffic flow prediction using machine learning KNN, SVM, and ANN with weather information. International Journal for Traffic & Transport Engineering, 2020, 10(3): 8.

Ji X, Ge Y. Holiday highway traffic flow prediction method based on deep learning. Journal of System Simulation, 2020, 32(06): 1164-1171.

Li W, Feng F, Jiang Q. Improved particle swarm algorithm to optimize the LSTM neural network rail passenger traffic prediction. Journal of Railway Science and Engineering, 2018, 3274-3280.

Ding Z, Tang G, Zhang B, et al. Traffic flow prediction based on improved long short-term memory neural network. Network Security and Data Governance, 2023, 42(08): 52-58.

Zhang L. Research and system implementation of analysis and prediction algorithm based on time series ARIMA model. Jiangsu University, 2008.

Hou L. Short-term analysis and prediction of oil price based on ARIMA model. Jinan University, 2009.

Xia L. Research on forecasting method of regional electricity consumption based on ARIMA model and regression analysis. Nanjing University of Science and Technology, 2013.

Bao W, Liu H, Fang Y, et al. Short-term traffic flow prediction at intersections using CNN-ARIMA. Automotive Practical Technology, 2023, 48(22): 178-182.




How to Cite

Zhang, X. (2024). Prediction of Taxi Ridership in New York City based on ARIMA Model. Highlights in Science, Engineering and Technology, 105, 24-29.