IDEAS home Printed from https://ideas.repec.org/a/spr/pubtra/v17y2025i2d10.1007_s12469-024-00368-5.html
   My bibliography  Save this article

Forecasting public transit ridership amidst COVID-19: a machine learning approach

Author

Listed:
  • Muhammad Shah Zeb

    (National University of Sciences and Technology (NUST))

  • Muhammad Asif Khan

    (National University of Sciences and Technology (NUST))

  • Muhammad Muzzamil Hussain Khattak

    (National University of Sciences and Technology (NUST))

  • Sameer Ud-Din

    (National University of Sciences and Technology (NUST))

  • Muhammad Faisal Habib

    (North Dakota State University (NDSU))

  • Muhammad Zaheer Khan

    (National University of Sciences and Technology (NUST))

Abstract

Transit demand prediction is critical for effective public transit planning and operations, particularly in the unpredictable environment caused by the COVID-19 pandemic. Since the beginning of 2020, governments worldwide have implemented various non-pharmaceutical interventions to control the spread of the pandemic, impacting multiple sectors, such as education, health, industries, agriculture, and transportation. However, the specific effects of these interventions on transit ridership have yet to be quantified, making it a challenging task. This study shows that machine learning can be used to develop a model that correlates the impact of imposed interventions with other relevant variables on transit ridership. Four prediction models based on LSTM were developed, each using different groups of input variables related to both ridership and the pandemic. These input groups include seasonal data, non-pharmaceutical interventions, and COVID-19 statistics. Despite the difference in input variables, all models aimed to predict daily transit ridership. The results showed that the proposed model accurately and reliably maps the complex relationship between interventions and transit ridership. The predicted and actual results align closely, as evidenced by a high coefficient of determination (R2) of 0.96, with data points clustered along the regression line. Implementing this model can be highly beneficial for managing transit demand during disasters and emergencies, where predicting transit demand is critical for operational and planning purposes. Graphical Abstract

Suggested Citation

  • Muhammad Shah Zeb & Muhammad Asif Khan & Muhammad Muzzamil Hussain Khattak & Sameer Ud-Din & Muhammad Faisal Habib & Muhammad Zaheer Khan, 2025. "Forecasting public transit ridership amidst COVID-19: a machine learning approach," Public Transport, Springer, vol. 17(2), pages 391-420, June.
  • Handle: RePEc:spr:pubtra:v:17:y:2025:i:2:d:10.1007_s12469-024-00368-5
    DOI: 10.1007/s12469-024-00368-5
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s12469-024-00368-5
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s12469-024-00368-5?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
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Konstantinos Gkiotsalitis & Oded Cats, 2021. "Public transport planning adaption under the COVID-19 pandemic crisis: literature review of research needs and directions," Transport Reviews, Taylor & Francis Journals, vol. 41(3), pages 374-392, May.
    2. Eisenmann, Christine & Nobis, Claudia & Kolarova, Viktoriya & Lenz, Barbara & Winkler, Christian, 2021. "Transport mode use during the COVID-19 lockdown period in Germany: The car became more important, public transport lost ground," Transport Policy, Elsevier, vol. 103(C), pages 60-67.
    3. Alfredo Aloi & Borja Alonso & Juan Benavente & Rubén Cordera & Eneko Echániz & Felipe González & Claudio Ladisa & Raquel Lezama-Romanelli & Álvaro López-Parra & Vittorio Mazzei & Lucía Perrucci & Darí, 2020. "Effects of the COVID-19 Lockdown on Urban Mobility: Empirical Evidence from the City of Santander (Spain)," Sustainability, MDPI, vol. 12(9), pages 1-18, May.
    4. Varameth Vichiensan & Yoshitsugu Hayashi & Sudarat Kamnerdsap, 2021. "COVID-19 Countermeasures and Passengers’ Confidence of Urban Rail Travel in Bangkok," Sustainability, MDPI, vol. 13(16), pages 1-22, August.
    5. Quanchao Chen & Di Wen & Xuqiang Li & Dingjun Chen & Hongxia Lv & Jie Zhang & Peng Gao, 2019. "Empirical mode decomposition based long short-term memory neural network forecasting model for the short-term metro passenger flow," PLOS ONE, Public Library of Science, vol. 14(9), pages 1-18, September.
    6. Rebecca Brough & Matthew Freedman & David C. Phillips, 2021. "Understanding socioeconomic disparities in travel behavior during the COVID‐19 pandemic," Journal of Regional Science, Wiley Blackwell, vol. 61(4), pages 753-774, September.
    7. Daniel J McGrail & Jianli Dai & Kathleen M McAndrews & Raghu Kalluri, 2020. "Enacting national social distancing policies corresponds with dramatic reduction in COVID19 infection rates," PLOS ONE, Public Library of Science, vol. 15(7), pages 1-9, July.
    8. Richard S. Gray, 2020. "Agriculture, transportation, and the COVID‐19 crisis," Canadian Journal of Agricultural Economics/Revue canadienne d'agroeconomie, Canadian Agricultural Economics Society/Societe canadienne d'agroeconomie, vol. 68(2), pages 239-243, June.
    9. Yang, Xin & Xue, Qiuchi & Ding, Meiling & Wu, Jianjun & Gao, Ziyou, 2021. "Short-term prediction of passenger volume for urban rail systems: A deep learning approach based on smart-card data," International Journal of Production Economics, Elsevier, vol. 231(C).
    10. Riccardo Ceccato & Riccardo Rossi & Massimiliano Gastaldi, 2021. "Travel Demand Prediction during COVID-19 Pandemic: Educational and Working Trips at the University of Padova," Sustainability, MDPI, vol. 13(12), pages 1-20, June.
    11. Christian Martin Mützel & Joachim Scheiner, 2022. "Investigating spatio-temporal mobility patterns and changes in metro usage under the impact of COVID-19 using Taipei Metro smart card data," Public Transport, Springer, vol. 14(2), pages 343-366, June.
    12. Armita Kar & Huyen T. K. Le & Harvey J. Miller, 2022. "What Is Essential Travel? Socioeconomic Differences in Travel Demand in Columbus, Ohio, during the COVID-19 Lockdown," Annals of the American Association of Geographers, Taylor & Francis Journals, vol. 112(4), pages 1023-1046, April.
    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. Tinessa, Fiore & Román Garcia, Concepción & Simonelli, Fulvio & Papola, Andrea & Pagliara, Francesca, 2024. "How public transport users would react to different pandemic alert scenarios in the post-vaccine era? An analysis of preferences and attitudes of the users in the metropolitan area of Naples (Italy)," Transportation Research Part A: Policy and Practice, Elsevier, vol. 190(C).
    2. Tiznado-Aitken, Ignacio & Palm, Matthew & Farber, Steven, 2024. "Segmenting transit ridership: From crisis to opportunity," Transportation Research Part A: Policy and Practice, Elsevier, vol. 190(C).
    3. Ferreira, Sara & Amorim, Marco & Lobo, António & Kern, Mira & Fanderl, Nora & Couto, António, 2022. "Travel mode preferences among German commuters over the course of COVID-19 pandemic," Transport Policy, Elsevier, vol. 126(C), pages 55-64.
    4. Borsati, Mattia & Nocera, Silvio & Percoco, Marco, 2022. "Questioning the spatial association between the initial spread of COVID-19 and transit usage in Italy," Research in Transportation Economics, Elsevier, vol. 95(C).
    5. Fabre, Léa & Bayart, Caroline & Bonnel, Patrick & Mony, Nicolas, 2023. "The potential of Wi-Fi data to estimate bus passenger mobility," Technological Forecasting and Social Change, Elsevier, vol. 192(C).
    6. Aditya Mahatidanar Hidayat & Kasem Choocharukul, 2023. "Passengers’ Intentions to Use Public Transport during the COVID-19 Pandemic: A Case Study of Bangkok and Jakarta," Sustainability, MDPI, vol. 15(6), pages 1-19, March.
    7. Maria Cieśla & Sandra Kuśnierz & Oliwia Modrzik & Sonia Niedośpiał & Patrycja Sosna, 2021. "Scenarios for the Development of Polish Passenger Transport Services in Pandemic Conditions," Sustainability, MDPI, vol. 13(18), pages 1-16, September.
    8. Stefaniec, Agnieszka & Brazil, William & Whitney, Warren & Caulfield, Brian, 2022. "Desire to work from home: Results of an Irish study," Journal of Transport Geography, Elsevier, vol. 104(C).
    9. Karimi, Sina & Samadzad, Mahdi & Lesteven, Gaele, 2024. "Navigating public transport during a pandemic: Key lessons on travel behavior and social equity from two surveys in Tehran," Transportation Research Part A: Policy and Practice, Elsevier, vol. 184(C).
    10. Olivera Lekić Glavan & Nenad Nikolić & Branislav Folić & Biljana Vitošević & Aleksandra Mitrović & Saja Kosanović, 2022. "COVID-19 and City Space: Impact and Perspectives," Sustainability, MDPI, vol. 14(3), pages 1-19, February.
    11. Vega-Gonzalo, Maria & Gomez, Juan & Christidis, Panayotis, 2023. "How has COVID-19 changed private car use in European urban areas? An analysis of the effect of socio-economic characteristics and mobility habits," Transportation Research Part A: Policy and Practice, Elsevier, vol. 172(C).
    12. Wang, Yucheng & Gao, Yanan, 2022. "Travel satisfaction and travel well-being: Which is more related to travel choice behaviour in the post COVID-19 pandemic? Evidence from public transport travellers in Xi’an, China," Transportation Research Part A: Policy and Practice, Elsevier, vol. 166(C), pages 218-233.
    13. Corazza, Maria Vittoria & Musso, Antonio, 2021. "Urban transport policies in the time of pandemic, and after: An ARDUOUS research agenda," Transport Policy, Elsevier, vol. 103(C), pages 31-44.
    14. Sara McLafferty & Valerie Preston, 2023. "Geographies of Frontline Workers: Gender, Race, and Commuting in New York City," Sustainability, MDPI, vol. 15(4), pages 1-17, February.
    15. Ouassim Manout & Louafi Bouzouina & Karima Kourtit & Peter Nijkamp, 2023. "On the bumpy road to recovery: resilience of public transport ridership during COVID-19 in 15 European cities," Letters in Spatial and Resource Sciences, Springer, vol. 16(1), pages 1-15, December.
    16. Michal Zajfert, 2025. "Urban transport during the COVID-19 pandemic: a case study of Poland," Public Transport, Springer, vol. 17(1), pages 153-176, March.
    17. Baudains, Peter & Kalatian, Arash & Choudhury, Charisma F. & Manley, Ed, 2024. "Social inequality and the changing patterns of travel in the pandemic and post-pandemic era," Journal of Transport Geography, Elsevier, vol. 118(C).
    18. Emma Strömblad & Lena Winslott Hiselius & Lena Smidfelt Rosqvist & Helena Svensson, 2021. "Adaptive Travel Behaviors to Cope with COVID-19: A Swedish Qualitative Study Focusing on Everyday Leisure Trips," Sustainability, MDPI, vol. 13(23), pages 1-17, November.
    19. Jiang, Shixiong & Cai, Canhuang, 2022. "Unraveling the dynamic impacts of COVID-19 on metro ridership: An empirical analysis of Beijing and Shanghai, China," Transport Policy, Elsevier, vol. 127(C), pages 158-170.
    20. Soria, Jason & Edward, Deirdre & Stathopoulos, Amanda, 2023. "Requiem for transit ridership? An examination of who abandoned, who will return, and who will ride more with mobility as a service," Transport Policy, Elsevier, vol. 134(C), pages 139-154.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    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:spr:pubtra:v:17:y:2025:i:2:d:10.1007_s12469-024-00368-5. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.