Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2020 Nov 30;15(11):e0242762.
doi: 10.1371/journal.pone.0242762. eCollection 2020.

Forecasting COVID-19 in Pakistan

Affiliations

Forecasting COVID-19 in Pakistan

Muhammad Ali et al. PLoS One. .

Abstract

Objectives: Forecasting epidemics like COVID-19 is of crucial importance, it will not only help the governments but also, the medical practitioners to know the future trajectory of the spread, which might help them with the best possible treatments, precautionary measures and protections. In this study, the popular autoregressive integrated moving average (ARIMA) will be used to forecast the cumulative number of confirmed, recovered cases, and the number of deaths in Pakistan from COVID-19 spanning June 25, 2020 to July 04, 2020 (10 days ahead forecast).

Methods: To meet the desire objectives, data for this study have been taken from the Ministry of National Health Service of Pakistan's website from February 27, 2020 to June 24, 2020. Two different ARIMA models will be used to obtain the next 10 days ahead point and 95% interval forecast of the cumulative confirmed cases, recovered cases, and deaths. Statistical software, RStudio, with "forecast", "ggplot2", "tseries", and "seasonal" packages have been used for data analysis.

Results: The forecasted cumulative confirmed cases, recovered, and the number of deaths up to July 04, 2020 are 231239 with a 95% prediction interval of (219648, 242832), 111616 with a prediction interval of (101063, 122168), and 5043 with a 95% prediction interval of (4791, 5295) respectively. Statistical measures i.e. root mean square error (RMSE) and mean absolute error (MAE) are used for model accuracy. It is evident from the analysis results that the ARIMA and seasonal ARIMA model is better than the other time series models in terms of forecasting accuracy and hence recommended to be used for forecasting epidemics like COVID-19.

Conclusion: It is concluded from this study that the forecasting accuracy of ARIMA models in terms of RMSE, and MAE are better than the other time series models, and therefore could be considered a good forecasting tool in forecasting the spread, recoveries, and deaths from the current outbreak of COVID-19. Besides, this study can also help the decision-makers in developing short-term strategies with regards to the current number of disease occurrences until an appropriate medication is developed.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Daily cumulative confirmed, recoveries, and deaths of COVID-19 in Pakistan.
Fig 2
Fig 2. Cumulative actual confirmed cases of COVID-19, together with 10 days ahead forecast.
Fig 3
Fig 3. Cumulative actual recovered cases of COVID-19, together with 10 days projection.
Fig 4
Fig 4. Cumulative actual deaths of COVID-19, together with 10 days projection.

References

    1. Li Q., Guan X., Wu P., Wang X., Zhou L., Tong Y., et al. (2020). Early transmission dynamics in Wuhan, China, of novel coronavirus–infected pneumonia. New England Journal of Medicine. 10.1056/NEJMoa2001316 - DOI - PMC - PubMed
    1. World Health Organization. “Coronavirus disease 2019 (COVID-19): situation report, 156”. (2020).
    1. Benvenuto D., Giovanetti M., Vassallo L., Angeletti S., & Ciccozzi M. (2020). Application of the ARIMA model on the COVID-2019 epidemic dataset. Data in brief, 105340 10.1016/j.dib.2020.105340 - DOI - PMC - PubMed
    1. Papastefanopoulos V; Linardatos P and Kotsiantis S. (2020), COVID-19: A Comparison of Time Series Methods to Forecast Percentage of Active Cases per Population; Appl. Sci.,10, 3880; 10.3390/app10113880 - DOI
    1. Song X.; Xiao J.; Deng J.; Kang Q.; Zhang Y.; Xu J. Time series analysis of influenza incidence in Chineseprovinces from 2004 to 2011.Medicine 2016,95, e3929 10.1097/MD.0000000000003929 - DOI - PMC - PubMed