Pandemic velocity: Forecasting COVID-19 in the US with a machine learning & Bayesian time series compartmental model
- PMID: 33780443
- PMCID: PMC8031749
- DOI: 10.1371/journal.pcbi.1008837
Pandemic velocity: Forecasting COVID-19 in the US with a machine learning & Bayesian time series compartmental model
Abstract
Predictions of COVID-19 case growth and mortality are critical to the decisions of political leaders, businesses, and individuals grappling with the pandemic. This predictive task is challenging due to the novelty of the virus, limited data, and dynamic political and societal responses. We embed a Bayesian time series model and a random forest algorithm within an epidemiological compartmental model for empirically grounded COVID-19 predictions. The Bayesian case model fits a location-specific curve to the velocity (first derivative) of the log transformed cumulative case count, borrowing strength across geographic locations and incorporating prior information to obtain a posterior distribution for case trajectories. The compartmental model uses this distribution and predicts deaths using a random forest algorithm trained on COVID-19 data and population-level characteristics, yielding daily projections and interval estimates for cases and deaths in U.S. states. We evaluated the model by training it on progressively longer periods of the pandemic and computing its predictive accuracy over 21-day forecasts. The substantial variation in predicted trajectories and associated uncertainty between states is illustrated by comparing three unique locations: New York, Colorado, and West Virginia. The sophistication and accuracy of this COVID-19 model offer reliable predictions and uncertainty estimates for the current trajectory of the pandemic in the U.S. and provide a platform for future predictions as shifting political and societal responses alter its course.
Conflict of interest statement
I have read the journal’s policy and the authors of this manuscript have the following competing interests: GLW, JAZ, PS, TB, and report personal fees from Private Health Management during the conduct of the study. CMR reports grants and personal fees from Private Health Management. MAS reports grants from US National Institutes of Health, grants from IQVIA, personal fees from Janssen Research and Development, and personal fees from Private Health Management during the conduct of the study. DX, LZ, JS, and AWR declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Figures





Similar articles
-
Challenges of COVID-19 Case Forecasting in the US, 2020-2021.PLoS Comput Biol. 2024 May 6;20(5):e1011200. doi: 10.1371/journal.pcbi.1011200. eCollection 2024 May. PLoS Comput Biol. 2024. PMID: 38709852 Free PMC article.
-
A comparison of five epidemiological models for transmission of SARS-CoV-2 in India.BMC Infect Dis. 2021 Jun 7;21(1):533. doi: 10.1186/s12879-021-06077-9. BMC Infect Dis. 2021. PMID: 34098885 Free PMC article.
-
Dynamic causal models in infectious disease epidemiology-an assessment of their predictive validity based on the COVID-19 epidemic in the UK 2020 to 2024.Front Public Health. 2025 May 2;13:1573783. doi: 10.3389/fpubh.2025.1573783. eCollection 2025. Front Public Health. 2025. PMID: 40385629 Free PMC article.
-
A particle swarm optimization approach for predicting the number of COVID-19 deaths.Sci Rep. 2021 Aug 16;11(1):16587. doi: 10.1038/s41598-021-96057-5. Sci Rep. 2021. PMID: 34400735 Free PMC article. Review.
-
Investigating and forecasting infectious disease dynamics using epidemiological and molecular surveillance data.Phys Life Rev. 2024 Dec;51:294-327. doi: 10.1016/j.plrev.2024.10.011. Epub 2024 Oct 24. Phys Life Rev. 2024. PMID: 39488136 Review.
Cited by
-
Analytical reference framework to analyze non-COVID-19 events.Popul Health Metr. 2023 Oct 21;21(1):16. doi: 10.1186/s12963-023-00316-8. Popul Health Metr. 2023. PMID: 37865751 Free PMC article.
-
Integrating artificial intelligence with mechanistic epidemiological modeling: a scoping review of opportunities and challenges.Nat Commun. 2025 Jan 10;16(1):581. doi: 10.1038/s41467-024-55461-x. Nat Commun. 2025. PMID: 39794317 Free PMC article.
-
Deep learning for Covid-19 forecasting: State-of-the-art review.Neurocomputing (Amst). 2022 Oct 28;511:142-154. doi: 10.1016/j.neucom.2022.09.005. Epub 2022 Sep 8. Neurocomputing (Amst). 2022. PMID: 36097509 Free PMC article.
-
Machine learning in infectious diseases: potential applications and limitations.Ann Med. 2024 Dec;56(1):2362869. doi: 10.1080/07853890.2024.2362869. Epub 2024 Jun 10. Ann Med. 2024. PMID: 38853633 Free PMC article. Review.
-
Leveraging artificial intelligence for pandemic preparedness and response: a scoping review to identify key use cases.NPJ Digit Med. 2021 Jun 10;4(1):96. doi: 10.1038/s41746-021-00459-8. NPJ Digit Med. 2021. PMID: 34112939 Free PMC article.
References
-
- Walker PG, Whittaker C, Watson O, Baguelin M, Ainslie K, Bhatia S, et al.. The global impact of COVID-19 and strategies for mitigation and suppression. Imperial College London. 2020; 10.1126/science.abc0035 - DOI
-
- Mandal S, Bhatnagar T, Arinaminpathy N, Agarwal A, Chowdhury A, Murhekar M, et al.. Prudent public health intervention strategies to control the coronavirus disease 2019 transmission in India: A mathematical model-based approach. Indian J Med Res. 2020;151. 10.4103/ijmr.IJMR_504_20 - DOI - PMC - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Other Literature Sources
Medical