key: cord-1029336-dymef4y9 authors: Xie, Cong; Wen, Haoyu; Yang, Wenwen; Cai, Jing; Zhang, Peng; Wu, Ran; Li, Mingyan; Huang, Shuqiong title: Trend analysis and forecast of daily reported incidence of hand, foot and mouth disease in Hubei, China by Prophet model date: 2021-01-14 journal: Sci Rep DOI: 10.1038/s41598-021-81100-2 sha: 76f2cd31fba8db7ba0ec5941c506884a7a8dbddb doc_id: 1029336 cord_uid: dymef4y9 Hand, foot, and mouth disease (HFMD) is common among children below 5 years. HFMD has a high incidence in Hubei Province, China. In this study, the Prophet model was used to forecast the incidence of HFMD in comparison with the autoregressive-integrated moving average (ARIMA) model, and HFMD incidence was decomposed into trends, yearly, weekly seasonality and holiday effect. The Prophet model fitted better than the ARIMA model in daily reported incidence of HFMD. The HFMD incidence forecast by the Prophet model showed that two peaks occurred in 2019, with the higher peak in May and the lower peak in December. Periodically changing patterns of HFMD incidence were observed after decomposing the time-series into its major components. In specific, multi-year variability of HFMD incidence was found, and the slow-down increasing point of HFMD incidence was identified. Relatively high HFMD incidences appeared in May and on Mondays. The effect of Spring Festival on HFMD incidence was much stronger than that of other holidays. This study showed the potential of the Prophet model to detect seasonality in HFMD incidence. Our next goal is to incorporate climate variables into the Prophet model to produce an accurate forecast of HFMD incidence. www.nature.com/scientificreports/ Therefore, motivated by the merits of the Prophet model and the urgent need to explore the trends of HFMD, this study aims to forecast the incidence of HFMD and explore the trends, seasonality and holiday effect on HFMD incidence by using the Prophet model, which will be of great help in initiating guidance planning and effective intervention measures for HFMD-prevention. Meanwhile, this study compared the simulating and forecasting abilities of the Prophet model with the ARIMA model, to evaluate the accuracy of the Prophet model in forecasting the daily incidence of HFMD. Materials. Data sources. Since May 2008, the Chinese Ministry of Health has categorised HFMD as a class C communicable disease, which means HFMD incidence must be reported to the National Communicable Disease Surveillance Network within 24 h after diagnosis 19 . Unlike other sentinel surveillance data, the data collected from this network are population wide, which can be more representative for the actual HFMD epidemic. HFMD was reported voluntarily before May 2008; thus, the data were sparse before. Although the Prophet model is robust to missing values, data from 2009 to 2018 were used for analysis to obtain accurate forecast. In this study, the daily incidence of HFMD data in Hubei Province were collected from the National Communicable Disease Surveillance Network with patients' address in Hubei Province, including confirmed cases and clinically diagnosed cases. The date of onset was used to establish the occurrence of cases in this study. Processing. To obtain accurate forecasting models and avoid over-fitting, we used the HFMD incidence data from 2009 to 2017 as the training set and the data in 2018 as the test set. The first step in implementing an ARIMA model is to determine whether or not the time series data are stationary. Due to the significant seasonality, HFMD incidence data were non-stationary. Thus, we used log-transform and differencing in implementing the ARIMA and Prophet models. We divided the daily records into four seasons (i.e. spring: March, April, May; summer: June, July, August; fall: September, October, November; and winter: December, January, February). Methods. ARIMA model. The ARIMA is a generalised model of Autoregressive Moving Average (ARMA) that combines Autoregressive (AR) process and Moving Average (MA) processes and builds a composite model of the time series 20 . As acronym indicates, (p, d, q) captures the key elements of the model: p = number of autoregressive terms; d = number of non-seasonal differences; q = number of moving-average terms. With seasonal time series data, the Seasonal-ARIMA (SARIMA) model, which incorporates non-seasonal and seasonal factors in a multiplicative model, need to be estimated. The general form of SARIMA model is denoted as ARIMA (p, d, q) × (P, D, Q) S, which can be described with the following parameters: P = number of seasonal autoregressive terms; D = number of seasonal differences; Q = number of seasonal moving-average terms; S = the periodic terms. Considering that the reported incidence of the HFMD dataset presents strong seasonal tendencies, the adoption of SARIMA is a good choice. The SARIMA implemented here was embedded with a periodicity of 365 days (S = 365). Prophet model. The Prophet model was designed for the analysis and forecast of time-series data introduced by Taylor and Letham and available in Python and R 14 . It adopts a Bayesian-based curve fitting method to smooth and forecast time-series data. The formulation of the Prophet model is similar to a GAM, including trend, seasonality and holidays: where g(t) is the trend function, which represents non-periodic changes in time series values, and s(t) represents periodic changes (e.g. weekly and yearly seasonality). Many studies have reported that HFMD has obvious yearly seasonality, but few studies have focused on weekly seasonality. The present study aims to fill this research. h(t) represents the effects of holidays. In this study, seven holidays were considered, including New Year, Spring Festival, Tomb-sweeping Festival, May Day, Dragon Boat Festival, Mid-autumn Festival and National Day (The dates of the above festivals in 2009-2018 are shown in Supplementary Table S2 online). ε t is the error term and assumes to be normally distributed in this study. This GAM specification of the Prophet model allows analysts to explore different model specifications interactively and flexibly. The Prophet model works best with time series that have strong seasonal effects and several seasons of historical data. Compared with traditional exponential smoothing models, the Prophet model can extract trends and periodic signals with different time scales more easily with multiple periods and has no requirements regarding the regularity of measurement spacing. The Prophet model facilitates the analysis of different time-series and filters out noise and outliers from datasets 13 . These features make it attractive for the analysis of HFMD incidence. All scripts have been written in R statistical programming language. (1) www.nature.com/scientificreports/ Assessment metric. We have used different metrics for both models and these metrics are listed below: where n is the number of samples, a is the actual value; and c is the predicated value. RMSE measures the differences or residuals between actual and predicated values. We used the RMSE, MAE, MAPE, AE, Pearson's r and the fitting effect diagram to measure the performance of the models. Lower values indicate a better fit of the data. The best fitted model will be used to forecast the daily reported incidences of HFMD in 2019. work which is open to specific users with some permission. The data processing used secondary statistical table instead of private case information, so the anonymity of the data was maintained. In all, ethical approval is not required for this study. General information. A total of 784,618 cases were reported, increasing from 33,211 cases in 2009 to 92,376 cases in 2018, with an annual increase of 11.11% during this period. Figure 1 illustrates an obvious seasonal pattern and upward trend in the reported incidence of HFMD from 2009 to 2018 in Hubei Province. The reported incidence of HFMD showed two peaks in a year with the higher peak observed in April-June and the lower peak in September-October. Furthermore, an epidemic peak appeared every other year from 2009 to 2018, which indicated that the peak of the reported incidence in even years was higher than that in odd years. The seasonal pattern was supported by the moving averages decomposition approach ( Fig. 2A) , in which the seasonal effect is the seasonal average divided by the average of each day. Clear seasonal peaks and an evident 12-month cyclical process occurred. Figure 2B shows that the daily reported incidence of HFMD was the highest in summer, followed by spring while lower in fall and winter. Meanwhile, the reported incidence of HFMD was higher on Monday and Sunday and lower on Saturday and Friday in each of the seasons, except spring (lower incidence on Wednesday and Thursday). This preliminary assessment revealed the possible day-of-week and seasonal effects in the daily reported incidence of HFMD in Hubei Province. Detailed and reliable analyses are warranted using a statistical time-series analysis. Forecast of the ARIMA and Prophet models. The ARIMA and Prophet models were used based on the dataset of reported HFMD incidence. As mentioned before, the training set is the dataset from 2009 to 2017, and the test set is the dataset in 2018. For ARIMA, the series showed a non-stationary mean (Fig. 1) . Thus, we stabilised the daily reported incidences of HFMD by taking first difference. Then, the observations were examined using the augmented Dickey-Fuller (ADF) test (ADF = − 11.79, P < 0.01), which was indicative of an obviously stationary incidence series. All further statistical procedures were performed on the log-transformed HFMD incidence. Basing from the distribution characteristics and autocorrelation graph and partial autocorrelation graph, we conducted several possible ARIMA models for the daily reported incidence of HFMD. We set the Akaike Information Criterion (AIC), and lower AIC values indicate better fit model for the data. Among several possible ARIMA models, ARIMA (4,1,4) (0,1,0) [365] and ARIMA (5,1,3) (0,1,0) [365] hold lower AIC values; thus, both models were Supplementary Table S1 online) . For the Prophet model, it is easy and friendly to forecast at daily reported HFMD of its piecewise trends, diverse seasonality, and changing holidays. We implemented the trend model with a saturating growth, and the carrying capacity of the logistic growth model was set as 8.5. The change-points were automatically selected and the number of change-points was set as 25. We set the interval width as 0.95 and the number of uncertainty samples as 1000. To determine which model is the best fit for the data within Prophet and ARIMA(5,1,3) (0,1,0) [365], we set the criteria as follows (depicted in Table 1 ): RMSE, MAE, MAPE, AE and Pearson's r values were calculated in the training and test processing for the two models. Table 1 shows that Prophet and ARIMA fitted very well in the training sets and that ARIMA was slightly better than Prophet. However, in the test sets, ARIMA was much worse fitting than Prophet. Figure 3 visualises the goodness of fitting for both models and supports the results reported on Table 1 . In the test set, the ARIMA model was over-fitting with poor generalisation ability, whereas the Prophet model was fitted well and captured the seasonality. Basing from the forecast on the test set, we concluded that the forecasting of Prophet model was better than that of ARIMA in the daily reported incidence of HFMD in this study. Given its well-fitting, the Prophet model was used to forecast the daily reported incidence of HFMD in 2019. The Prophet model forecast two peak, with the higher peak of 790 in May and the lower peak of 349 in December. The forecasting higher peak in 2019 was slightly lower than the highest peak in 2018, which was in line with the epidemic mentioned above. www.nature.com/scientificreports/ Decomposed components of Prophet. The estimated reported incidence of HFMD is a combination of trend effect, yearly seasonality effect, weekly seasonality effect and holiday effect. These components are shown by Fig. 4 , from which an apparently increasing trend in the reported incidence of HFMD can be observed from 2009 to 2018. The trend effect increased rapidly before 2012 and presented a slower increase after 2012. For yearly seasonality, two apparent local maxima appeared in early May and early December and two apparent local minima appeared in mid-February and later August. The day-of-week curve exhibited that the reported incidence of HFMD sharply fell from Monday to Friday, reached the nadir on Friday and then steadily increased from Friday to next Monday. The holiday component indicates that the holidays around the New day, Spring Festival, Tomb-sweeping Festival, May day and Dragon Boat Festival exerted positive effects, but Mid-autumn Festival and National Day exerted negative effects. The effect of Spring Festival was much greater than those of the other holidays. Many studies have proven that early forecast of HFMD epidemics facilitates effective prevention strategies, and the ARIMA model is commonly used to forecast HFMD epidemics 9, 11 . A study by the Chinese Center for Disease Control and Prevention on HFMD showed that each extra day increase in onset-to-diagnosis interval is associated with a 1% higher risk of HFMD mortality 6 . Therefore, forecasting the incidence of HFMD at the daily scale can help public health professionals implement prevention and control measures in a timely and accurate manner, thereby reducing the risk of HFMD mortality. However, most studies of forecasting HFMD epidemics based on the ARIMA model used weekly, monthly and yearly data but rarely daily data 11, 21, 22 . The ARIMA model is easy to over-fit with poor generalisation ability when processing daily data. However, the Prophet model has strong generalisation ability and performs better in the forecast based on daily data. Recently, neural networks (including back propagation neural network, long short-term memory neural networks and convolutional-recurrent neural network, etc.) have been used to forecast HFMD incidence on the basis of monthly data 10, 12, 23 . Comparison of the fitting indexes (RMSE and MAPE) of the neural network for HFMD forecast in a previous study with the Prophet model in this study shows that the Prophet model performed much better. This result is not only due to Prophet's good forecasting ability, but also to the rich information provided by daily data. In addition, this GAM specification in the Prophet model could help user decompose time serious into trends, yearly, weekly seasonality and holidays by the nature of the time series. The continuously increasing trends of HFMD may contribute to the periodic rotation and dominance of the three pathogens, EV71, CVA16 and CVA6, which appeared to evade from large-scale population immunity. It also contributed to some events, which may affect the epidemics of HFMD 24 . Since the initiation of surveillance in 2008, the reported incidence of HFMD has increased sharply because of improvements in reporting and surveillance of HFMD 6 . In 2010, the China Health Commission issued the 'Chinese guidelines for the diagnosis and treatment of hand, foot and mouth disease (2010 edition)' to help the health sectors and residents to prevent and deal with HFMD. With the increasing awareness of HFMD, relevant prevention and control measures have increasingly been strengthened. As a result, the rising trend of HFMD slowed down since 2010. In 2016, three inactivated monovalent EV71 vaccines were licensed in China, which consequently decreased the proportion of EV71 associated HFMD 25 . In 2018, the Health Commission of Hubei provincial issued a document on HFMD, including a series of prevention and control measures, such as strengthening surveillance, increasing EV71 vaccination and improving diagnostic ability, which exerted positive effects on reducing the incidence of HFMD 26 . Effective vaccines against EV71 have been prepared in China but are only available in the private market and require out of-pocket payment. For other countries, paediatric vaccination programs have not been introduced 27 . Moreover, the vaccine against EV71 lacks cross-protection against other HFMD viruses such as CVA16. The yearly seasonality of HFMD incidence has always been the focus of HFMD-related researchers. The Chinese Center for Disease Control and Prevention showed that the incidence of HFMD in China held different seasonal variation in the south and north: it has a summer peak in northern China and a spring and autumn peak in southern China 6 , which is consistent with the results of this study. Previous studies suggested that climate (including temperature, humidity, precipitation, air pressure, etc.) is related to the yearly seasonality of HFMD incidence. Our next goal is to incorporate climate variables into the Prophet model to produce a more accurate forecast of HFMD incidence, with a view to help establish an effective HFMD outbreak warning system. Compared with the trends, yearly seasonality and holidays effect, the impact of weekly seasonality on HFMD incidence was relatively weak. HFMD in Hubei Province was common on people aged 6 months and 5 years old 8 , and their average incubation period was estimated to be 4.4 days 28 . This result meant that the number of HFMD cases today may be affected by various factors 4 days ago. For people aged 6 months to 5 years old, their caregivers are an important factor affecting HFMD 29 . However, the trajectory of children's caregivers was changeable and hard to track every week. In the future, the reasons behind the weekly seasonality of HFMD incidence need to be further explored. Holidays mean that children do not attend school, which may have a positive effect in reducing the transmission of HFMD via schools 30 . However, holidays increased the contact between children and their family members, which may increase the transmission of HFMD via families. Children go to public places during school holidays, which is a risk factor of HFMD transmission 31 . A previous study indicated that school holidays have limited effects on HFMD transmission which may be partially explained by relatively short school holiday 32 . Another study showed that school closure during public holidays exerts a relatively small effect of mitigating transmission, and the effect cannot be solely attributable to public holidays because of seasonal effect 30 . The holidays included in this study were relatively short, lasting 3 or 7 days and the incidence of HFMD in Hubei Province showed obvious seasonality. Therefore, the specific mechanism underlying positive or negative holiday effects are difficult to elucidate. In-depth analysis on specific mechanism of holidays is urgently needed. However, the www.nature.com/scientificreports/ effects of Spring Festival were much greater than those of other holidays, which can be attributed to the fact that Spring Festival occurred during the winter vacation for a month. Some studies showed that summer or spring school vacations with duration longer than a month are associated with low HFMD transmission 33 , which could explain the relatively obvious negative effect of Spring Festival. Compared with the ARIMA model, the Prophet model can provide a more accurate forecast of HFMD incidence at a tinier scale. This study showed the potential of the Prophet model to detect seasonality in HFMD incidence. Our next goal is to incorporate climate variables into the Prophet model to produce an accurate forecast of HFMD incidence and help establish an effective HFMD outbreak warning system. Clinical features and risk factors of pulmonary oedema after enterovirus-71-related hand, foot, and mouth disease Epidemiologic features of hand-foot-mouth disease and herpangina caused by enterovirus 71 in Taiwan Epidemiologic and virologic investigation of hand, foot, and mouth disease, southern Vietnam An emerging recombinant human enterovirus 71 responsible for the 2008 outbreak of hand foot and mouth disease in Fuyang city of China Severity and burden of hand, foot and mouth disease in Asia: a modelling study Hand, foot, and mouth disease in China Epidemiological features of and changes in incidence of infectious diseases in China in the first decade after the SARS outbreak: an observational trend study Hand, foot and mouth disease in Hubei province, 2009-2015: an epidemiological and etiological study Application of a combined model with seasonal autoregressive integrated moving average and support vector regression in forecasting hand-foot-mouth disease incidence in Wuhan Development and evaluation of a deep learning approach for modeling seasonality and trends in hand-foot-mouth disease incidence in mainland China Time-series modelling and forecasting of hand, foot and mouth disease cases in China from Forecasting incidence of hand, foot and mouth disease using BP neural networks in Jiangsu province Analysis of the diurnal, weekly, and seasonal cycles and annual trends in atmospheric CO 2 and CH 4 at Tower Network in Siberia from Forecasting at scale Day-of-week and seasonal patterns of PM2.5 concentrations over the United States: Timeseries analyses using the Prophet procedure Forecasting flu activity in the United States: benchmarking an endemic-epidemic beta model Analysis of the COVID-19 pandemic by SIR model and machine learning technics for forecasting Comparative prediction of confirmed cases with COVID-19 pandemic by machine learning, deterministic and stochastic SIR models Surveillance of hand, foot, and mouth disease in mainland China Application of seasonal auto-regressive integrated moving average model in forecasting the incidence of hand-footmouth disease in Wuhan Predicting the incidence of hand, foot and mouth disease in Sichuan province, China using the ARIMA model A method for hand-foot-mouth disease prediction using GeoDetector and LSTM model in Guangxi The epidemiological study of coxsackievirus a6 revealing hand, foot and mouth disease epidemic patterns in Guangdong Remaining challenges for prevention and control of hand, foot, and mouth disease Hubei Provincial Center for Disease Control and Prevention. The Situation of the Hand Enterovirus-associated hand-foot and mouth disease and neurological complications in Japan and the rest of the world Estimating the incubation period of hand, foot and mouth disease for children in different age groups Children's caregivers and public playgrounds: potential reservoirs of infection of hand-foot-and-mouth disease The effect of school closure on hand, foot, and mouth disease transmission in Singapore: a modeling approach Important roles of public playgrounds in the transmission of hand, foot, and mouth disease Transmission of hand, foot and mouth disease and its potential driving factors in Hong Kong Hand, foot and mouth disease in China: patterns of spread and transmissibility during M.L. and S.H. supervised the study. M.L., S.H., C.X. and H.W. designed the study. C.X. and H.W. collected and organized the data. C.X. and H.W. analyzed the data. C.X. and H.W. interpreted the results. C.X. wrote the first draft. M.L., S.H., C.X., H.W., W.Y., J.C., P.Z. and R.W. reviewed and edited this manuscript All authors contributed to the final draft and have approved the submitted version. The authors declare no competing interests. Supplementary Information The online version contains supplementary material available at https ://doi. org/10.1038/s4159 8-021-81100 -2.Correspondence and requests for materials should be addressed to M.L. or S.H.Reprints and permissions information is available at www.nature.com/reprints.Publisher's note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creat iveco mmons .org/licen ses/by/4.0/.