Literature DB >> 32565625

Comparative analysis and forecasting of COVID-19 cases in various European countries with ARIMA, NARNN and LSTM approaches.

İsmail Kırbaş1, Adnan Sözen2, Azim Doğuş Tuncer3,4, Fikret Şinasi Kazancıoğlu5.   

Abstract

In this study, confirmed COVID-19 cases of Denmark, Belgium, Germany, France, United Kingdom, Finland, Switzerland and Turkey were modeled with Auto-Regressive Integrated Moving Average (ARIMA), Nonlinear Autoregression Neural Network (NARNN) and Long-Short Term Memory (LSTM) approaches. Six model performance metric were used to select the most accurate model (MSE, PSNR, RMSE, NRMSE, MAPE and SMAPE). According to the results of the first step of the study, LSTM was found the most accurate model. In the second stage of the study, LSTM model was provided to make predictions in a 14-day perspective that is yet to be known. Results of the second step of the study shows that the total cumulative case increase rate is expected to decrease slightly in many countries.
© 2020 Elsevier Ltd. All rights reserved.

Entities:  

Keywords:  ARIMA; COVID-19; Forecasting; LSTM; Modeling; NARNN

Year:  2020        PMID: 32565625      PMCID: PMC7293493          DOI: 10.1016/j.chaos.2020.110015

Source DB:  PubMed          Journal:  Chaos Solitons Fractals        ISSN: 0960-0779            Impact factor:   5.944


Introduction

The last epidemic process, which started on December 31, 2019 with the World Health Organization (WHO) China Country Office reporting cases of pneumonia of unknown etiology in Wuhan, China, continued with the identification of a new Coronavirus (2019-nCoV) and this new virus spread rapidly and became a global problem. The new virus-related disease is named COVID-19, while the virus is named SARS-CoV-2 because of its similarity to SARS CoV [1]. The rate of contagion and spread of infection is quite fast compared to other viral infections encountered until today. Due to its rapid progress and covering the world in a short period of time, it is necessary to carry out intensive studies in it. Similar to many other infectious disease outbreaks, the success of controlling the new COVID-19 infection is based on revealing significant information, especially in the early period, with very limited data. For this, it is necessary to monitor the cases correctly and increase the reliability of the future predictions with each new data [2]. There are many studies in the literature on the prediction of epidemic diseases. The Auto-Regressive Integrated Moving Average (ARIMA) approach is often used to predict time series. The reason it is used so widely is that it can obtain useful statistical properties. They are also very flexible as they can represent multiple different time series using different order parameters. The ARIMA approach has been used to predict many diseases such as Hemorrhagic Fever with Renal Syndrome (HFRS) [3], Brucellosis [4], Influenza [5] and COVID-19 [6]. The Nonlinear Autoregression Neural Network (NARNN) model is a technique that performs nonlinear regression through the neural network. This machine learning technique has been used to predict various outbreaks [7], [8], [9]. The LSTM technique is a model that extends RNN (Recurrent Neural Network) memory. Typically, repetitive neural networks have "short-term memory" because they use persistent prior knowledge for use in the existing neural network. Essentially, previous information is used in the current task [10]. Studies involving the use of LSTM in the prediction of infectious diseases are rather scarce. In a study by Chimmula and Zhang (2020), COVID-19 infection in Canada was estimated by LSTM [11]. In the study by Tomar and Gupta (2020), COVID-19 infection in India was analyzed and predicted with LSTM [12]. In this study, unlike other studies, the total number of cases in COVID-19 infection was modeled and estimated by ARIMA, NAR and LSTM approaches. The performance of the models examined has been compared. As a result of this comparative analysis, the most successful model was determined by considering six different performance parameters. At the same time, the data used in this study includes the widest time interval ever made. The data used includes 8 different European countries (Denmark, Belgium, Germany, France, United Kingdom, Finland, Switzerland and Turkey) where the disease progresses differently. After determining the most successful model, prospective forecasting study was carried out for the cumulative confirmed number of cases in each country.

Materials and methods

Data collection

In this study, cumulative confirmed case data of 8 different European countries (Denmark, Belgium, Germany, France, United Kingdom, Finland, Switzerland and Turley) were used for modeling. The data were obtained from European Center for Disease Prevention and Control [13]. Data were taken from the day the first case was seen, and the number of data for each country varies. The data covers 67, 90, 97, 100, 94, 90, 68 and 55 days respectively and ends on 3 May 2020. Dates of first recorded case of the investigated countries is given in Table 1 .
Table 1

Dates of first recorded confirmed COVID-19 case for each investigated countries [13].

CountryDate
DenmarkFebruary 27, 2020
BelgiumMarch 2, 2020
GermanyJanuary 28, 2020
FranceJanuary 25, 2020
United KingdomJanuary 31, 2020
FinlandJanuary 39, 2020
SwitzerlandFebruary 26, 2020
TurkeyMarch 12, 2020

Minor differences can be seen between the given dates and official announcements of related countries. All data were taken from official website of European Centre for Disease and Control.

Dates of first recorded confirmed COVID-19 case for each investigated countries [13]. Minor differences can be seen between the given dates and official announcements of related countries. All data were taken from official website of European Centre for Disease and Control.

ARIMA model

Auto Regressive Integrated Moving Average (ARIMA) technique is one of the commonly used approaches for time series investigation. The AR section of ARIMA model expresses that the evolving variable is regressed on its own prior values. In a stationary time series, the average of the error term is zero and the variance is expressed as σ 2. If Y shows the value of the time series at time t, the expression of this time series as a p-order autoregressive process is as in Eq. (1) and shown as AR(p). Here, δ is a constant value and ɛ is error term. Time series as a qth degree of moving average process MA(q) can be found as: ARMA(p,q) expression can be obtained by combining two AR(p) and MA(q) equations: If the processed time series is not stationary, it can be made stationary by taking the difference process d times. Once the difference of non-stationary Y series is taken, ΔY series, which expresses stationary feature, can be calculated by Eq. (4): The ARIMA (p, d, q) process could be generally found by using Eq. (5): Particial auto correlation (PACF) can be utilized to find the AR parameter value and the correlogram graphs of the auto correlation (ACF) functions can be used to achieve the value of the MA. In order to obtain the most appropriate parameter in the ARIMA approach, the model performance is usually measured by the Akaike Information Criteria (AIC) expression. It can be calculated as: Here, L is the likelihood of the data, p is the order of the autoregressive part and q is the order of the moving average part and k is the intercept of the ARIMA model. According to this paremeter, the model with the lowest AIC criterion is considered more successful than the others. In this study, the parameters showing the highest performance were achieced from the ARIMA (2,2,5) model.

NARNN model

Nonlinear Autoregression Neural Network (NARNN) is a frequently used approach especially in time series predictions. This artificial neural network utilizes a certain part of the time series as training data and multiplier weights in the artificial neural network are obtained. The NARNN approach assumes that the value of Y in time t, Y is a function of the past d number, as seen in Eq. (7). Unknown f function was modeled by using artificial neural network. Fig. 1 shows the NARNN 2-delay model consisting of 10 neurons. This neural network estimates the future value by looking at two historical data.
Fig. 1

Main structure of NAR neural network model.

Main structure of NAR neural network model. In order to determine the performance of the model, the values estimated by the neural network are compared with the results previously known and the difference is looked at. For high performance, it is desired that the difference value should be close to 0.

LSTM model

Long-short term memory (LSTM) is a machine learning algorithm with recurrent neural network architecture [14]. As a model, it stores the information learned in the short period and uses it for training in the long period. Therefore, long short-term memory contains units called "memory blocks" in hidden layer. These memory blocks can be defined as hidden units in traditional repeating neural networks. It contains one or more memory cells in the memory blocks. Each memory block contains input and output ports to control the flow of information. While the input gate controls the flow of input activation information in the memory cell, the output doors control the flow of output activation information. Later, a “forget gate” was added to the memory blocks. The forgetting gate scales the internal state of the cell, resets the memory of the cell, before the input activation through the cell's repetitive connection [15]. In order for the LSTM model to be better understood, the steps of the model must be examined. If the model input of the LSTM model is named x at time t and the model output is ht, then the network to be created must first reset the output from the previous model at t. The model should then be decided what information should be stored in the model. This process consists of two parts. First, the input gate layer decides which values to update. Then the sigmoid layer creates a vector containing possible new values. At the end of these processes, these two steps are combined and the input is updated. Finally, the output of the network is decided. The result to be output here is formed from the decided part of the sigmoid gate. In the expressions below, tanh is utilized to scale the values into range – 1 to 1, W denotes the corresponding weight matrices, σ is the activation function which is taken as sigmoid, ft is forget function, Ct is candidate vector and ot is sigmoid function output. The output generated in the model is filtered output based on the model cell state. The internal architecture and LSTM architecture of the LSTM block used in this study are shown in Figs. 2 and 3 , respectively.
Fig. 2

Internal architecture of LSTM.

Fig. 3

LSTM architecture [11].

Internal architecture of LSTM. LSTM architecture [11].

Model selection

The starting dates of the cases of the countries used in the study differ. At the same time, the number of days with the first 100 cases varies from country to country. This situation makes it difficult to make estimations by using the same model of 8 different countries. It is thought that health policies differing between countries, the level of interaction of people with non-patients, hygiene measures taken, and the total number of patients are important factors. However, in the study, all these factors were ignored and the problem was approached as a time series prediction problem. The accuracy of a model can be evaluated by comparing the observed parameters and the estimated paremeters. In this work, six performance factor were analyzed for fair comparison. Mean Squared Error (MSE), Peak Signal-to-Noise Ratio (PSNR), Root-Mean-Square Error (RMSE), Normalized Root-Mean-Square Error (NRMSE), Mean Absolute Percentage Error (MAPE) and Symmetric Mean Absolute Percentage Error (SMAPE) can be calculated by using Eqs. (5–10), respectively [16]. In the above equations, RMSD is root-mean-square deviation, MAX is peak value and SSE is error sum of squares.

Results and discussion

In this study, unlike other studies on COVID-19, data from different countries were estimated by three different methods. Fig. 4 shows 7-step estimates for Germany, United Kingdom, Finland and Switzerland. In Fig. 5 , the predictions of Turkey, Belgium, France and Denmark are illustrated. performance factors of the developed models are given in Table 2 .
Fig. 4

Actual and predicted cumulative confirmed cases for Germany, United Kingdom, Finland and Switzerland.

Fig. 5

Actual and predicted cumulative confirmed cases for Turkey, Belgium, France and Denmark.

Table 2

Performance parameters of the models.

CountryModelPerformance factor
MSEPSNRR valueRMSENRMSEMAPESMAPE
BelgiumARIMA5125899.8654-18.96680.9977642952264.04500.66924.00803.9039
NARNN19586992.1341-24.78880.9914569494425.71931.30827.51487.9505
LSTM75089.6378-0.62490.999967249274.02480.08100.54220.5407
DenmarkARIMA323901.3369-6.97330.996006328569.12330.68405.65125.4674
NARNN21088.17194.89040.999739985145.21760.17451.25831.2716
LSTM2974.595113.39650.99996332454.53980.06550.50330.5051
FinlandARIMA5046.157311.10110.99978823671.03630.11781.12251.1140
NARNN2846.364413.58780.99988055153.35130.08840.98660.9904
LSTM2449.917814.23920.99989718849.49660.08200.84920.8535
FranceARIMA15111600.3421-23.66230.9990786923887.36410.60702.71022.6661
NARNN1778423.6984-14.36950.9998915751333.57550.20820.98340.9781
LSTM207675.3922-5.04300.999987339455.71410.07110.31550.3159
GermanyARIMA16826047.8234-24.12900.9993270294101.95650.49292.25242.2202
NARNN1252766.8129-12.84780.9999498951119.27060.13450.53510.5375
LSTM324306.4567-6.97870.999987029569.47910.06840.30830.3086
SwitzerlandARIMA15496.82066.22830.999982007124.48620.16460.34220.3413
NARNN9323.097718.43520.99998917596.55610.12770.27300.2735
LSTM3121.299113.18740.99999637655.86850.07390.16400.1641
TurkeyARIMA2024356.6187-14.93200.9998588041422.79880.10320.92090.9144
NARNN69716342.4234-30.30250.9951373768349.63120.60576.05816.2975
LSTM409936.1685-7.99630.999971407640.262570.04640.48230.4835
United KingdomARIMA5784979.5212-19.49220.9997927142405.19840.08171.30751.2975
NARNN99828262.3425-31.86170.9964229849991.40940.33964.66114.5057
LSTM30054913.7467-26.64830.9989230825482.23610.18632.50252.5512
Actual and predicted cumulative confirmed cases for Germany, United Kingdom, Finland and Switzerland. Actual and predicted cumulative confirmed cases for Turkey, Belgium, France and Denmark. Performance parameters of the models. As can be seen from Fig. 4, it can be said that LSTM is a great success in predictions of Germany, Finland and Switzerland, while ARIMA is more successful in predictions of the United Kingdom. However, when looking at the MAPE values that can be seen from Table 2, it is seen that the performance rates for the United Kingdom are very close for LSTM and ARIMA. When looking at the countries in Fig. 5, it can be clearly seen that LSTM makes the most successful predictions. It can be seen that the country where LSTM makes the most successful estimation is Switzerland (MAPE = 0.1640) and the country that makes the most unsuccessful estimation is United Kingdom (MAPE = 2.5025). As to ARIMA and NARNN models, the best estimates made for Switzerland. When all 7-step prediction graphs are examined, it is seen that LSTM model is clearly more successful than ARIMA and NAR models and it is the model that best matches the real data in the estimations made for all countries. While the ARIMA model makes more pessimistic estimates than other models, in general, the NARNN model made optimistic predictions below the real numbers. In this study, seven different model performance metrics were used to identify mathematical differences more clearly and fairly besides graphical comparisons (Table 1.). SMAPE values for LSTM, ARIMA and NARNN range from 0.16-2.55, 0.34-5.46 and 0.27-7.95, respectively. The smallest values for the metrics other than PSNR and R indicate the most successful model. The highest values in the PSNR metric and the values where the R value is closest to 1 indicate the most successful model. In addition, the weight of the total RMSE value by models is shown in Fig. 6 . Nevertheless, it is clearly seen that the lowest RMSE value is found for LSTM. Accordingly, it is clearly seen that the LSTM model is the most successful model for all country data examined within the scope of the study.
Fig. 6

Distribution of total RMSE.

Distribution of total RMSE. In the second stage of the study, the most successful model (LSTM) was provided to make predictions in a 14-day perspective that is yet to be known, and each prediction is presented in the form of graphs (Fig. 7, Fig. 8, Fig. 9 ). The reason for presenting three different graphs is that, countries that reach similar cumulative values can be understood in a more detailed way. When the future predictions of the model are analyzed, it is estimated that the UK's cumulative case data will maintain its upward trend, while the rate of increase will decrease for other countries.
Fig. 7

Actual and forecasting cumulative confirmed cases for Denmark and Finland.

Fig. 8

Actual and forecasting cumulative confirmed cases for Switzerland and Belgium.

Fig. 9

Actual and forecasting cumulative confirmed cases for Germany, France, UK and Turkey.

Actual and forecasting cumulative confirmed cases for Denmark and Finland. Actual and forecasting cumulative confirmed cases for Switzerland and Belgium. Actual and forecasting cumulative confirmed cases for Germany, France, UK and Turkey. For Denmark and Finland, 2-week predictions are expected to increase the cumulative confirmed cases data from 9407 to 10550 and 5179 to 6081, respectively. It has been determined that these values will increase from 29734 to 30482 and from 49517 to 52458, respectively, for Switzerland and Belgium. After 14 days of forecasting, the total cases in Germany, France, UK and Turkey were estimated to be 173378, 137260, 240879 and 143503. Optimistic progress is expected in all countries except the UK. Among the countries studied, the lowest number of cases was observed in Finland during the epidemic, while the highest rate of increase was observed in the UK. It is observed that the model achievements will increase when the number of days in which the outbreak data is diversified and the data collected is increased.

Conclusion and suggestions

The limited data on COVID-19 is quite challenging for modeling and prediction. In this study, the data from cumulative confirmed cases in some European countries are modeled using three different approaches. According to the results, it was determined that LSTM approach has much higher success compared to ARIMA and NARNN. Later on, forward estimations were made with LSTM with high performance. Among the countries studied, the lowest number of cases was observed in Finland during the epidemic, while the highest rate of increase was observed in the UK. According to the 2-week prospective estimation study, in many countries, the total case increase rate is expected to decrease slightly. The study is carried out entirely by considering statistical data and methodologies, the effects of measures taken during the epidemic, compliance with hygiene rules or lockdown are ignored. Nevertheless, the rate of conformity of the developed prediction model with real data is very satisfactory and offers a strong projection for the near future. However, it is too early to draw a definitive conclusion due to the differences in available data, human behavior and measures taken on a country basis. It is observed that the model achievements will increase when the number of days in which the outbreak data is diversified and the data collected is increased.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
  39 in total

1.  A Framework for Inferring Epidemiological Model Parameters using Bayesian Nonparametrics.

Authors:  Oliver E Bent; Charles Wachira; Sekou L Remy; William Ogallo; Aisha Walcott-Bryant
Journal:  AMIA Annu Symp Proc       Date:  2022-02-21

2.  Cross-sectional analysis and data-driven forecasting of confirmed COVID-19 cases.

Authors:  Nan Jing; Zijing Shi; Yi Hu; Ji Yuan
Journal:  Appl Intell (Dordr)       Date:  2021-07-05       Impact factor: 5.019

3.  Predictive analysis of the number of human brucellosis cases in Xinjiang, China.

Authors:  Yanling Zheng; Liping Zhang; Chunxia Wang; Kai Wang; Gang Guo; Xueliang Zhang; Jing Wang
Journal:  Sci Rep       Date:  2021-06-01       Impact factor: 4.379

4.  Modelling and Forecasting of Growth Rate of New COVID-19 Cases in Top Nine Affected Countries: Considering Conditional Variance and Asymmetric Effect.

Authors:  Aykut Ekinci
Journal:  Chaos Solitons Fractals       Date:  2021-07-08       Impact factor: 5.944

5.  Early detection of COVID-19 outbreaks using human mobility data.

Authors:  Grace Guan; Yotam Dery; Matan Yechezkel; Irad Ben-Gal; Dan Yamin; Margaret L Brandeau
Journal:  PLoS One       Date:  2021-07-20       Impact factor: 3.240

6.  Time series prediction of COVID-19 transmission in America using LSTM and XGBoost algorithms.

Authors:  Junling Luo; Zhongliang Zhang; Yao Fu; Feng Rao
Journal:  Results Phys       Date:  2021-06-22       Impact factor: 4.476

7.  Forecasting fully vaccinated people against COVID-19 and examining future vaccination rate for herd immunity in the US, Asia, Europe, Africa, South America, and the World.

Authors:  Pınar Cihan
Journal:  Appl Soft Comput       Date:  2021-07-14       Impact factor: 6.725

8.  Improving the performance of deep learning models using statistical features: The case study of COVID-19 forecasting.

Authors:  Hossein Abbasimehr; Reza Paki; Aram Bahrini
Journal:  Math Methods Appl Sci       Date:  2021-05-22       Impact factor: 3.007

9.  Comparison of ARIMA and LSTM in Forecasting the Incidence of HFMD Combined and Uncombined with Exogenous Meteorological Variables in Ningbo, China.

Authors:  Rui Zhang; Zhen Guo; Yujie Meng; Songwang Wang; Shaoqiong Li; Ran Niu; Yu Wang; Qing Guo; Yonghong Li
Journal:  Int J Environ Res Public Health       Date:  2021-06-07       Impact factor: 3.390

10.  The forecast of COVID-19 spread risk at the county level.

Authors:  Murtadha D Hssayeni; Arjuna Chala; Roger Dev; Lili Xu; Jesse Shaw; Borko Furht; Behnaz Ghoraani
Journal:  J Big Data       Date:  2021-07-07
View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.