IDEAS home Printed from https://ideas.repec.org/a/wly/jforec/v44y2025i2p730-752.html

Data‐Driven Predictive Modeling of Citywide Crowd Flow for Urban Safety Management: A Case Study of Beijing, China

Author

Listed:
  • He Jiang
  • Xuxilu Zhang
  • Yao Dong
  • Jianzhou Wang

Abstract

Crowd flow forecasting is vital for urban planning, resource allocation, and public safety, particularly in the context of the COVID‐19 pandemic. However, traditional predictive models struggle to capture the complex, nonlinear spatial–temporal relationships inherent in crowd flow data due to its irregular volatility. To address these limitations, this paper proposes the innovative citywide crowd flow prediction (CCFP) model, which merges statistical rules with machine learning techniques (XGBoost, LightGBM, and CatBoost). The CCFP model is specifically designed to leverage spatial dependencies and two‐level periodicity (weekly and daily) in population flow to predict crowd flow indexes ( CFI$$ CFI $$) within specific areas. We employ an urban area graph created using the Node2Vec algorithm to capture the temporal and spatial nuances of human flow patterns. Notably, this study innovatively incorporates migration, weather, and epidemic data into machine‐learning models for feature extraction. Moreover, it introduces weighted factors— growth,base,week$$ growth, base, week $$, and day$$ day $$—to enhance the accuracy of CFI$$ CFI $$ prediction. Among the combined models, CCFP outperforms others with remarkable scientific precision (root mean squared error, RMSE=2.04$$ RMSE=2.04 $$; mean absolute error, MAE=0.81$$ MAE=0.81 $$; mean absolute percentage error, MAPE=0.13$$ MAPE=0.13 $$). Overall, the CCFP model represents a significant advancement in crowd flow prediction, offering valuable insights for urban safety management and city planning during pandemics.

Suggested Citation

  • He Jiang & Xuxilu Zhang & Yao Dong & Jianzhou Wang, 2025. "Data‐Driven Predictive Modeling of Citywide Crowd Flow for Urban Safety Management: A Case Study of Beijing, China," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 44(2), pages 730-752, March.
  • Handle: RePEc:wly:jforec:v:44:y:2025:i:2:p:730-752
    DOI: 10.1002/for.3216
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/for.3216
    Download Restriction: no

    File URL: https://libkey.io/10.1002/for.3216?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Hauzenberger, Niko & Huber, Florian & Klieber, Karin & Marcellino, Massimiliano, 2025. "Bayesian neural networks for macroeconomic analysis," Journal of Econometrics, Elsevier, vol. 249(PC).
    2. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2017. "The contribution of jumps to forecasting the density of returns," Post-Print halshs-01442618, HAL.
    3. Vitek, Francis, 2006. "Measuring the Stance of Monetary Policy in a Small Open Economy: A Dynamic Stochastic General Equilibrium Approach," MPRA Paper 802, University Library of Munich, Germany.
    4. Xilong Chen & Eric Ghysels, 2011. "News--Good or Bad--and Its Impact on Volatility Predictions over Multiple Horizons," The Review of Financial Studies, Society for Financial Studies, vol. 24(1), pages 46-81, October.
    5. Faria, Gonçalo & Verona, Fabio, 2023. "Forecast combination in the frequency domain," Bank of Finland Research Discussion Papers 1/2023, Bank of Finland.
    6. Chen, Qitong & Hong, Yongmiao & Li, Haiqi, 2024. "Time-varying forecast combination for factor-augmented regressions with smooth structural changes," Journal of Econometrics, Elsevier, vol. 240(1).
    7. Cavit Pakel & Neil Shephard & Kevin Sheppard & Robert F. Engle, 2021. "Fitting Vast Dimensional Time-Varying Covariance Models," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 39(3), pages 652-668, July.
    8. Bentes, Sonia R. & Menezes, Rui, 2013. "On the predictability of realized volatility using feasible GLS," Journal of Asian Economics, Elsevier, vol. 28(C), pages 58-66.
    9. Hayashi, Masayoshi, 2014. "Forecasting welfare caseloads: The case of the Japanese public assistance program," Socio-Economic Planning Sciences, Elsevier, vol. 48(2), pages 105-114.
    10. Kevin Curran & Emerson Krasusky, 2025. "Regional Spotlight: Introducing the Price and Inflation Expectations Survey," Regional Spotlight, Federal Reserve Bank of Philadelphia, pages 1-7, December.
    11. Ellwanger, Reinhard & Snudden, Stephen, 2025. "Putting VAR forecasts of the real price of crude oil to the test," Finance Research Letters, Elsevier, vol. 77(C).
    12. David Bolder & Shudan Liu, 2007. "Examining Simple Joint Macroeconomic and Term-Structure Models: A Practitioner's Perspective," Staff Working Papers 07-49, Bank of Canada.
    13. Manabu Asai & Rangan Gupta & Michael McAleer, 2019. "The Impact of Jumps and Leverage in Forecasting the Co-Volatility of Oil and Gold Futures," Energies, MDPI, vol. 12(17), pages 1-17, September.
    14. Dhanya Jothimani & Ravi Shankar & Surendra S. Yadav, 2016. "Discrete Wavelet Transform-Based Prediction of Stock Index: A Study on National Stock Exchange Fifty Index," Papers 1605.07278, arXiv.org.
    15. Eliana Gonz�lez & Luis F. Melo & Viviana Monroy & Brayan Rojas, 2009. "A Dynamic Factor Model For The Colombian Inflation," Borradores de Economia 5273, Banco de la Republica.
    16. Hu, Junjie & López Cabrera, Brenda & Melzer, Awdesch, 2021. "Advanced statistical learning on short term load process forecasting," IRTG 1792 Discussion Papers 2021-020, Humboldt University of Berlin, International Research Training Group 1792 "High Dimensional Nonstationary Time Series".
    17. Almeida, Thiago Ramos, 2024. "Estimating time-varying factors’ variance in the string-term structure model with stochastic volatility," Research in International Business and Finance, Elsevier, vol. 70(PA).
    18. Kim, Hyun Hak & Swanson, Norman R., 2018. "Mining big data using parsimonious factor, machine learning, variable selection and shrinkage methods," International Journal of Forecasting, Elsevier, vol. 34(2), pages 339-354.
    19. Franck Sédillot, 2001. "La pente des taux contient-elle de l'information sur l'activité économique future ?," Economie & Prévision, La Documentation Française, vol. 147(1), pages 141-157.
    20. Mohamed CHIKHI & Claude DIEBOLT, 2022. "Testing the weak form efficiency of the French ETF market with the LSTAR-ANLSTGARCH approach using a semiparametric estimation," Eastern Journal of European Studies, Centre for European Studies, Alexandru Ioan Cuza University, vol. 13, pages 228-253, June.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wly:jforec:v:44:y:2025:i:2:p:730-752. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Wiley Content Delivery (email available below). General contact details of provider: http://www3.interscience.wiley.com/cgi-bin/jhome/2966 .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.