Next Article in Journal
Prenatal Exposure to Favorable Social and Environmental Neighborhood Conditions Is Associated with Healthy Pregnancy and Infant Outcomes
Previous Article in Journal
Between Joy and Sympathy: Smiling and Sad Recipient Faces Increase Prosocial Behavior in the Dictator Game
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

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

1
Chinese Center for Disease Control and Prevention, Beijing 102206, China
2
Institute of Medical Information and Library, Chinese Academy of Medical Sciences/Peking Union Medical College, Beijing 100020, China
3
National Institute for Nutrition and Health, Chinese Center for Disease Control and Prevention, Beijing 100050, China
4
National Institute of Environmental Health, Chinese Center for Disease Control and Prevention, Beijing 100021, China
*
Authors to whom correspondence should be addressed.
Int. J. Environ. Res. Public Health 2021, 18(11), 6174; https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph18116174
Submission received: 16 April 2021 / Revised: 26 May 2021 / Accepted: 3 June 2021 / Published: 7 June 2021

Abstract

:
Background: This study intends to identify the best model for predicting the incidence of hand, foot and mouth disease (HFMD) in Ningbo by comparing Autoregressive Integrated Moving Average (ARIMA) and Long Short-Term Memory Neural Network (LSTM) models combined and uncombined with exogenous meteorological variables. Methods: The data of daily HFMD incidence in Ningbo from January 2014 to November 2017 were set as the training set, and the data of December 2017 were set as the test set. ARIMA and LSTM models combined and uncombined with exogenous meteorological variables were adopted to fit the daily incidence of HFMD by using the data of the training set. The forecasting performances of the four fitted models were verified by using the data of the test set. Root mean square error (RMSE) was selected as the main measure to evaluate the performance of the models. Results: The RMSE for multivariate LSTM, univariate LSTM, ARIMA and ARIMAX (Autoregressive Integrated Moving Average Model with Exogenous Input Variables) was 10.78, 11.20, 12.43 and 14.73, respectively. The LSTM model with exogenous meteorological variables has the best performance among the four models and meteorological variables can increase the prediction accuracy of LSTM model. For the ARIMA model, exogenous meteorological variables did not increase the prediction accuracy but became the interference factor of the model. Conclusions: Multivariate LSTM is the best among the four models to fit the daily incidence of HFMD in Ningbo. It can provide a scientific method to build the HFMD early warning system and the methodology can also be applied to other communicable diseases.

1. Introduction

Hand, foot and mouth disease (HFMD) is common in children under five years old, but anyone can get it. The illness is usually not serious, but it is very contagious. It spreads quickly at schools and day care centers. HFMD has caused widespread social concern in countries such as China [1,2,3], Japan [4] and the United Kingdom [5]. Hence, exploring accurate prediction methods has great practical significance for the prevention and control of HFMD. Some studies have put forward different prediction methods for HFMD [6,7,8]. Time series analysis is a very powerful tool to detect disease status and predict future development, because it is based on the changes in historical datasets over time and produces mathematical models that can be extrapolated. Time series forecasting can be challenging as there are many different methods you could use and many different hyper parameters for each method [9]. Within the field of time series analysis, two models are particularly popular: the Autoregressive Integrated Moving-Average (ARIMA) model and the Long Short-Term Memory Neural Network (LSTM) model. The ARIMA model is one of the most popular methods used in infectious disease prediction, such as HFMD [2,8], COVID-19 [10], hepatitis [11], influenza [12], tuberculosis [13], as well as blood glucose concentrations and hypoglycemia [14], hospital daily outpatient visits [15], etc. LSTM is a special case of Recurrent Neural Networks (RNN) and is increasing in use in recent years in domains such as stocks [16], speech recognition [17], and disease prediction, such as HFMD [18], COVID-19 [19] and HIV [20].
Both ARIMA and LSTM are suitable for analyzing time series data and making predictions. For the prediction of the incidence of HFMD by the ARIMA model, most of the studies involve direct prediction [2,8], and some involve meteorological factors [21]. Simultaneously, most of the previously reported studies on HFMD prediction using the LSTM model were univariate, and were not combined with exogenous variables [18]. As far as we know, no studies have compared the accuracy of these two prediction models combined and uncombined with exogenous meteorological variables.
This study intends to identify the best model for predicting HFMD incidence in Ningbo by comparing ARIMA and LSTM models combined and uncombined with exogenous meteorological variables, based on the daily incidence of HFMD and daily meteorological data from 2014 to 2017 in Ningbo.

2. Materials and Methods

2.1. Study Area

Ningbo is located on the coast of the East China Sea and the southeast corner of the Yangtze River Delta. It is located in the Ningshao plain with moderate latitude (latitude from 28°51′ to 30°33′ N and longitude from 120°55′ to 122°16′ E). Its land area is 9714 km2, while its oceanic territory covers 9758 km2. At the end of 2017, the permanent resident population of Ningbo was 8.05 million. Ningbo belongs to the north subtropical monsoon climate zone, which is mild and humid, with obvious alternations of winter and summer monsoon. It has four distinct seasons, with four months in winter and summer and two months in spring and autumn. The annual average temperature of Ningbo is 16.4 °C, while the hottest (in July) is 28.0 °C, and the coldest (in January) is 4.7 °C. The annual average precipitation is 1480 mm. The annual average sunshine duration is 1850 h.

2.2. HFMD Incidence and Meteorological Data

The daily incidence data of HFMD from 1 January 2014 to 31 December 2017 in Ningbo were collected from the official website of The Data Center of China Public Health Science [22].
The meteorological data during the study period were taken at Yinzhou station ( 29 ° 47   N , 121 ° 33   E ), the national meteorological monitoring station in the central city of Ningbo (See Figure 1). The meteorological data included daily mean temperature ( Tmean ,   ), daily mean pressure ( Pmean ,   hPa ), daily mean relative humidity ( RHmean ,   % ), daily mean wind speed ( WSmean , m / s ), daily precipitation ( PPTN ,   mm ) and daily sunshine duration ( Sunshine ,   h ). These data were provided by the China Meteorological Administration.

2.3. Data Analysis

The data from January 2014 to November 2017 were set as the training set and the data of December 2017 were set as the test set.
The ARIMA and LSTM models with and without exogenous meteorological variables were adopted to fit the training set of the data for predicting the testing set of the daily incidence of HFMD.
All the four models were combined with “Rolling Forecast”. We predicted just one day; we took into account the real value on that day, and then we predicted the next day, etc.
Three indexes were selected as the measures to evaluate the performance of the models.
The first performance measure is root mean square error (RMSE), which is used to compare the predicted value with the actual value. The RMSE is computed as:
RMSE = i = 1 n X i X ^ i 2 n
The second performance measure is mean absolute error (MAE). The MAE is defined as:
MAE = i = 1 n X i X ^ i n
The third performance measure is mean absolute percentage error (MAPE), a measure of relative overall fitness. This performance measure is defined as:
MAPE = i = 1 n | X i X ^ i | X i × 100 n ,
X i is the observed daily incidence of HFMD on the i day, and X ^ i is the predicted daily incidence of HFMD on the i day where i = 1, …, n.
Another parameter used is the Akaike information criterion (AIC), which is an extensively used measure for evaluating an ARIMA model. It quantifies the goodness of fit for the model as well as the simplicity of the model. It should be as low as possible [23].
Various measures of goodness of fit, such as RMSE, MAE, MAPE, and AIC, were computed for the ARIMA model. For LSTM, three parameters, RMSE, MAE and MAPE, were calculated.

2.3.1. ARIMA Model

The Autoregressive Integrated Moving Average (ARIMA) is an adaptation of discrete time-filtering methods developed in the 1930–1940s by electrical engineers [15]. Statisticians George Box and Gwilym Jenkins developed systematic methods for applying ARIMA to predict business and economic data in the 1970s. ARIMA is a class of models that capture temporal structures in time series data and employ a linear regression-based forecasting approach. They provide a general framework for the prediction of non-stationary observed time series data [24].
ARIMA combines both auto regression (AR) and moving average (MA) models as well as a differencing pre-processing step of the sequence to make the sequence stationary, which is called integration (I). The notation for the model involves specifying the order of the AR (p means the number of autoregressive terms), I (d means the number of non-seasonal differences), and MA (q means the number of moving-average terms) models as parameters of an ARIMA function. A non-seasonal ARIMA model can be completely summarized by three numbers: p, q and d. Y denotes the original series and y denotes the differenced series. We can employ the following equations:
y t = Y t ,   i f   d = 0 ;
y t = Y t Y t 1 ,   i f   d = 1 ;
y t = Y t Y t 1 Y t 1 Y t 2 = Y t 2 Y t 1 + Y t 2 ,   i f   d = 2 ;
The forecasting equation for y is:
y ^ t = μ + 1 y t 1 + + p y t p θ 1 e t 1 θ q e t q
where μ is a constant, 1 y t 1 p y t p are AR terms (lagged values of y), and θ 1 e t 1 θ q e t q are MA terms (lagged errors).
The seasonal part of an ARIMA model is summarized by three additional numbers: P, D and Q. The complete model is called an “ARIMA (p,d,q)(P,D,Q)” model. p, d and q are orders of auto-regression, the degree of trend difference and the order of moving average, respectively. P, D and Q are seasonal autoregressive terms, seasonal differences and seasonal moving average terms, respectively [9]. For ARIMA (p,d,q)(P,D,Q), we can get:
y t = Y t Y t s ,   i f   d = 0 ,   D = 1 ;
y t = Y t Y t 1 Y t s Y t s 1 = Y t Y t 1 Y t s + Y t s 1 ,   i f   d = 1 ,   D = 1 ;
where s is the seasonal period [25].
ARIMAX is an extension of the ARIMA model, which includes the modeling of exogenous input variables. Exogenous input variables, also known as covariates, can be considered as parallel input sequences, and their observed values have the same time steps as the original series. The original sequence can be used as endogenous data to compare with the exogenous sequences. The observations of exogenous variables are included in the model directly at each time step, and are not modeled in the same way as the primary endogenous sequence (e.g., as an AR, MA, etc. process).
We conducted the ARIMA/ARIMAX analysis in the previous studies [8,19,21,26]. This can be simply described in three stages. These are time series stability, parameter estimation and model evaluation.
The first stage is time series stability. The ARIMA/ARIMAX model requires stationary time series, which means the time series show no fluctuation or periodicity with time. We used the Augmented Dickey–Fuller (ADF) unit-root test to estimate whether the time series is stationary or not. Log transformation and differences are the preferred ways to stabilize the time series. Seasonal differences were adopted to stabilize the term trend and periodicity in this study.
The second stage is parameter estimation. An autocorrelation function (ACF) graph and partial autocorrelation (PACF) graph were used to identify the optimal ARIMA model. Automatic identification and artificial estimation were adopted in this study. The “autoarima ()” command in R software (R Foundation for Statistical Computing, Vienna, Austria) was first adopted to automatically identify the model parameters. Then, ACF, PACF and differences were employed to identify p, d and q and P, D and Q of a seasonal ARIMA model.
The last stage is model evaluation. All the models that passed the Box–Ljung test were compared using AIC and the RMSE of the test set, so that the best model, which usually has the lowest values of AIC and RMSE, can be found.

2.3.2. LSTM Model

Recurrent neural networks (RNNs) are a kind of artificial neural network. They add additional weight to the network and create cycles in the network graph to maintain an internal state. The LSTM Deep Learning algorithm, developed by Hochreiter and Schmidhuber (1997) [26], allows the preservation of weights that are forward- and backpropagated through layers. All recurrent neural networks take the form of a chain of repeating modules of a neural network. In standard RNNs, this repeating module will have a very simple structure, such as a single tanh layer (See Figure 2a) [27]. LSTMs also have this kind of chain-like structure, but the repeating module has a different structure. There is no single neural network layer, but there are four layers that interact in a very special way. In Figure 2b, each line carries an entire vector, from the output of one node to the inputs of others. The pink circles represent pointwise operations, such as vector addition, while the yellow boxes are learned neural network layers. Lines merging denote concatenation, while a line forking denote its content being copied and the copies going to different locations [27].
The network can continue to learn over many time steps by maintaining a more constant error. Thus, the network can be used to learn long-term dependencies [26]. LSTM networks try to combat the vanishing/exploding gradient problems by introducing gates and an explicitly defined memory cell. These are inspired mostly by circuitry, not so much by biology. Each neuron contains one memory cell and three gates: input, output and forget. The function of these gates is to safeguard the information by stopping or allowing the flow of it. The input gate determines how much of the information from the previous layer gets stored in the cell. The output layer takes up the job on the other end and determines how much of the next layer gets to know about the state of this cell. The forget gate is useful to forget some prior values, i.e., it controls the extent to which a value remains in the cells due to some future works [26].
LSTM is able to almost seamlessly model problems with multiple input variables. This is a great benefit in time series forecasting, where classical linear methods can be difficult to adapt to multivariate or multiple input forecasting problems.
The original LSTM model consists of a single hidden LSTM layer and a standard feedforward output layer. The Stacked LSTM is an extension to this model. It has multiple hidden LSTM layers, each of which contains multiple memory cells. A Stacked LSTM architecture can be defined as an LSTM model comprised of multiple LSTM layers. The upper LSTM layer provides a sequence output to the lower LSTM layer instead of a single-value output. Stacked LSTM is a stable technique for challenging sequence prediction problems, which makes the model more accurate. In our study, we used a three-layer stacked LSTM to fit the data.
The training and prediction of the LSTM model can be divided into the following three steps. Firstly, the data were rescaled and normalized to the range of 0 to 1 as the LSTM models were sensitive to the scale of the input data. Secondly, the time steps of univariate and multivariate LSTM were set to 7/30/60/180, which means that we used the data of the previous 7/30/60/180 days to predict the incidence of the next day. Finally, a three-layer stacked LSTM structure was established. Every LSTM layer has one hidden layer that was set for the LSTM model, with neurons options of 4/8/16/32/64/72/128/256. The alternative optimization functions are Adaptive Moment Estimation (Adam), Stochastic Gradient Descent (SGD) and Root Mean Square Prop (RMSProp). All these learning processes were run in 200/250/500/1000 epochs. We specified the initial learning rate as 0.005 and instructed the model to drop the learning rate every 125 epochs by multiplying by 0.2 (See Figure 3). Based on the above results, we chose the optimal model according to the minimum RMSE of the test set.

2.3.3. One Step Ahead Rolling Forecast

In the real world, the environment is unstable and changes quickly. If a disease prediction model cannot respond quickly to changes, then the model is unqualified. Therefore, a flexible prediction model is very important to meeting the challenge. In this study, a rolling forecast scenario, also known as walk-forward model validation, was used.
Each time step of the test dataset is walked one step at a time. The model is used to make a forecast for the time step, and then the actual observed value is obtained from the test set and provided to the model for prediction in the next time step [9]. This mimics a real-world scenario where new daily incidence observations can be obtained every day and used for the prediction of the next day. Through rolling forecast, we can keep abreast of the pulse of the changing situation at any time, and quickly adjust the disease prevention and control points. Therefore, the one step ahead rolling forward forecast is more precise.
The geographical location of Ningbo and Yinzhou station was determined using ArcGIS (version 10.6, ESRI, Redlands, CA, USA). Excel(version 2016, Microsoft, Redmond, WA, USA) was used to build the database of the daily incidence of HFMD in Ningbo, and the ARIMA model and LSTM model were developed by the R software (version 3.6.2, R Foundation for Statistical Computing, Vienna, Austria) with packages “forecast” and “tensorflow”. The significance level is 0.05.

3. Results

3.1. Descriptive Analysis

Descriptive statistics for the daily incidence of HFMD (incidence) and meteorological variables including Tmean, Pmean, RHmean, WSmean, PPTN and Sunshine are summarized in Table 1. A total of 129,897 HFMD cases from January 2014 to December 2017 were included in our analyses. The daily mean incidence was 88.9 cases. The mean value of Tmean was 17.5 and its range was from −4.5 to 32.9 . The mean value of Pmean was 1016.0 hPa and its range was from 985.7 hPa to 1039.7 hPa . The mean value of RHmean was 79.8% and its range was from 34.0% to 100.0%. The mean value of WSmean was 2.0 m / s and its range was from 0.1 m / s to 8.3 m / s . The mean value of PPTN was 5.0 mm and its range was from 0.0 mm to 276.2 mm. The mean value of Sunshine was 4.4 h and its range was from 0.0 h to 12.7 h.
Figure 4 shows the time series of the daily incidence of HFMD and all of the meteorological variables during the study period. The daily incidence of HFMD in Ningbo exhibits strong seasonality. A bimodal seasonal pattern was observed, which was characterized by peaks in HFMD incidence in the summer (June) and early winter (November).
The univariate Spearman correlation analysis indicated that Tmean, Pmean and RHmean were significantly associated with the incidence of HFMD. Notably, strong correlations were detected between Tmean and Pmean, with correlation coefficients of −0.89 (Table 2). To avoid multicollinearity, only Tmean and RHmean were considered as meteorological variables in the models.

3.2. ARIMA and ARIMAX Model

The incidence data of HFMD in Ningbo from January 2014 to November 2017 were used as a training dataset to build prediction models. The time series of the training dataset was not stationary according the result of the ADF test (p = 0.10). The first trend difference (d = 1) was assessed to eliminate numerical instabilities in the time series. After the one order differencing, the time series passed the ADF test (p = 0.01). Eight alternative ARIMA models (Table 3) with and without external variables (daily mean temperature and daily mean pressure) were primarily selected for further model selection by observing ACF and PACF graphs (Figure S1) and running autoarima () in the R 3.6.2 software. The results of the Box–Ljung test and AIC values of different models are shown in Table 3.
According to Table 3, all models meet the requirement of white noise for the residual time series (p > 0.05), so the AIC values were compared. ARIMA (2,1,1)(0,1,0)365 was selected as the best model by autoarima (), as it had the lowest AIC (AIC = 11,439.60). However, it did not perform well in the fitting process of testing (RMSE = 43.27). Therefore, we chose ARIMA (5,1,4) as the best model, because it had the lowest RMSE in the process of testing (RMSE = 12.43). ARIMAX (5,1,4) was selected as best model by autoarima (), which had the lowest AIC (AIC = 13,808.40) and performed well in the process of testing (RMSE = 14.73). The results of the Box–Ljung test for both selected fitting models showed that the residuals satisfied an independent normal distribution (Table 3), which indicated that the fitting models were effective.

3.3. Univariate LSTM and Multivariable LSTM Model

Ten alternative univariate LSTM models and ten multivariate LSTM models were listed in Table 4. The results show that the model with 64 neurons and the SGD of univariate LSTM had the lowest RMSE for test set (RMSE = 11.20) in comparison with the models using other parameters. The model with 32 neurons and the Adam of multivariate LSTM had the lowest RMSE for the test set (RMSE = 10.78) in comparison with models using other parameters.

3.4. Prediction Performance Comparison

The predicting outputs are displayed in Table 5 and Figure 5. Among the four models, the multivariate LSTM model performed best in the prospective forecasting of HFMD incidence over the following 31 days, with the smallest values of RMSE (10.78), MAE (8.71) and MAPE (0.17). The ARIMA showed a better goodness of fit than the ARIMAX model. For the forecast accuracy, the ARIMA model showed a smaller RMSE (12.43) than the ARIMAX model (14.73), as well as a smaller MAE (9.71 vs. 11.26) and MAPE (0.20 vs. 0.21). However, both performed much worse than the two LSTM models.

4. Discussion

In this study, the daily mean temperature and daily mean pressure were used as exogenous variables, and four models were used to predict the daily incidence of HFMD. By comparing the results, we found that both of the two LSTM models performed better than the two ARIMA models. This indicates that the LSTM models are more suitable than ARIMA models in predicting the daily incidence of HFMD in Ningbo. At the same time, we found that the prediction performance of the multivariate LSTM model was better than that of the LSTM model without exogenous variables, while the prediction performance of the ARIMA model was better than that of the ARIMAX model. Our findings have profound implications for the local public health departments in terms of establishing precision measures to prevent and control the prevalence of HFMD.
The two ARIMA models transformed the influence factors of HFMD into some special time variables and then matched them. The limitation of these two ARIMA models is that they can only analyze the linear part of the infectious disease series. However, the non-linear part of the infectious disease data may not be white noise, which means some information may not be captured by the two ARIMA models. LSTM is an advanced kind of Recurrent Neural Network (RNN) and a deep learning application that is designed to learn temporal patterns, capture non-linear dependences, and store useful memory for a longer time, so it produces better results in situations where the number of datasets is large [26]. This may explain why the performances of the two ARIMA models were not as accurate as those of the two LSTM models. The finding that LSTM achieved higher accuracy than ARIMA is also consistent with previous studies [19,28].
Our results indicate that meteorological factors could improve the prediction accuracy of LSTM. Meteorological factors could affect the incidence of HFMD by influencing the breeding, growth, and transmission of pathogens, as well as human behaviors [29,30,31]. Many previous studies have shed light on the non-linear effects of meteorological factors on HFMD [32,33,34,35]. According to the principle of the neural network model, LSTM can effectively fit these non-linear meteorological data. Therefore, the prediction accuracy of multivariate LSTM as regards the influence of meteorological factors was better than that of univariate LSTM without exogenous variables.
As mentioned above, meteorological factors are usually nonlinearly associated with an epidemic of HFMD. Both ARIMA and ARIMAX are essentially linear methods. Using random noise is not very effective in interpreting multiple periodic structures with characteristic fluctuations caused by nonlinear dynamics. This may explain why, compared with the ARIMA model, meteorological factors did not improve the prediction accuracy of ARIMAX, but became interference factors.
In terms of computational time, the ARIMA models consume more time when using the rolling forecast method, and it is unfeasible to train new models when the orders of p, d and q increase [9]. LTSM models take significantly less time to train, and once trained, constant predictions can be obtained, while ARIMA models need to be retrained. To sum up, LSTM models are more suitable than ARIMA and ARIMAX models for predicting the daily incidence of HFMD in Ningbo.
However, LSTM also has some disadvantages. The optimization of the neural network model is a very complex technical issue. The LSTM model involves the risk of over-fitting or under-fitting, which usually causes poor prediction performance [36]. According to the results, the performance deteriorated when the number of memory cells was less than 32, which suggested that too few memory cells may cause severe under-fit. Moreover, the performance can be improved by increasing the capacity of the model, such as the number of memory cells or number of hidden layers. In addition, when the training epoch is more than 250, the performance of the model will get worse too. Additionally, this phenomenon indicates over-fit. In this study, the selection of the parameter was based on the value of RMSE, and the LSTM model with the minimum RMSE on the test set was selected as the most optimal model.
Admittedly, this study has some limitations. First, the data of the study come from the Data Center of China Public Health Science, which is derived from the hospital reports of HFMD cases. There may be selection or under-reporting bias, which may affect the precision of the predictions. Second, the incidence of HMFD is affected by many natural, social and environmental factors, including the pathogen, environment, host factors, meteorological and air pollution indicators, etc. Given the availability of the data, only meteorological indicators were considered in the model. Third, our study focused on Ningbo, a southern city in China. The epidemiological characteristics of cities in different geographical locations are different, and the associations between the incidence of HFMD and meteorological variables varied with different cities. Therefore, the findings need to be verified when applied to other cities or regions. However, our results warrant further research on the prediction of the daily incidence of HFMD, and provide a scientific reference for the planning of the control and prevention of HFMD in Ningbo.

5. Conclusions

In this study, four models were constructed to forecast the daily incidence of HFMD in Ningbo, China. The LSTM model combined with exogenous meteorological variables has the best accuracy among the four models. The results offer a scientific method to build an HFMD early warning system, and help local health departments to make preparations in advance to treat possible outbreaks of HFMD. The methodology could also be applied to other communicable diseases.

Supplementary Materials

The following are available online at https://0-www-mdpi-com.brum.beds.ac.uk/article/10.3390/ijerph18116174/s1, Figure S1: The ACF graph and PACF graph of daily HFMD incidence series.

Author Contributions

Conceptualization, Q.G. and Y.L.; methodology, R.Z. and Z.G.; software, Y.M. and S.W.; validation, R.N. and Y.W.; writing—original draft preparation, R.Z.; writing—review and editing, R.Z.; funding acquisition, R.Z., S.W. and Y.L.; validation, S.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by National Science and Technology Major Project (2017ZX10305501-009) and the Special Foundation of Basic Science and Technology Resources Survey from the Ministry of Science and Technology of China (2017FY101201, 2017FY101207).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Du, Z.; Zhang, W.; Zhang, D.; Yu, S.; Hao, Y. Estimating the basic reproduction rate of HFMD using the time series SIR model in Guangdong, China. PLoS ONE 2017, 12, e0179623. [Google Scholar] [CrossRef] [Green Version]
  2. Yu, L.; Zhou, L.; Tan, L.; Jiang, H.; Wang, Y.; Wei, S.; Nie, S. Application of a new hybrid model with seasonal auto-regressive integrated moving average (ARIMA) and nonlinear auto-regressive neural network (NARNN) in forecasting incidence cases of HFMD in Shenzhen, China. PLoS ONE 2014, 9, e98241. [Google Scholar]
  3. Bo, Y.-C.; Song, C.; Wang, J.-F.; Li, X.-W. Using an autologistic regression model to identify spatial risk factors and spatial risk patterns of hand, foot and mouth disease (HFMD) in Mainland China. BMC Public Health 2014, 14, 358. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Sumi, A.; Toyoda, S.; Kanou, K.; Fujimoto, T.; Mise, K.; Kohei, Y.; Koyama, A.; Kobayashi, N. Association between meteorological factors and reported cases of hand, foot, and mouth disease from 2000 to 2015 in Japan. Epidemiol. Infect. 2017, 145, 2896–2911. [Google Scholar] [CrossRef] [Green Version]
  5. Bendig, J.W.; Fleming, D.M. Epidemiological, virological, and clinical features of an epidemic of hand, foot, and mouth disease in England and Wales. Commun. Dis. Rep. CDR Rev. 1996, 6, R81–R86. [Google Scholar]
  6. Liu, W.; Bao, C.; Zhou, Y.; Ji, H.; Wu, Y.; Shi, Y.; Shen, W.; Bao, J.; Li, J.; Hu, J.; et al. Forecasting incidence of hand, foot and mouth disease using BP neural networks in Jiangsu province, China. BMC Infect. Dis. 2019, 19, 1–9. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Zhong, R.; Wu, Y.; Cai, Y.; Wang, R.; Zheng, J.; Lin, D.; Wu, H.; Li, Y. Forecasting hand, foot, and mouth disease in Shenzhen based on daily level clinical data and multiple environmental factors. Biosci. Trends 2018, 12, 450–455. [Google Scholar] [CrossRef] [Green Version]
  8. Liu, L.; Luan, R.S.; Yin, F.; Zhu, X.P.; Lu, Q. Predicting the incidence of hand, foot and mouth disease in Sichuan province, China using the ARIMA model. Epidemiol. Infect. 2016, 144, 144–151. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  9. Cryer, J.D.; Chan, K.-S. Time Series Analysis with Applications in R; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  10. Yang, Q.; Wang, J.; Ma, H.; Wang, X. Research on COVID-19 based on ARIMA model (Delta)—Taking Hubei, China as an example to see the epidemic in Italy. J. Infect. Public Health 2020, 13, 1415–1418. [Google Scholar] [CrossRef] [PubMed]
  11. Wang, Y.-W.; Shen, Z.-Z.; Jiang, Y. Comparison of ARIMA and GM(1,1) models for prediction of hepatitis B in China. PLoS ONE 2018, 13, e0201987. [Google Scholar] [CrossRef] [PubMed]
  12. He, Z.; Tao, H. Epidemiology and ARIMA model of positive-rate of influenza viruses among children in Wuhan, China: A nine-year retrospective study. Int. J. Infect. Dis. 2018, 74, 61–70. [Google Scholar] [CrossRef] [Green Version]
  13. Wang, K.W.; Deng, C.; Li, J.P.; Zhang, Y.Y.; Li, X.Y.; Wu, M.C. Hybrid methodology for tuberculosis incidence time-series forecasting based on ARIMA and a NAR neural network. Epidemiol. Infect. 2017, 145, 1118–1129. [Google Scholar] [CrossRef] [Green Version]
  14. Yang, J.; Li, L.; Shi, Y.; Xie, X. An ARIMA Model with Adaptive Orders for Predicting Blood Glucose Concentrations and Hypoglycemia. IEEE J. Biomed. Health Inform. 2018, 23, 1251–1260. [Google Scholar] [CrossRef]
  15. Luo, L.; Luo, L.; Zhang, X.; He, X. Hospital daily outpatient visits forecasting using a combinatorial model based on ARIMA and SES models. BMC Health Serv. Res. 2017, 17, 469. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Kim, T.; Kim, H.Y. Forecasting stock prices with a feature fusion LSTM-CNN model using different representations of the same data. PLoS ONE 2019, 14, e0212320. [Google Scholar] [CrossRef] [PubMed]
  17. Kim, M.; Cao, B.; Mau, T.; Wang, J. Speaker-Independent Silent Speech Recognition from Flesh-Point Articulatory Movements Using an LSTM Neural Network. IEEE/ACM Trans. Audio Speech Lang. Process 2017, 25, 2323–2336. [Google Scholar] [CrossRef]
  18. Gu, J.; Liang, L.; Song, H.; Kong, Y.; Ma, R.; Hou, Y.; Zhao, J.; Liu, J.; He, N.; Zhang, Y. A method for hand-foot-mouth disease prediction using GeoDetector and LSTM model in Guangxi, China. Sci. Rep. 2019, 9, 1–10. [Google Scholar] [CrossRef]
  19. Kirbas, I.; Sozen, A.; Tuncer, A.D.; Kazancioglu, F.S. Comparative analysis and forecasting of COVID-19 cases in various European countries with ARIMA, NARNN and LSTM approaches. Chaos Solitons Fractals 2020, 138, 110015. [Google Scholar] [CrossRef]
  20. Wang, G.; Wei, W.; Jiang, J.; Ning, C.; Chen, H.; Huang, J.; Liang, B.; Zang, N.; Liao, Y.; Chen, R.; et al. Application of a long short-term memory neural network: A burgeoning method of deep learning in forecasting HIV incidence in Guangxi, China. Epidemiol. Infect. 2019, 147, e194. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  21. Jing, Q.L.; Cheng, Q.; Marshall, J.M.; Hu, W.; Yang, Z.C.; Lu, J.H. Imported cases and minimum temperature drive dengue transmission in Guangzhou, China: Evidence from ARIMAX model. Epidemiol. Infect. 2018, 146, 1226–1235. [Google Scholar] [CrossRef] [Green Version]
  22. National Population and Health Science Data Sharing Platform: The Datacenter of China Public Health Science. Available online: http://www.phsciencedata.cn/Share/en/index.jsp (accessed on 25 March 2020).
  23. Paul, J.C.; Hoque, M.S.; Morshedur, R.M. Selection of Best ARIMA Model for Forecasting Average Daily Share Price Index of Pharmaceutical Companies in Bangladesh: A Case Study on Square Pharmaceutical Ltd. Glob. J. Manag. Bus. Res. 2013, 13, 14–25. [Google Scholar]
  24. Aboagye-Sarfo, P.; Mai, Q.; Sanfilippo, F.M.; Preen, D.B.; Stewart, L.M.; Fatovich, D.M. A comparison of multivariate and univariate time series approaches to modelling and forecasting emergency department demand in Western Australia. J. Biomed. Inform. 2015, 57, 62–73. [Google Scholar] [CrossRef] [Green Version]
  25. Introduction to ARIMA Models. Available online: https://people.duke.edu/~rnau/411arim.htm (accessed on 2 December 2020).
  26. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural. Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
  27. Understanding LSTM Networks. Available online: https://colah.github.io/posts/2015-08-Understanding-LSTMs/ (accessed on 15 January 2021).
  28. Chae, S.; Kwon, S.; Lee, D. Predicting Infectious Disease Using Deep Learning and Big Data. Int. J. Environ. Res. Public Health 2018, 15, 1596. [Google Scholar] [CrossRef] [Green Version]
  29. Wang, P.; Goggins, W.B.; Chan, E.Y.Y. Hand, Foot and Mouth Disease in Hong Kong: A Time-Series Analysis on Its Relationship with Weather. PLoS ONE 2016, 11, e0161006. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  30. Ooi, M.H.; Wong, S.C.; Lewthwaite, P.; Cardosa, M.J.; Solomon, T. Clinical features, diagnosis, and management of enterovirus 71. Lancet Neurol. 2010, 9, 1097–1105. [Google Scholar] [CrossRef]
  31. Chang, H.; Chio, C.; Su, H.; Liao, C.; Lin, C.; Shau, W. The Association between Enterovirus 71 Infections and Meteorological Parameters in Taiwan. PLoS ONE 2012, 7, e46845. [Google Scholar] [CrossRef]
  32. Qi, H.; Li, Y.; Zhang, J.; Chen, Y.; Guo, Y.; Xiao, S.; Hu, J.; Wang, W.; Zhang, W.; Hu, Y.; et al. Quantifying the risk of hand, foot, and mouth disease (HFMD) attributable to meteorological factors in East China: A time series modelling study. Sci. Total Environ. 2020, 728, 138548. [Google Scholar] [CrossRef] [PubMed]
  33. Zhu, L.; Yuan, Z.; Wang, X.; Li, J.; Wang, L.; Liu, Y.; Xue, F.; Liu, Y. The Impact of Ambient Temperature on Childhood HFMD Incidence in Inland and Coastal Area: A Two-City Study in Shandong Province, China. Int. J. Environ. Res. Public Health 2015, 12, 8691–8704. [Google Scholar] [CrossRef]
  34. Qi, H.; Chen, Y.; Xu, D.; Su, H.; Zhan, L.; Xu, Z.; Huang, Y.; He, Q.; Hu, Y.; Lynn, H.; et al. Impact of meteorological factors on the incidence of childhood hand, foot, and mouth disease (HFMD) analyzed by DLNMs-based time series approach. Infect. Dis. Poverty 2018, 7, 7. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  35. Zhang, R.; Lin, Z.; Guo, Z.; Chang, Z.; Niu, R.; Wang, Y.; Wang, S.; Li, Y. Daily mean temperature and HFMD: Risk assessment and attributable fraction identification in Ningbo China. J. Expo. Sci. Environ. Epidemiol. 2021, 2, 5. [Google Scholar] [CrossRef] [PubMed]
  36. Postalcolu, S. Performance Analysis of Different Optimizers for Deep Learning-Based Image Recognition. Int. J. Pattern Recognit. Artif. Intell. 2020, 34, 1–6. [Google Scholar]
Figure 1. The geographical location of Ningbo and Yinzhou station.
Figure 1. The geographical location of Ningbo and Yinzhou station.
Ijerph 18 06174 g001
Figure 2. The repeating modules of RNN and LSTM. (a). The repeating module in a standard RNN contains a single layer; (b). The repeating module in an LSTM contains four interacting layers (A is a chunk of neural network).
Figure 2. The repeating modules of RNN and LSTM. (a). The repeating module in a standard RNN contains a single layer; (b). The repeating module in an LSTM contains four interacting layers (A is a chunk of neural network).
Ijerph 18 06174 g002
Figure 3. A three-layer stacked Long Short-Term Memory Neural Network (LSTM) architecture.
Figure 3. A three-layer stacked Long Short-Term Memory Neural Network (LSTM) architecture.
Ijerph 18 06174 g003
Figure 4. The time series distribution of the daily incidence of HFMD and meteorological variables in Ningbo, 2014–2017.
Figure 4. The time series distribution of the daily incidence of HFMD and meteorological variables in Ningbo, 2014–2017.
Ijerph 18 06174 g004
Figure 5. The actual daily incidence of HFMD and values predicted by the four models in December 2017.
Figure 5. The actual daily incidence of HFMD and values predicted by the four models in December 2017.
Ijerph 18 06174 g005
Table 1. Descriptive statistics of daily incidence of HFMD cases and meteorological factors in Ningbo, 2014–2017.
Table 1. Descriptive statistics of daily incidence of HFMD cases and meteorological factors in Ningbo, 2014–2017.
IndicatorsMean ± SDMinP25P50P75Max
Incidence(cases)88.9 ± 76.813364120479
Tmean ( )17.5 ± 8.4−4.510.118.524.232.9
Pmean ( hPa )1016.0 ± 8.8985.71008.61015.71023.21039.7
RHmean (%)79.8 ± 11.234738188100
WSmean ( m / s )2.0 ± 0.90.11.41.82.48.3
PPTN (mm)5.0 ± 14.40003.3276.2
Sunshine (h)4.4 ± 4.1003.78.312.7
Note: SD stands for standard deviation, Min stands for minimum value, Max stands for maximum value, P25 stands for 25th percentile, P50 stands for 50th percentile and P75 stands for 75th percentile; Tmean stands for daily mean temperature, Pmean stands for daily mean pressure, RHmean stands for daily mean relative humidity and WSmean stands for daily mean wind speed and PPTN stands for daily precipitation.
Table 2. Analysis of correlation between daily incidence of HFMD and meteorological variables.
Table 2. Analysis of correlation between daily incidence of HFMD and meteorological variables.
IndicatorsTmeanPmeanRHmeanWSmeanPPTNSunshine
HFMD0.34 *−0.36 *0.09 *−0.050.04−0.02
Tmean −0.89 *0.15 *−0.020.11 *0.17 *
Pmean −0.26 *0.03−0.17 *−0.06 *
RHmean −0.32 *0.35 *−0.58 *
WSmean 0.08 *0.07 *
PPTN −0.29 *
Note: *: p < 0.05; Tmean stands for daily mean temperature, Pmean stands for daily mean pressure, RHmean stands for daily mean relative humidity and WSmean stands for daily mean wind speed.
Table 3. Comparison of the ARIMA and ARIMAX models.
Table 3. Comparison of the ARIMA and ARIMAX models.
ModelsLjung–Box TestAICRMSEMAEMAPE
X-Squaredp-Value
ARIMA (5,1,4)2.730.1013,825.4812.439.710.21
ARIMA (5,1,2)0.110.7413,988.1814.2311.590.24
ARIMA (2,1,1)(0,1,0)3650.020.8811,439.6043.2732.590.57
ARIMA (3,1,1)(0,1,0)3650.000.9911,440.7743.232.610.58
ARIMAX (5,1,3)0.040.8413,973.3115.9812.700.22
ARIMAX (4,1,3)0.970.3214,049.6017.2313.490.23
ARIMAX (5,1,2)0.330.5713,973.2115.9212.710.22
ARIMAX (5,1,4)3.000.0813,808.4014.7311.260.21
Note: AIC stands for Akaike information criterion, RMSE stands for root mean square error, MAE stands for mean absolute error and MAPE stands for mean absolute percentage error.
Table 4. Comparison of the univariate LSTM and multivariate LSTM models.
Table 4. Comparison of the univariate LSTM and multivariate LSTM models.
ModelsTime StepsNeuronsOptimizerEpochsBatch SizeRMSE
Univariate LSTM16064SGD2503211.20
26072RMSProp2501611.33
36072Adam2501611.33
46072RMSProp2001611.99
56072RMSProp2506412.43
66064RMSProp2501612.52
760128SGD2503219.30
830128SGD2503219.56
918064SGD2503220.59
106032SGD2503221.57
Multivariate LSTM16032Adam2503210.78
26064RMSProp2503211.09
36064Adam2503211.17
46064RMSProp2506412.07
56064RMSProp2003212.99
63032Adam2503213.64
7732Adam2503215.09
818032Adam2503215.48
960128Adam2503217.07
106064SGD2503219.99
Note: SGD stands for stochastic gradient descent, RMSProp stands for root mean square prop, Adam stands for adaptive moment estimation.
Table 5. The forecasting performance of the four models.
Table 5. The forecasting performance of the four models.
ModelRMSEMAEMAPE
ARIMA (5,1,4)12.439.710.20
ARIMAX (5,1,4)14.7311.260.21
Univariate LSTM11.209.030.18
Multivariable LSTM10.788.710.17
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, R.; Guo, Z.; Meng, Y.; Wang, S.; Li, S.; Niu, R.; Wang, Y.; Guo, Q.; Li, Y. Comparison of ARIMA and LSTM in Forecasting the Incidence of HFMD Combined and Uncombined with Exogenous Meteorological Variables in Ningbo, China. Int. J. Environ. Res. Public Health 2021, 18, 6174. https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph18116174

AMA Style

Zhang R, Guo Z, Meng Y, Wang S, Li S, Niu R, Wang Y, Guo Q, Li Y. Comparison of ARIMA and LSTM in Forecasting the Incidence of HFMD Combined and Uncombined with Exogenous Meteorological Variables in Ningbo, China. International Journal of Environmental Research and Public Health. 2021; 18(11):6174. https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph18116174

Chicago/Turabian Style

Zhang, Rui, Zhen Guo, Yujie Meng, Songwang Wang, Shaoqiong Li, Ran Niu, Yu Wang, Qing Guo, and Yonghong Li. 2021. "Comparison of ARIMA and LSTM in Forecasting the Incidence of HFMD Combined and Uncombined with Exogenous Meteorological Variables in Ningbo, China" International Journal of Environmental Research and Public Health 18, no. 11: 6174. https://0-doi-org.brum.beds.ac.uk/10.3390/ijerph18116174

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop