Statistical, machine learning, and deep learning models for COVID-19 forecasting in Kenya
Abstract This study aims to enhance coronavirus disease 2019 forecasting in Kenya by comparing the predictive performance of statistical, machine learning, and deep learning (DL) models for total cases, critical cases, severe cases, and total deaths, using data from April 2020 to August 2021. Six models – autoregressive integrated moving average (ARIMA), support vector regression, random forest (RF), recurrent neural network, long short-term memory, and gated recurrent unit – were evaluated with an 80–20 train-test split, employing root mean squared error, mean absolute error, mean absolute percentage error, and <m:math xmlns:m="http://www.w3.org/1998/Math/MathML"> <m:msup> <m:mrow> <m:mi>R</m:mi> </m:mrow> <m:mrow> <m:mn>2</m:mn> </m:mrow> </m:msup> </m:math> {R}^{2} metrics. The Diebold-Mariano (DM) test assessed statistical significance of error differences. Results reveal RF as the top performer, consistently achieving the lowest errors and highest <m:math xmlns:m="http://www.w3.org/1998/Math/MathML"> <m:msup> <m:mrow> <m:mi>R</m:mi> </m:mrow> <m:mrow> <m:mn>2</m:mn> </m:mrow> </m:msup> </m:math> {R}^{2} across all datasets, indicating superior accuracy in capturing nonlinear epidemic patterns. GRU outperformed other DL models, while ARIMA showed the weakest performance. The DM test confirmed significant differences in forecasting errors, with RF generally outperforming other models.
Authors
- Samuel Mwalili (ORCID: https://orcid.org/0000-0002-9703-6514)
- Amos Kipkorir Langat (ORCID: https://orcid.org/0000-0002-7813-6835)
- Joyce Kiarie (ORCID: https://orcid.org/0000-0001-6610-0539)
- Rachel Waema Mbogo (ORCID: https://orcid.org/0000-0003-1639-1360)
- John Kamwele Mutinda (ORCID: https://orcid.org/0009-0004-7919-2064)
Institutions
- Strathmore University (KE)
- Jomo Kenyatta University of Agriculture and Technology (KE)
- Department of Mathematical Sciences (RU)
Publication Details
- Journal
- Computational and Mathematical Biophysics
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1515/cmb-2025-0026
- Citations
- 1
- Primary Topic
- COVID-19 diagnosis using AI
- Type
- article
- Field-Weighted Citation Impact
- 1.36