IDEAS home Printed from https://ideas.repec.org/a/plo/pgph00/0000495.html

Accuracy comparison of ARIMA and XGBoost forecasting models in predicting the incidence of COVID-19 in Bangladesh

Author

Listed:
  • Md Siddikur Rahman
  • Arman Hossain Chowdhury
  • Miftahuzzannat Amrin

Abstract

Accurate predictive time series modelling is important in public health planning and response during the emergence of a novel pandemic. Therefore, the aims of the study are three-fold: (a) to model the overall trend of COVID-19 confirmed cases and deaths in Bangladesh; (b) to generate a short-term forecast of 8 weeks of COVID-19 cases and deaths; (c) to compare the predictive accuracy of the Autoregressive Integrated Moving Average (ARIMA) and eXtreme Gradient Boosting (XGBoost) for precise modelling of non-linear features and seasonal trends of the time series. The data were collected from the onset of the epidemic in Bangladesh from the Directorate General of Health Service (DGHS) and Institute of Epidemiology, Disease Control and Research (IEDCR). The daily confirmed cases and deaths of COVID-19 of 633 days in Bangladesh were divided into several training and test sets. The ARIMA and XGBoost models were established using those training data, and the test sets were used to evaluate each model’s ability to forecast and finally averaged all the predictive performances to choose the best model. The predictive accuracy of the models was assessed using the mean absolute error (MAE), mean percentage error (MPE), root mean square error (RMSE) and mean absolute percentage error (MAPE). The findings reveal the existence of a nonlinear trend and weekly seasonality in the dataset. The average error measures of the ARIMA model for both COVID-19 confirmed cases and deaths were lower than XGBoost model. Hence, in our study, the ARIMA model performed better than the XGBoost model in predicting COVID-19 confirmed cases and deaths in Bangladesh. The suggested prediction model might play a critical role in estimating the spread of a novel pandemic in Bangladesh and similar countries.

Suggested Citation

  • Md Siddikur Rahman & Arman Hossain Chowdhury & Miftahuzzannat Amrin, 2022. "Accuracy comparison of ARIMA and XGBoost forecasting models in predicting the incidence of COVID-19 in Bangladesh," PLOS Global Public Health, Public Library of Science, vol. 2(5), pages 1-13, May.
  • Handle: RePEc:plo:pgph00:0000495
    DOI: 10.1371/journal.pgph.0000495
    as

    Download full text from publisher

    File URL: https://journals.plos.org/globalpublichealth/article?id=10.1371/journal.pgph.0000495
    Download Restriction: no

    File URL: https://journals.plos.org/globalpublichealth/article/file?id=10.1371/journal.pgph.0000495&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pgph.0000495?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. Hyndman, Rob J. & Khandakar, Yeasmin, 2008. "Automatic Time Series Forecasting: The forecast Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i03).
    2. Singh, Sarbjit & Parmar, Kulwinder Singh & Makkhan, Sidhu Jitendra Singh & Kaur, Jatinder & Peshoria, Shruti & Kumar, Jatinder, 2020. "Study of ARIMA and least square support vector machine (LS-SVM) models for the prediction of SARS-CoV-2 confirmed cases in the most affected countries," Chaos, Solitons & Fractals, Elsevier, vol. 139(C).
    3. Mizuho Nishio & Mitsuo Nishizawa & Osamu Sugiyama & Ryosuke Kojima & Masahiro Yakami & Tomohiro Kuroda & Kaori Togashi, 2018. "Computer-aided diagnosis of lung nodule using gradient tree boosting and Bayesian optimization," PLOS ONE, Public Library of Science, vol. 13(4), pages 1-13, April.
    4. Rosselló, Jaume & Sansó, Andreu, 2017. "Yearly, monthly and weekly seasonality of tourism demand: A decomposition analysis," Tourism Management, Elsevier, vol. 60(C), pages 379-389.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Mst Noorunnahar & Arman Hossain Chowdhury & Farhana Arefeen Mila, 2023. "A tree based eXtreme Gradient Boosting (XGBoost) machine learning model to forecast the annual rice production in Bangladesh," PLOS ONE, Public Library of Science, vol. 18(3), pages 1-15, March.
    2. Mirna Patricia Ponce-Flores & Jesús David Terán-Villanueva & Salvador Ibarra-Martínez & José Antonio Castán-Rocha, 2023. "Generalized Pandemic Model with COVID-19 for Early-Stage Infection Forecasting," Mathematics, MDPI, vol. 11(18), pages 1-18, September.
    3. Md Siddikur Rahman & Arman Hossain Chowdhury, 2022. "A data-driven eXtreme gradient boosting machine learning model to predict COVID-19 transmission with meteorological drivers," PLOS ONE, Public Library of Science, vol. 17(9), pages 1-14, September.

    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. Md Siddikur Rahman & Arman Hossain Chowdhury, 2022. "A data-driven eXtreme gradient boosting machine learning model to predict COVID-19 transmission with meteorological drivers," PLOS ONE, Public Library of Science, vol. 17(9), pages 1-14, September.
    2. Rob Hyndman & Heather Booth & Farah Yasmeen, 2013. "Coherent Mortality Forecasting: The Product-Ratio Method With Functional Time Series Models," Demography, Springer;Population Association of America (PAA), vol. 50(1), pages 261-283, February.
    3. Nahapetyan Yervand, 2019. "The benefits of the Velvet Revolution in Armenia: Estimation of the short-term economic gains using deep neural networks," Central European Economic Journal, Sciendo, vol. 6(53), pages 286-303, January.
    4. Hasan Engin Duran, 2025. "The future of urban hierearchy and Zipf law: ARIMA and BATS forecasting," Letters in Spatial and Resource Sciences, Springer, vol. 18(1), pages 1-14, December.
    5. Barrow, Devon & Kourentzes, Nikolaos, 2018. "The impact of special days in call arrivals forecasting: A neural network approach to modelling special days," European Journal of Operational Research, Elsevier, vol. 264(3), pages 967-977.
    6. Felipe Leite Coelho da Silva & Josiane da Silva Cordeiro & Kleyton da Costa & Nemias Saboya & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2025. "Time series forecasting via integrating a filtering method: an application to electricity consumption," Computational Statistics, Springer, vol. 40(9), pages 5023-5042, December.
    7. Dombi, József & Jónás, Tamás & Tóth, Zsuzsanna Eszter, 2018. "Modeling and long-term forecasting demand in spare parts logistics businesses," International Journal of Production Economics, Elsevier, vol. 201(C), pages 1-17.
    8. Amita Gajewar & Gagan Bansal, 2016. "Revenue Forecasting for Enterprise Products," Papers 1701.06624, arXiv.org.
    9. Chandra, Aitichya & Verma, Ashish & Sooraj, K.P. & Padhi, Radhakant, 2023. "Modelling and assessment of the arrival and departure process at the terminal area: A case study of Chennai international airport," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 615(C).
    10. Tao XIONG & LI Chongguang & Yukun BAO, 2017. "An improved EEMD-based hybrid approach for the short-term forecasting of hog price in China," Agricultural Economics, Czech Academy of Agricultural Sciences, vol. 63(3), pages 136-148.
    11. Pieter van der Spek & Chris Verhoef, 2014. "Balancing Time‐to‐Market and Quality in Embedded Systems," Systems Engineering, John Wiley & Sons, vol. 17(2), pages 166-192, June.
    12. Hewamalage, Hansika & Bergmeir, Christoph & Bandara, Kasun, 2021. "Recurrent Neural Networks for Time Series Forecasting: Current status and future directions," International Journal of Forecasting, Elsevier, vol. 37(1), pages 388-427.
    13. Hyndman, Rob J. & Ahmed, Roman A. & Athanasopoulos, George & Shang, Han Lin, 2011. "Optimal combination forecasts for hierarchical time series," Computational Statistics & Data Analysis, Elsevier, vol. 55(9), pages 2579-2589, September.
    14. Kourentzes, Nikolaos & Petropoulos, Fotios & Trapero, Juan R., 2014. "Improving forecasting by estimating time series structural components across multiple frequencies," International Journal of Forecasting, Elsevier, vol. 30(2), pages 291-302.
    15. Thomas Horvath & Peter Huber & Ulrike Huemer & Helmut Mahringer & Philipp Piribauer & Mark Sommer & Stefan Weingärtner, 2022. "Mittelfristige Beschäftigungsprognose für Österreich und die Bundesländer. Berufliche und sektorale Veränderungen 2021 bis 2028," WIFO Studies, WIFO, number 32632284.
    16. Sasikiran Kandula & Jeffrey Shaman, 2019. "Reappraising the utility of Google Flu Trends," PLOS Computational Biology, Public Library of Science, vol. 15(8), pages 1-16, August.
    17. de Silva, Ashton J, 2010. "Forecasting Australian Macroeconomic variables, evaluating innovations state space approaches," MPRA Paper 27411, University Library of Munich, Germany.
    18. Kyungsub Lee, 2022. "Application of Hawkes volatility in the observation of filtered high-frequency price process in tick structures," Papers 2207.05939, arXiv.org, revised Sep 2024.
    19. Pawlikowski, Maciej & Chorowska, Agata, 2020. "Weighted ensemble of statistical models," International Journal of Forecasting, Elsevier, vol. 36(1), pages 93-97.
    20. Tendai Makoni & Delson Chikobvu, 2023. "Assessing and Forecasting the Long-Term Impact of the Global Financial Crisis on Manufacturing Sales in South Africa," Economies, MDPI, vol. 11(6), pages 1-17, May.

    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:plo:pgph00:0000495. 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: globalpubhealth (email available below). General contact details of provider: https://journals.plos.org/globalpublichealth .

    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.