Eastern Mediterranean Health Journal | All issues | Volume 29 2023 | Volume 29 issue 7 | Forecasting daily confirmed COVID-19 cases in Algeria using ARIMA models

Forecasting daily confirmed COVID-19 cases in Algeria using ARIMA models

Print PDF

PDF version

Short research communication

Messis Abdelaziz,1,2 Adjebli Ahmed,3 Ayeche Riad,4 Ghidouche Abderrezak 2 and Ait-Ali Djida 2

1Université de Bordj Bou Arréridj, El-Anasser, Bordj Bou Arréridj, Algérie; 2Laboratoire de Génie Biologique des Cancers, Université de Bejaia, Bejaia, Algérie; 3Laboratoire d’Ecologie Microbienne, faculté des sciences de la nature et de la vie, université de Bejaia, Bejaia, Algérie; 4Laboratoire Caractérisation et Valorisation des Ressources Naturelles, Université de Bordj Bou Arreridj, El-Anasser, Bordj Bou Arréridj, Algérie. (Correspondence to M. Abdelaziz: This e-mail address is being protected from spambots. You need JavaScript enabled to view it )

ABSTRACT

Background: COVID-19 has become a threat worldwide, affecting every country.

Aims: This study aimed to identify COVID-19 cases in Algeria using times series models for forecasting the disease.

Methods: Confirmed COVID-19 daily cases data were obtained from 21 March 2020 to 26 November 2020 from the Algerian Ministry of Health. Forecasting was done using the Autoregressive Integrated Moving Average (ARIMA) models (0,1,1) with Minitab 17 software.

Results: Observed cases during the forecast period were accurately predicted and placed within prediction intervals generated by ARIMA. Forecasted values of COVID-19 positive cases, recoveries and deaths showed an accurate trend, which corresponded to actual cases reported during 252, 253 and 254 days. Results were strengthened by variations of less than 5% between forecast and observed cases in 100% of forecasted data.

Conclusion: ARIMA models with optimally selected covariates are useful tools for predicting COVID-19 cases in Algeria.

Keywords: COVID-19, time series, double exponential smoothing, ARIMA, forecast, Algeria

Citation: Abdelaziz M, Ahmed A, Riad A, Abderrezak G, Djida A. Forecasting daily confirmed COVID-19 cases in Algeria using ARIMA models. East Mediterr Health J. 2023;29(7):515–519. https://doi.org/10.26719/emhj.23.054 Received: 13/03/21; Accepted: 08/12/22

Copyright © Authors 2023; Licensee: World Health Organization. EMHJ is an open access journal. This paper is available under the Creative Commons Attribution Non-Commercial ShareAlike 3.0 IGO licence (CC BY-NC-SA 3.0 IGO; https://creativecommons.org/licenses/by-nc-sa/3.0/igo). 


Introduction

On 11 March 2020, the World Health Organization (WHO) declared COVID-19 as a pandemic. The pandemic had spread from mainland China to other countries and territories, disrupting socioeconomic activities. As of 26 November 2020, COVID-19 had infected more than 60 776 978 people globally, killed more than 1 428 228, and resulted in a lockdown that forced people to stay in their homes (1).

Algeria reported its first COVID-19 case on 25 February 2020. By 26 November, it had reported 79 110 confirmed cases, 51 334 recoveries and 2352 deaths (2).

SARS-CoV-2, the COVID-19 virus is very infectious, and many people were not following the non-pharmaceutical public health prevention measures recommended by the Algerian government and other governments to control the pandemic, thus increasing the risks of transmission (2,3).

Accurate forecasting of COVID-19 case trends was essential for preparedness by health authorities to manage the pandemic and resource planning. Time series models such as ARIMA have been widely used to statistically model and forecast infectious disease trends (4). ARIMA models are preferred in this context because they are suitable for investigating short-term effects of acute infectious diseases and are flexible and appropriate for several trajectories (4,5). ARIMA models have been used in several studies to forecast COVID-19 outbreak trends (6-9).

In this study, we developed ARIMA models using daily COVID-19 confirmed and active cases in Algeria to identify the best fitting model of COVID-19 cases from 21 March 2020 to 26 November 2020.

Materials and methods

Data source

Data for this study included confirmed COVID-19 daily cases data obtained from 21 March 2020 to 26 November 2020 from the Algerian Ministry of Health (10).

Methods

The following equation highlights the exponential smoothing method and the ARIMA processes (11):

Determine the first smoothing value and the parameter α

St'=αX+ (1−α)St−1' (1)

Determine the second smoothing value

St" = αSt' + (1 − α)St−1" (2)

ARIMA model for time series sata ARIMA model is stated as follows:

Φ(B)(1 − B)dXt = θ(B)Zt (3)

Where:

Φ(Β) is an autoregressive operator

Ө(Β) is a moving average operator

(1 − Β)d is a differencing operator. It is the expression of dth consecutive differencing so as to make the series stationary

Zt is a Gaussian white noise series with mean zero and variance (σ2z).

ARIMA forecast is based on previous values and portrayed by 3 terms – p, d, q. Where p is the order for the auto regressive expression (AR), q is the order for the moving average expression (MA) and d is the number of differencing required making the time arrangement fixed.

The experiment was carried out using Minitab 17 programming software (12). In general, the equation can be approached using a regression model:

Yt = α + β1Yt−1 + ... + βpyt−p + Φ1 et −1 + ... + Φqet−q + εt (4)

εt = errors from the accompanying conditions.

Results

Using the time-series model approach, the pattern of COVID-19 data distribution in Algeria showed an exponential distribution pattern, where the addition of positive cases increased significantly everyday of the pandemic. The distribution pattern was the same for the number of people who recovered and died (Figure 1). For the positive COVID-19 cases, the mean absolute percentage error (MAPE) value was smaller than the error rate at 10% (Table 1). The increase in the number of people who were positive for COVID-19 directly affected the prediction model for patients who recovered and died (Figure 1). For recovered cases, MAPE value was smaller than the error value set at 10% error rate (Table 1). The recovery rate for COVID-19 patients increased simultaneously with the number of positive cases because of the non-pharmaceutical public health measures taken by the government from 21 March 2020. For deaths due to COVID- 19, the MAPE value was greater than the error value set at 10% (Table 1). The increase in mortality was possibly due to the extent of infection and the medical history of the patients.

In the time series model with 5% error probability (α), the graph followed the ARIMA process (0,1,1), with the P value MA 1 (0.0%) smaller than α.

Estimated results of parameters model for COVID-19 positive data using ARIMA models

Referring to equation (4), mathematically, the ARIMA model (0,1,1) can be stated using the following coefficients: Yt = 317.65 − 0.879et−1

Same as COVID-19 positive data, in the time series model with 5% error probability (α), the graph followed the ARIMA process (0,1,1) with the P value MA 1 (0,0%) smaller than α.

Estimated parameters for COVID-19 Recovery data results using ARIMA model

Referring to equation (4), mathematically the ARIMA model (0,1,1) can be stated as follows: Yt = 205.53 − 0.30et−1

After the positive and recovery data were analysed in time series model with the 5% error probability (α), the graph followed the ARIMA process (0,1,1) with the P value MA 1 (0.00%) smaller than α.

All estimated parameter results of the ARIMA model

Referring to equation (4), mathematically, the ARIMA model (0,1,1) can be stated.

The results of predictions of COVID-19 cases in Algeria (positive, recovered and deaths) showed a gap in the resulting distribution patterns, where the increase in the number of positive cases was not offset by an increase in the number of patients who recovered and a decrease in the number of patients who died. This indicates that public behaviour did not comply with the rules set by the government (physical distancing, large-scale social restrictions, washing of hands, and mask use).

Discussion

From the time WHO declared COVID-19 a pandemic on 11 March 2020, several countries experienced an exponential increase in COVID-19 cases (3), which put a lot of pressure on most healthcare systems worldwide. In response, health authorities attempted to forecast the trend of the pandemic, but this proved difficult because COVID-19 is a novel disease with limited data and knowledge about its trends and dynamics (2). Our forecast showed an accurate trend, which corresponded to the number of positive cases observed and reported by the Ministry of Health in Algeria during 3 days (252,253 and 254). The same situation was observed for forecasted recoveries and deaths.

This finding was strengthened by variations of less than 5% between the forecast and observed cases in 100% of the forecasted data points (Table 2). Similar studies conducted in South Korea, Iran and Italy predicted similar case trends using ARIMA models (6-8).

The strengths of this study include: firstly, this is the first paper to report the use of ARIMA models to forecast COVID-19 cases and trends in Algeria. Secondly, this was the first attempt to use smoothen case data to improve accuracy as compared to similar studies on ARIMA models for COVID-19 conducted in other countries (6-7). Thirdly, we used several independent covariates, which provided more accurate signals to develop short-term model predictions for immediate outbreak response. Finally, we optimized the model training and validation period to provide the highest number of data points to generate the best fit model.

Conclusion

This study demonstrates the effectiveness of ARIMA models as an early warning strategy that can provide accurate COVID-19 forecasts on larger data points (251 days). Forecasted values of COVID-19 positives, recoveries and deaths showed an accurate trend which corresponded to the actual cases observed and reported by the Ministry of Health in Algeria during 3 days (252, 253 and 254). We are confident that the ARIMA model can be used to generate accurate and reliable forecasts of daily COVID-19 cases and similar pandemics, with the addition of new data points and independent covariates.

Acknowledgement

The authors would like to thank the Ministry of Health, Population and Hospital Reform of Algeria and the Johns Hopkins University for publicly releasing the updated COVID-19 datasets.

Funding: None

Competing interests: None declared.

Prévision des cas de COVID-19 confirmés quotidiennement en Algérie à l'aide des modèles ARIMA

Résumé

Contexte : La COVID-19 est devenue une menace à l'échelle mondiale, touchant tous les pays.

Objectif : La présente étude visait à identifier les cas de COVID-19 en Algérie à l'aide de modèles de séries chronologiques pour la prévision de la maladie.

Méthodes : Les données sur les cas de COVID-19 confirmés quotidiennement ont été obtenues du 21 mars au 26 novembre 2020 auprès du ministère algérien de la Santé. Les prévisions ont été effectuées à l'aide de modèles autorégressifs à moyennes mobiles intégrées (Autoregressive Integrated Moving Average, ARIMA) (0,1,1) en recourant au logiciel Minitab 17.

Résultats : Les cas observés pendant la période de prévision ont été prédits avec précision et se situaient dans les intervalles de prédiction générés par les modèles ARIMA. Les valeurs de prévision pour les cas positifs de COVID-19, les guérisons et les décès liés à la maladie ont montré une tendance précise, qui correspondait aux cas réels signalés pendant 252, 253 et 254 jours. Les résultats ont été renforcés par des variations de moins de 5 % entre les cas prédits et ceux observés dans 100 % des données de prévision.

Conclusion : Les modèles ARIMA dotés de covariables sélectionnées de manière optimale sont des outils utiles pour prédire les cas de COVID-19 en Algérie.

التنبؤ بحالات كوفيد-19 المؤكدة يوميًا في الجزائر باستخدام نماذج متوسط الانحدار الذاتي المتكامل (أريما)

مسيس عبد العزيز، أدجيلي أحمد، عياش رياض، غيدوش عبد الرزاق، أيت علي دجيدة

الخلاصة

الخلفية: مثلت جائحة كوفيد-19 تهديدًا في جميع أنحاء العالم، إذ امتد أثرها إلى كل بلدٍ.

الأهداف: هدفت هذه الدراسة إلى تحديد حالات كوفيد-19 في الجزائر باستخدام نماذج السلسلة الزمنية للتنبؤ بالمرض.

طرق البحث: تم الحصول على البيانات اليومية الخاصة بحالات كوفيد-19 المؤكدة من وزارة الصحة الجزائرية، عن الفترة من 21 مارس/ آذار 2020 إلى 26 نوفمبر/ تشرين  الثاني 2020. ونُفذ التنبؤ باستخدام نماذج متوسط الانحدار الذاتي المتكامل (أريما) (0،1،1) مع برنامج Minitab 17.

النتائج: جرى التنبؤ بدقة بالحالات المرصودة خلال فترة التنبؤ، ووُضِعت في حدود فترات التنبؤ التي حددها متوسط الانحدار الذاتي المتكامل (أريما). وأظهرت القيم المتوقعة لحالات كوفيد-19 الإيجابية، وحالات التعافي والوفاة اتجاهًا دقيقًا، وهو ما توافق مع الحالات الفعلية المُبلغ بها خلال 252، و253، و254 يومًا. وعُززت النتائج باختلافات تقل عن 5% بين التنبؤ والحالات المرصودة في 100% من البيانات المتوقعة.

الاستنتاجات: تُعدُّ نماذج متوسط الانحدار الذاتي المتكامل (أريما) مع المتغيرات المشاركة المختارة على النحو الأمثل أدوات مفيدة للتنبؤ بحالات كوفيد-19 في الجزائر.

References

  1. Drummond MF, Schwartz JS, Jönsson B, Luce BR, Neumann PJ, Siebert U, et al. Key principles for the improved conduct of health technology assessments for resource allocation decisions. Int J Technol Assess Health Care. 2008;24(3):244–58. doi:10.1017/S0266462308080343
  2. Learmonth M, Harding N. Evidence-based management: the very idea. Public Administration. 2006;84(2):245–66. doi:10.1111/j.1467-9299.2006.00001.x
  3. Ciani O, Tarricone R, Torbica A. Diffusion and use of health technology assessment in policy making: what lessons for decentralised healthcare systems? Health Policy. 2012 Dec;108(2–3):194–202. doi:10.1016/j.healthpol.2012.09.017
  4. Velasco-Garrido M, Gerhardus A, Røttingen J-A, Busse R. Developing Health Technology Assessment to address health care system needs. Health Policy. 2010 Mar;94(3):196–202. doi:10.1016/j.healthpol.2009.10.002
  5. Payam MM, Sari AA, Ay MR, Mobinizadeh MR, Maanavi S. Safety and diagnostic performance of dual-source ct scan in comparison with single source ct scan and conventional angiography in coronary heart diseases. J Hospital. 2010;9(1–2):25–32.
  6. Garrido MV, Kristensen FB, Busse R, Nielsen C. Health technology assessment and health policy-making in Europe: current status, challenges and potential: Copenhagen: World Health Organization Regional Office for Europe, European Observatory on Health Systems and Policies, EuropeanNetwork for HTA; 2008 (Observatory Studies Series No 14; https://apps.who.int/iris/handle/10665/107911, accessed 27 October 2021).
  7. 7Philips Z, Ginnelly L, Sculpher M, Claxton K, Golder S, Riemsma R, et al. Review of guidelines for good practice in decision-analytic modelling in health technology assessment. Health Technol Assess. 2004 Sep;8(36):iii–iv, ix–xi, 1–158. doi:10.3310/hta8360
  8. Sacchini D, Virdis A, Refolo P, Pennacchini M, De Paula IC. Health technology assessment (HTA): ethical aspects. Med Health Care Philos. 2009 Nov;12(4):453–7. doi:10.1007/s11019-009-9206-y
  9. Banta D, Jonsson E. History of HTA: Introduction. Int J Technol Assess Health Care. 2009 Jul;25 Suppl 1:1–6. doi:10.1017/S0266462309090321
  10. Angelis A, Kanavos P. Multiple criteria decision analysis (MCDA) for evaluating new medicines in health technology assessment and beyond: the advance value framework. Soc Sci Med. 2017 Sep;188:137–156. doi:10.1016/j.socscimed.2017.06.024
  11. A checklist for health technology assessment reports. Southampton: INAHTA Secretariat; 2007 (https://www.inahta.org/wp-content/uploads/2014/04/INAHTA_HTA_Checklist_English.pdf, accessed 27 October 2021).
  12. Allen L. Non-communicable disease funding. Lancet Diabetes Endocrinol. 2017 Feb;5(2):92. doi:10.1016/S2213-8587(16)30420-X
  13. Vo TQ. Health technology assessment in developing countries: a brief introduction for vietnamese health-care policymakers. Asian J Pharm. 2018;12(01). https://dx.doi.org/10.22377/ajp.v12i01.2340
  14. Hailey D, Babidge W, Cameron A, Davignon L-A. HTA agencies and decision makers. An INAHTA guidance document. Stockholm: INAHTA; 2010 (http://pds20.egloos.com/pds/201009/07/46/HTA__Decision_Makers.pdf, accessed 27 October 2021).
  15. Tarn T, Smith MD. Pharmacoeconomic guidelines around the world. ISPOR Connections. 2004;10(4):5–15.
  16. Banta D. The development of health technology assessment. Health Policy. 2003 Feb;63(2):121–32. doi:10.1016/s0168-8510(02)00059-3
  17. Thokala P, Duenas A. Multiple criteria decision analysis for health technology assessment. Value in Health. 2012;15(8):1172–81. doi:10.1016/j.jval.2012.06.015
  18. Facey K, Boivin A, Gracia J, Hansen HP, Scalzo AL, Mossman J, et al. Patients' perspectives in health technology assessment: a route to robust evidence and fair deliberation. Int J Technol Assess Health Care. 2010;26(3):334–40. doi:10.1017/S0266462310000395
  19. Verguet S, Kim JJ, Jamison DT. Extended cost-effectiveness analysis for health policy assessment: a tutorial. Pharmacoeconomics. 2016 Sep;34(9):913-23. doi:10.1007/s40273-016-0414-z
  20. Raftery J. Review of NICE's recommendations, 1999-2005. Bmj. BMJ. 2006 May 27;332(7552):1266–8. doi:10.1136/bmj.332.7552.1266
  21. Tosh JC, Longworth LJ, George E. Utility values in National Institute for Health and Clinical Excellence (NICE) Technology Appraisals. Value in Health. 2011;14(1):102–9. doi:10.1016/j.jval.2010.10.015
  22. Wonderling D, Sawyer L, Fenu E, Lovibond K, Laramée P. National clinical guideline centre cost-effectiveness assessment for the national institute for health and clinical excellence. Ann Intern Med. 2011 Jun 7;154(11):758–65. doi:10.7326/0003-4819-154-11-201106070-0000
  23. Koch K, Lange S. Response to the expertise: procedures and methods of benefit assessments for medicines in Germany, by Geertruida E. Bekkering and Jos Kleijnen. Eur J Health Econ. 2009 May;10(2):233–6. doi:10.1007/s10198-008-0142-1
  24. Herpers M, Dintsios C-M. Methodological problems in the method used by IQWiG within early benefit assessment of new pharmaceuticals in Germany. Eur J Health Econ. 2019 Feb;20(1):45–57. doi:10.1007/s10198-018-0981-3
  25. Mitton C, Seixas BV, Peacock S, Burgess M, Bryan S. Health technology assessment as part of a broader process for priority setting and resource allocation. Appl Health Econ Health Policy. 2019 Oct;17(5):573–6. doi:10.1007/s40258-019-00488-1
  26. Bullement A, Podkonjak T, Robinson MJ, Benson E, Selby R, Hatswell AJ, et al. Real-world evidence use in assessments of cancer drugs by NICE. Int J Technol Assess Health Care. 2020 Jul 10:1–7. doi:10.1017/S026646232000043
  27. International Working Group for HTA Advancement, Neumann PJ, Drummond MF, Jönsson B, Luce BR, Schwartz JS, Siebert U, et al. Are Key Principles for improved health technology assessment supported and used by health technology assessment organizations? Int J Technol Assess Health Care. 2010;26(1): 71–8. doi:10.1017/S0266462309990833