Original Paper
Abstract
Background: Internet-derived data and the autoregressive integrated moving average (ARIMA) and ARIMA with explanatory variable (ARIMAX) models are extensively used for infectious disease surveillance. However, the effectiveness of the Baidu search index (BSI) in predicting the incidence of scarlet fever remains uncertain.
Objective: Our objective was to investigate whether a low-cost BSI monitoring system could potentially function as a valuable complement to traditional scarlet fever surveillance in China.
Methods: ARIMA and ARIMAX models were developed to predict the incidence of scarlet fever in China using data from the National Health Commission of the People’s Republic of China between January 2011 and August 2022. The procedures included establishing a keyword database, keyword selection and filtering through Spearman rank correlation and cross-correlation analyses, construction of the scarlet fever comprehensive search index (CSI), modeling with the training sets, predicting with the testing sets, and comparing the prediction performances.
Results: The average monthly incidence of scarlet fever was 4462.17 (SD 3011.75) cases, and annual incidence exhibited an upward trend until 2019. The keyword database contained 52 keywords, but only 6 highly relevant ones were selected for modeling. A high Spearman rank correlation was observed between the scarlet fever reported cases and the scarlet fever CSI (rs=0.881). We developed the ARIMA(4,0,0)(0,1,2)(12) model, and the ARIMA(4,0,0)(0,1,2)(12) + CSI (Lag=0) and ARIMAX(1,0,2)(2,0,0)(12) models were combined with the BSI. The 3 models had a good fit and passed the residuals Ljung-Box test. The ARIMA(4,0,0)(0,1,2)(12), ARIMA(4,0,0)(0,1,2)(12) + CSI (Lag=0), and ARIMAX(1,0,2)(2,0,0)(12) models demonstrated favorable predictive capabilities, with mean absolute errors of 1692.16 (95% CI 584.88-2799.44), 1067.89 (95% CI 402.02-1733.76), and 639.75 (95% CI 188.12-1091.38), respectively; root mean squared errors of 2036.92 (95% CI 929.64-3144.20), 1224.92 (95% CI 559.04-1890.79), and 830.80 (95% CI 379.17-1282.43), respectively; and mean absolute percentage errors of 4.33% (95% CI 0.54%-8.13%), 3.36% (95% CI –0.24% to 6.96%), and 2.16% (95% CI –0.69% to 5.00%), respectively. The ARIMAX models outperformed the ARIMA models and had better prediction performances with smaller values.
Conclusions: This study demonstrated that the BSI can be used for the early warning and prediction of scarlet fever, serving as a valuable supplement to traditional surveillance systems.
doi:10.2196/49400
Keywords
Introduction
Scarlet fever is an acute respiratory contagious disease caused by group A Streptococcus pyogenes infection and is classified as a category B notifiable infectious disease in China [
]. It is a seasonal disease that typically occurs during winter and spring, and no vaccine is currently available for prevention. Carriers and patients with scarlet fever are the primary sources of infection, which occurs mainly through airborne droplets. The population is generally susceptible, with children and adolescents being particularly vulnerable [ ]. Clinical symptoms in infected patients are characterized by fever, pharyngitis, a diffuse bright red rash over the body, and skin flaking after the rash has disappeared [ , ]. The global incidence of scarlet fever has increased significantly since 2011, particularly in China, where a study has shown that the average annual incidence of scarlet fever between 2011 and 2016 was twice as high as that between 2004 and 2011 [ ]. The resurgence of scarlet fever has emerged as a significant global public health issue [ ]. Therefore, in order to comprehend the pattern and trend of scarlet fever outbreaks and facilitate the rational allocation of public health resources in China, a reliable prediction method is needed to identify the recent mode of the scarlet fever epidemic.Currently, the autoregressive integrated moving average (ARIMA) model is one of the most commonly used time series methods and is extensively used in the early warning of infectious diseases [
, - ]. The occurrence of scarlet fever exhibits seasonality and temporal correlation. The ARIMA model is capable of capturing such cyclic patterns and accounting for autocorrelation in time series data, thereby enhancing predictive precision. The emergence of disease is typically orchestrated by a confluence of diverse factors. By incorporating a multitude of exogenous variables, the ARIMA with explanatory variables (ARIMAX) model has shown enhanced capability in forecasting and delineating the progression of disease incidence [ ]. The applicability of the ARIMA model in scarlet fever forecasting and early warning has been substantiated in China [ ].An increasing number of individuals are inclined to search for health-related information on the internet before seeking medical services, opening up the potential for early disease surveillance by monitoring fluctuations in the frequency of specific search keywords [
]. Internet-derived data revealed substantial potential in the application of infectious disease surveillance worldwide [ , ]. Google’s influenza monitoring data became available 2 weeks before official announcements in the United States [ ]. In China, with over 904 million internet users, Baidu has the highest search engine market penetration and is used by over 90% of internet users, making it the most representative tool for measuring user behavior domestically [ ]. Furthermore, the Baidu search index (BSI) can visually depict the changing trends in keyword search popularity. Studies have indicated that the BSI can be used for the early warning and prediction of communicable diseases, such as dengue fever [ ], COVID-19 [ ], and syphilis [ ], in China.However, scarlet fever is relatively underreported compared to influenza, and it is still unknown whether the BSI can enhance the predictive and early warning capacity for scarlet fever. Therefore, we developed an ARIMA model with scarlet fever cases and multiple ARIMAX models incorporating the BSI to investigate whether a low-cost, internet-based monitoring system can effectively complement traditional scarlet fever surveillance in China and provide a scientific basis for formulating strategies and policies for the prevention and control of infectious diseases.
Methods
Ethical Considerations
Data were obtained from the public National Health Commission of the People’s Republic of China database [
] and the researchers did not have access to individual patient details. The medical research ethics committee of the Guangxi Medical University determined that this research did not require ethics approval according to the following Chinese law: Notice by the National Health Commission, the Ministry of Education, the Ministry of Science and Technology, and the National Administration of Traditional Chinese Medicine of Issuing the Measures for Ethical Review of Life Science and Medical Research Involving Human Being (No. 4 of the National Health Commission, 2023).Data Sources
Epidemiological Data for Scarlet Fever
This study used monthly reported data from the National Health Commission of the People’s Republic of China [
] covering 140 months from January 2011 to August 2022. The data is publicly available for research purposes, no personal information is involved, and the collection of monthly reported data has been fully completed.BSI Data
We obtained real-time search data and keywords for the same period from the BSI [
]. The keyword search index was based on the volume of information search queries conducted by Baidu search users and achieved through a corresponding calculation process. We collected data for relevant keywords spanning from January 2011 to August 2022 and converted them into monthly counts for subsequent analysis using Microsoft Excel 2019 (Microsoft Corporation).Keyword Selection and Analysis
Establishing a Keyword Database
The effectiveness of the model in predicting outbreaks using internet-derived data relies on selecting appropriate keywords for model fitting. Thus, selecting relevant keywords is crucial for ensuring accurate model fitting. Keywords related to scarlet fever with complete time series were collected using the following three approaches: (1) obtaining scarlet fever–related syndrome words using the ChinaZ website [
], (2) obtaining words related to scarlet fever according to the Baidu index demand map [ ], and (3) mining keywords using semantic analysis of scarlet fever through the Baidu encyclopedia [ ] and the Baidu health medical dictionary [ ]. Eventually, the keywords were divided into 4 categories in Microsoft Excel 2019, namely, scarlet fever comprehensive category, etiology, symptoms, and prevention and treatment [ - ].Keyword Exclusion Criteria
Keywords were excluded based on the following criteria: (1) keywords irrelevant to the epidemic or clinical information of scarlet fever, (2) keywords with a Spearman rank correlation (rs) <0.6 between scarlet fever reported cases and the BSI or P>.05 [
], and (3) keywords with a maximum cross-correlation coefficient <0.5 [ ]. The analyses were performed using SPSS 26.0 (IBM).Construction of the Comprehensive Search Index
After the correlation analysis, a scarlet fever comprehensive search index (CSI) [
, ] was calculated as follows:where k is potential time lag in months, n is the number of keywords contained in each time lag, ki is the Spearman correlation coefficient for keyword i with a specific time lag k, and weightki and keywordki are the keyword’s weight and BSI in a lag period, respectively.
Model Construction and Evaluation
Model Description
The ARIMA model is commonly used for forecasting the incidence of scarlet fever. Considering the time autocorrelation between the data points and the seasonal transmission pattern of scarlet fever, the model expression is ARIMA(p,d,q)(P,D,Q)(S) [
], where d and D represent the nonseasonal and seasonal difference orders, respectively; p and q represent the autoregressive and moving average orders, respectively; P and Q represent the seasonal autoregressive and moving average orders, respectively; and S is the period of the sequence [ ]. ARIMAX is a multivariable version of ARIMA that combined scarlet fever reported cases with the scarlet fever CSI, thus using the BSI as the external variable [ ]. The construction and evaluation of the model were performed using R 4.2.0 (R Foundation for Statistical Computing), following the described process.Stationarity Tests for Time Series
We plotted the time series of scarlet fever reported cases and the scarlet fever CSI to observe long-term trends from January 2011 to August 2022. The stationarity was tested using the augmented Dickey-Fuller (ADF) and Ljung-Box tests [
]. Nonstationary sequences were transformed into stationary sequences by difference and exponential transformation.Splitting the Training and Testing Sets
Based on the stationary sequences, we divided the scarlet fever reported cases and the CSI data into the training sets for model construction running from January 2011 to August 2021 and the testing sets for model prediction running from September 2021 to August 2022. To evaluate the impact of the COVID-19 pandemic on scarlet fever, we conducted a subgroup analysis with the training sets running from January 2011 to December 2018 and the testing sets running from January 2019 to August 2022.
Model Selection
We used the scarlet fever reported cases training set to construct the ARIMA model, and both the scarlet fever reported cases and CSI training sets for the ARIMAX model. We used the auto.arima function for automatic selection and manual selection through examination of the autocorrelation function (ACF) and partial autocorrelation function (PACF) plots. First, the ARIMA and ARIMAX models were based on the auto.arima function and the minimum Akaike information criterion (AIC). Next, the orders and ranges of the ARIMA model were determined based on the ACF and PACF plots. We performed multiple fittings and searched for the optimal ARIMA(p,d,q)(P,D,Q)(S) model using the minimum AIC [
]. Then, we plotted the cross-correlation function (CCF) plot between scarlet fever and the CSI to determine the appropriate lag order for the ARIMAX model [ ]. If the coefficient for a specific lag order exceeded 2 SD, the CSI at that lag order was considered correlated with scarlet fever. Finally, all models were tested using the least squares method (LSM; P<.05 indicated model estimation was significant) and parameter estimation (P<.05 indicated a statistically significant parameter). The model diagnosis was performed using the residuals Ljung-Box test (P>.05 indicated the model variables were independent) [ , ]. After passing the tests, the models proceeded to the prediction section.Evaluation of the Model Fit
The model fit was assessed using R2, AIC, root mean square error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE). A higher R2 value and lower values of the remaining variables indicated a better fit of the model.
Evaluation of the Model Prediction
The ARIMA and ARIMAX models were used for predicting the incidence of scarlet fever with the testing sets, and the predictions were compared to the actual incidence. We evaluated the model prediction effects through MAE, RMSE, and MAPE. Smaller values indicated better predictions. The flow chart of this study is shown in
. All tests were 2-sided, and P<.05 indicated significance.Results
Descriptive Analysis
From January 2011 to August 2022, the average monthly incidence of scarlet fever was 4462.17 (SD 3011.75) cases, with an annual incidence of 53,546.06 cases. The annual incidence of scarlet fever showed an upward trend until 2019, reaching a peak of 83,028 cases in 2019. The keyword database comprised 52 keywords categorized into the following categories: scarlet fever comprehensive category, etiology, symptoms, and prevention and treatment (
).Correlation Analysis Between the Baidu Search Index and Scarlet Fever
The results of the Spearman rank correlation analysis revealed a strong temporal correlation between 6 keywords from the BSI and scarlet fever reported cases (rs>0.6;
). The remaining keywords showed weak correlation or no statistical difference. Plotting the time series of high-correlation keywords, such as “猩红热症状 (symptoms of scarlet fever)” ( A) and “猩红热传染吗 (Is scarlet fever contagious?)” ( B), and comparing them with scarlet fever reported cases, the overall trends of the two keywords were consistent with the actual incidence.Keywordsa | rsb | P value | Search volume, mean (SD) |
猩红热传染吗 (Is scarlet fever contagious?) | 0.834 | <.001 | 182.197 (89.909) |
猩红热症状 (symptoms of scarlet fever) | 0.818 | <.001 | 565.129 (330.355) |
猩红热图片 (scarlet fever pictures) | 0.750 | <.001 | 235.494 (111.399) |
猩红热 (scarlet fever) | 0.746 | <.001 | 1482.185 (634.117) |
猩红热症状图片 (scarlet fever symptoms pictures) | 0.698 | <.001 | 77.723 (49.489) |
猩红热的症状 (scarlet fever symptoms) | 0.649 | <.001 | 92.044 (37.554) |
aKeywords were presented in a Chinese (English) format.
brs: Spearman rank correlation.
Cross-Correlation Analysis and the CSI
Cross-correlation analysis was performed between keywords with rs>0.6 and scarlet fever reported cases. We selected 6 keywords with a maximum cross-correlation coefficient >0.5 (P<.001) within the lag range (
). We calculated the weight of each keyword using a formula and used the weight to construct the scarlet fever CSI by aggregating the BSI of each keyword. Spearman rank correlation analysis showed a high correlation between scarlet fever reported cases and the scarlet fever CSI (rs=0.881).Keywordsa | Lag (months) | Maximum CCFb (SE) |
猩红热传染吗 (Is scarlet fever contagious?) | 0 | 0.813 (0.088) |
猩红热 (scarlet fever) | 0 | 0.827 (0.088) |
猩红热症状 (symptoms of scarlet fever) | 0 | 0.809 (0.088) |
猩红热图片 (scarlet fever pictures) | 0 | 0.729 (0.088) |
猩红热症状图片 (scarlet fever symptoms pictures) | 0 | 0.678 (0.088) |
猩红热的症状 (scarlet fever symptoms) | 0 | 0.614 (0.088) |
aKeywords were presented in a Chinese (English) format.
bCCF: cross-correlation function.
Model Construction and Prediction Evaluation
Stationarity Tests for Time Series
Plotting the time series of scarlet fever reported cases and the scarlet fever CSI from January 2011 to August 2022 showed irregular fluctuating patterns (
C). The stationarity was tested using the ADF and Ljung-Box tests. The results of the ADF test indicated that the time series of scarlet fever reported cases (P=.70) and the scarlet fever CSI (P=.90) were nonstationary; they were transformed into stationary series by first order differencing ( ), after which they passed the ADF test (P=.01). The 2 series were applied to construct and predict the incidence of scarlet fever based on the Ljung-Box test (P<.001).Model Selection
The models ARIMA(4,0,0)(0,1,1)(12) and ARIMAX(1,0,2)(2,0,0)(12) were constructed according to the auto.arima function and the AIC minimum principle.
The ACF and PACF plots of the stationary scarlet fever series showed that the ACF trailed off and the PACF was truncated at a lag of 4 months (
). The ACF plot exhibited a seasonal pattern with a period of 12 months, and the sequence was different by first order and passed the ADF (P=.01). Therefore, the parameters of the ARIMA model were p=4, q=0, d=0, D=1, and S=12. The model was fitted using different values for the parameters ranging from 0 to 2 in a stepwise manner from lower to higher orders [ ]. After conducting combination tests, the model ARIMA(4,0,0)(0,1,2)(12) was selected based on the minimum AIC of 1947.03, and the residuals conformed to a white noise sequence (χ2=0.145; P=.70).The CCF plot considered the mutual relationship within a lag of 12 months, revealing that the CSI at a lag of 0 months exhibited the strongest correlation with scarlet fever (
). The stationary time series of CSI at a lag of 0 months was used as the input sequence for constructing the ARIMA(4,0,0)(0,1,2)(12) + CSI (Lag=0) and ARIMA(4,0,0)(0,1,1)(12) + CSI (Lag=0) models. All the aforementioned models passed the LSM and the residuals Ljung-Box tests ( ). The results of the model parameter estimation are presented in . Although not every parameter exhibited significance, the estimated SEs of the parameters were relatively small, indicating minimal variability. Based on the minimum AIC principle and comprehensive evaluation of the fitting metrics ( ), we finally selected the ARIMA(4,0,0)(0,1,2)(12) (Model 1), ARIMA(4,0,0)(0,1,2)(12) + CSI (Lag=0) (Model 2), and ARIMAX(1,0,2)(2,0,0)(12) (Model 3) models for predictive analysis.Model | ADFa, P value | Diagnosis | Fit | ||||||||
LSMb, P value | Ljung-Box test | AICc | R2 | RMSEd | MAEe | MAPEf | |||||
Chi-square | P value | ||||||||||
ARIMA(4,0,0)(0,1,2)(12) | .01 | <.001 | 0.15 | .70 | 1947.03 | 0.87 | 924.6 | 626.44 | 709.00 | ||
ARIMA(4,0,0)(0,1,2)(12) + CSI (Lag=0) | .01 | <.001 | 0.01 | .94 | 1894.89 | 0.91 | 755.76 | 545.01 | 588.56 | ||
ARIMAX(1,0,2)(2,0,0)(12) | .01 | <.001 | 0.03 | .86 | 2083.73 | 0.90 | 815.90 | 635.43 | 508.98 | ||
ARIMA(4,0,0)(0,1,1)(12) | .01 | <.001 | 0.16 | .69 | 1950.43 | 0.85 | 1006.71 | 694.06 | 876.77 | ||
ARIMA(4,0,0)(0,1,1)(12) + CSI (Lag=0) | .01 | <.001 | 0.01 | .92 | 1893.99 | 0.91 | 779.49 | 563.22 | 643.87 |
aADF: augmented Dickey-Fuller.
bLSM: least squares method.
cAIC: Akaike information criterion.
dRMSE: root mean square error.
eMAE: mean absolute error.
fMAPE: mean absolute percentage error.
Model Fitting and Diagnosis
Model 1 (
A), Model 2 ( A), and Model 3 ( A) showed good fitting performances with well-matched fitted and true values. Residual checking was conducted for Model 1 ( B-E), Model 2 ( B-E), and Model 3 ( B-E). The inspection of the residuals revealed the following results: Q-Q plots showed that the residuals followed a normal distribution, residual plots fluctuated around 0, and ACF and PACF plots were almost within the 95% CI. These findings confirmed that the models were suitable for the prediction session.Model Prediction and Evaluation
The 3 models were used to forecast the incidence of scarlet fever with the testing sets. For Model 1 (
A), Model 2 ( A), and Model 3 ( A), the predicted and true values largely coincided, with the true values falling within the predicted interval. Comparing the performances of the models, the two ARIMAX models incorporating the BSI outperformed the ARIMA model, yielding lower MAE, RMSE, and MAPE values ( ).Model | MAEa (95% CI) | RMSEb (95% CI) | MAPEc, % (95% CI) |
ARIMA(4,0,0)(0,1,2)(12) | 1692.16 (584.88-2799.44) | 2036.92 (929.64-3144.20) | 4.33 (0.54-8.13) |
ARIMA(4,0,0)(0,1,2)(12) + CSI (Lag=0) | 1067.89 (402.02-1733.76) | 1224.92 (559.04-1890.79) | 3.36 (–0.24 to 6.96) |
ARIMAX(1,0,2)(2,0,0)(12) | 639.75 (188.12-1091.38) | 830.80 (379.17-1282.43) | 2.16 (–0.69 to 5.00) |
aMAE: mean absolute error.
bRMSE: root mean square error.
cMAPE: mean absolute percentage error.
Subgroup Analysis
In the original scarlet fever sequence, a significant decrease was noted in 2020. This decline may be attributed to the widespread outbreak of COVID-19, which could potentially have an impact on the model. To assess the impact of the pandemic on scarlet fever, models were constructed using training sets from 2011 to 2018. Subsequently, we predicted the incidence of scarlet fever in 2019, 2020, 2021, and from January to August 2022, then compared the predictions with the actual incidence. We employed a combination of the auto.arima function and ACF with PACF plots to construct the ARIMA(4,0,0)(2,1,0)(12) and ARIMAX(0,0,3)(1,0,0)(12) models based on the minimum AIC principle. The two models successfully passed the LSM (P<.001) and the residuals Ljung-Box (P=.93 and P=.87, respectively) tests. The fitting and predictive performances of the models are presented in
.The results indicated that the predictive performances of both models declined in 2020 compared to the other years. However, the ARIMAX models, which incorporated the BSI, exhibited enhanced predictive capabilities and partially alleviated the impact of the pandemic.
Discussion
Scarlet fever is highly prevalent among children aged 5-15 years. It was the primary cause of mortality among children in the 18th and 19th centuries [
]. This study revealed that, from 2011 to 2022, the monthly incidence of scarlet fever was 4462.17 (SD 3011.75) cases, with an annual incidence of 53,546.06 cases. The highest incidence was observed in 2019. Previous studies have demonstrated that scarlet fever underwent a global resurgence with a sharp rise in the United Kingdom, Germany, Korea, and China between 2011 and 2014 [ ]. Compared to the preoutbreak level, the annual incidence of scarlet fever doubled in China [ ], tripled in the United Kingdom [ ], and quadrupled in Korea [ ]. The resurgence of scarlet fever in China may be related to the rapid economic development, improved living standards, meteorological conditions, and genetic characteristics of the host population [ ]. The relaxation of the two-child and three-child policies has increased in the susceptible population. The largest study on scarlet fever conducted by Liu et al [ ] revealed that the elevated incidence of scarlet fever in northern China may be connected to the cold seasons, poor ventilation, and a gradual replacement of emm1 genotypes resulting in a reduction in cross-immunity. As scarlet fever is susceptible to previous cases, prioritizing the improvement of early warning and prediction systems is crucial. There is an urgent need to explore innovative monitoring methods.The outbreak of infectious diseases has significant health implications and noticeably impacts health care systems and economies. Certain contagious diseases have high transmission rates and various modes of spread, making them prone to causing widespread epidemics. Thus, it is imperative to promptly identify and implement measures to curb their proliferation from the early stages. Conventional disease surveillance is inherently characterized by a degree of latency, whereas internet-derived data has the potential to offer real-time information, thus enabling the faster detection of early indicators of disease outbreaks. Eysenbach et al [
] pioneered a significant precedent in using internet-derived data for disease surveillance. Studies indicated that the BSI can be employed in the early warning and prediction of infectious diseases [ , ]. Therefore, we identified 6 keywords associated with scarlet fever. Among these keywords, those that were highly correlated with scarlet fever, such as “symptoms of scarlet fever” and “Is scarlet fever contagious?”, exhibited consistent temporal trends with scarlet fever. Their search volumes changed in accordance with variations in the prevalence of scarlet fever. Spearman rank correlation revealed a strong positive association between the aggregated CSI and scarlet fever (rs=0.881), indicating that the BSI can effectively capture variations in scarlet fever epidemics.The ARIMA model features low computational complexity, is versatile across various data types, and offers high precision in short-term predicting. This study employed scarlet fever time series data to construct the ARIMA(4,0,0)(0,1,2)(12) model, and incorporated the BSI as an external variable to construct the ARIMAX(1,0,2)(2,0,0)(12) and ARIMA(4,0,0)(0,1,2)(12) + CSI (Lag=0) models. The 3 models exhibited favorable fitting performances, and the ARIMAX models demonstrated superior predictive performances, whether established based on ACF and PACF plots or using the auto.arima function. The results were consistent with those for brucellosis [
] and dengue fever [ ], demonstrating the effectiveness and predictive ability of the BSI in monitoring scarlet fever. The BSI provides real-time data that can be accessed promptly, monthly or even daily, whereas the data published by the Chinese official website often incurs delays of several months. These indicators may suggest an impending outbreak of scarlet fever when an unusual surge in vocabulary related to the disease is detected or when the predicted values computed by the model increase. Public health authorities can take proactive measures, prearrange prevention and control strategies, and allocate public health resources rationally.The COVID-19 outbreak posed an immense threat to human life and resulted in a worldwide pandemic. The original time series of scarlet fever revealed a substantial decrease in incidence in 2020, potentially influencing the performance of the model. Due to the overlapping symptoms of COVID-19 and scarlet fever, we conducted subgroup analyses to assess the epidemic’s impact and address potential variations. The results exhibited a decline in the model’s predictive performances in 2020, consistent with the findings from Ma et al [
]. This decline could be attributed to the containment measures that were implemented, which may have disrupted the transmission pathways of the disease. Moreover, the ARIMAX model, which integrated the BSI, exhibited superior predictive performances, providing additional evidence for the successful use of the BSI concerning scarlet fever.This study had several limitations. First, scarlet fever is influenced by a variety of factors, including meteorological conditions, sanitation, and population immunity. This study exclusively used the BSI for analysis, but other factors could be considered in future analyses. Second, internet-derived data is susceptible to the impact of media coverage, possibly resulting in the inclusion of inaccurate information [
]. Finally, Baidu search engines do not cover all internet users, and the keywords included in the BSI are not exhaustive. In the future, collaborative efforts with other search engines could be pursued to enhance the predictive capabilities of the model.In conclusion, the BSI can be used as a valuable supplement to traditional surveillance systems, providing early warning and prediction capabilities for scarlet fever. Furthermore, it presents novel perspectives and provides a theoretical foundation for the early identification and prediction of infectious diseases, thereby facilitating the timely implementation of public health intervention measures.
Acknowledgments
This research was supported by the National Natural Science Foundation of China (grants 82273694 and 82060366) and the Innovation Project of Guangxi Graduate Education (grant YCBZ2022098).
Authors' Contributions
TL conducted the formal analysis and writing (drafting and revising). JH, TL, and JZ contributed to the conception and design of the study and additional analysis. JY, YX, YW, HM, DL, and YY performed data collection and review and the primary analysis. PC, LY, and HL were involved in conceptualization and supervision. JH supervised the study and contributed to writing (review and comments). All authors critically revised and reviewed the manuscript and contributed to the final approved version.
Conflicts of Interest
None declared.
Correlation between monthly Baidu search index keywords and reported cases of scarlet fever from January 2011 to August 2022.
DOCX File , 23 KBStationary series plots after first order differencing.
PNG File , 122 KBThe CCF between scarlet fever and the comprehensive search index. Blue dashed lines indicate the 95% CI. CCF: cross-correlation function.
PNG File , 28 KBParameter estimation of candidate models.
DOCX File , 19 KBEvaluation of the model fit, diagnosis, and prediction. AIC: Akaike information criterion; LSM: least squares method; MAE: mean absolute error; RMSE: root mean square error; MAPE: mean absolute percentage error.
DOCX File , 14 KBReferences
- Scarlet fever. Nurs Stand. Apr 27, 2016;30(35):17. [CrossRef] [Medline]
- Ma Y, Gao S, Kang Z, Shan L, Jiao M, Li Y, et al. Epidemiological trend in scarlet fever incidence in China during the COVID-19 pandemic: a time series analysis. Front Public Health. 2022;10:923318. [FREE Full text] [CrossRef] [Medline]
- Wu WW, Li Q, Tian DC, Zhao H, Xia Y, Xiong Y, et al. Forecasting the monthly incidence of scarlet fever in Chongqing, China using the SARIMA model. Epidemiol Infect. Apr 21, 2022;150:e90. [FREE Full text] [CrossRef] [Medline]
- Wang Y, Xu C, Wang Z, Yuan J. Seasonality and trend prediction of scarlet fever incidence in mainland China from 2004 to 2018 using a hybrid SARIMA-NARX model. PeerJ. 2019;7:e6165. [FREE Full text] [CrossRef] [Medline]
- Liu Y, Chan T, Yap L, Luo Y, Xu W, Qin S, et al. Resurgence of scarlet fever in China: a 13-year population-based surveillance study. Lancet Infect Dis. Aug 2018;18(8):903-912. [FREE Full text] [CrossRef] [Medline]
- You Y, Davies MR, Protani M, McIntyre L, Walker MJ, Zhang J. Scarlet fever epidemic in China caused by Streptococcus pyogenes serotype M12: epidemiologic and molecular analysis. EBioMedicine. Feb 2018;28:128-135. [FREE Full text] [CrossRef] [Medline]
- Wang C, Li Y, Feng W, Liu K, Zhang S, Hu F, et al. Epidemiological features and forecast model analysis for the morbidity of influenza in Ningbo, China, 2006-2014. Int J Environ Res Public Health. May 25, 2017;14(6):559. [FREE Full text] [CrossRef] [Medline]
- Zhang H, Su K, Zhong X. Association between meteorological factors and mumps and models for prediction in Chongqing, China. Int J Environ Res Public Health. May 29, 2022;19(11):6625. [FREE Full text] [CrossRef] [Medline]
- de Araújo Morais LR, da Silva Gomes GS. Forecasting daily Covid-19 cases in the world with a hybrid ARIMA and neural network model. Appl Soft Comput. Sep 2022;126:109315. [FREE Full text] [CrossRef] [Medline]
- Jing QL, Cheng Q, Marshall JM, Hu WB, Yang ZC, Lu JH. Imported cases and minimum temperature drive dengue transmission in Guangzhou, China: evidence from ARIMAX model. Epidemiol Infect. Jul 2018;146(10):1226-1235. [FREE Full text] [CrossRef] [Medline]
- Liu K, Wang T, Yang Z, Huang X, Milinovich GJ, Lu Y, et al. Using Baidu search index to predict dengue outbreak in China. Sci Rep. Dec 01, 2016;6:38040. [FREE Full text] [CrossRef] [Medline]
- Yang Y, Tsao S, Basri M, Chen H, Butt Z. Digital disease surveillance for emerging infectious diseases: an early warning system using the internet and social media data for COVID-19 forecasting in Canada. Stud Health Technol Inform. May 18, 2023;302:861-865. [CrossRef] [Medline]
- Koplewitz G, Lu F, Clemente L, Buckee C, Santillana M. Predicting dengue incidence leveraging internet-based data sources. A case study in 20 cities in Brazil. PLoS Negl Trop Dis. Jan 2022;16(1):e0010071. [FREE Full text] [CrossRef] [Medline]
- Ginsberg J, Mohebbi MH, Patel RS, Brammer L, Smolinski MS, Brilliant L. Detecting influenza epidemics using search engine query data. Nature. Feb 19, 2009;457(7232):1012-1014. [CrossRef] [Medline]
- Tu B, Wei L, Jia Y, Qian J. Using Baidu search values to monitor and predict the confirmed cases of COVID-19 in China: - evidence from Baidu index. BMC Infect Dis. Jan 21, 2021;21(1):98. [FREE Full text] [CrossRef] [Medline]
- Huang R, Luo G, Duan Q, Zhang L, Zhang Q, Tang W, et al. Using Baidu search index to monitor and predict newly diagnosed cases of HIV/AIDS, syphilis and gonorrhea in China: estimates from a vector autoregressive (VAR) model. BMJ Open. Mar 24, 2020;10(3):e036098. [FREE Full text] [CrossRef] [Medline]
- National Health Commission of the People's Republic of China. URL: http://www.nhc.gov.cn/ [accessed 2023-04-20]
- Baidu search index. URL: https://index.baidu.com/ [accessed 2023-05-02]
- ChinaZ.com. URL: https://data.chinaz.com/ [accessed 2023-04-26]
- Baidu index demand map. URL: https://index.baidu.com/v2/main/index.html#/demand/ [accessed 2023-05-02]
- Baidu Encyclopedia. URL: https://baike.baidu.com/ [accessed 2023-04-29]
- Health medical code. Baidu. URL: https://jiankang.baidu.com/widescreen/home [accessed 2023-04-27]
- Yuan Q, Nsoesie EO, Lv B, Peng G, Chunara R, Brownstein JS. Monitoring influenza epidemics in China with search query from Baidu. PLoS One. 2013;8(5):e64323. [FREE Full text] [CrossRef] [Medline]
- Kang M, Zhong H, He J, Rutherford S, Yang F. Using Google Trends for influenza surveillance in South China. PLoS One. 2013;8(1):e55205. [FREE Full text] [CrossRef] [Medline]
- Hulth A, Rydevik G, Linde A. Web queries as a source for syndromic surveillance. PLoS One. 2009;4(2):e4378. [FREE Full text] [CrossRef] [Medline]
- Zhao C, Yang Y, Wu S, Wu W, Xue H, An K, et al. Search trends and prediction of human brucellosis using Baidu index data from 2011 to 2018 in China. Sci Rep. Apr 03, 2020;10(1):5896. [FREE Full text] [CrossRef] [Medline]
- Gu Y, Chen F, Liu T, Lv X, Shao Z, Lin H, et al. Early detection of an epidemic erythromelalgia outbreak using Baidu search data. Sci Rep. Jul 28, 2015;5:12649. [FREE Full text] [CrossRef] [Medline]
- Zhang R, Zhang Y. Modeling the effects of air pollutants and meteorological factors on scarlet fever in five provinces, Northwest China, 2013-2018. J Theor Biol. Jul 07, 2022;544:111134. [CrossRef] [Medline]
- Lamagni T, Guy R, Chand M, Henderson KL, Chalker V, Lewis J, et al. Resurgence of scarlet fever in England, 2014-16: a population-based surveillance study. Lancet Infect Dis. Feb 2018;18(2):180-187. [CrossRef] [Medline]
- Park DW, Kim S, Park JW, Kim M, Cho SJ, Park HJ, et al. Incidence and characteristics of scarlet fever, South Korea, 2008-2015. Emerg Infect Dis. Apr 2017;23(4):658-661. [FREE Full text] [CrossRef] [Medline]
- Li C, Liao R, Zhu W, Jiang G, Wang Y, Li L, et al. Spatiotemporal dynamics and potential ecological drivers of acute respiratory infectious diseases: an example of scarlet fever in Sichuan Province. BMC Public Health. Nov 21, 2022;22(1):2139. [FREE Full text] [CrossRef] [Medline]
- Eysenbach G. Infodemiology: tracking flu-related searches on the web for syndromic surveillance. AMIA Annu Symp Proc. 2006;2006:244-248. [FREE Full text] [Medline]
Abbreviations
ACF: autocorrelation function |
ADF: augmented Dickey-Fuller |
AIC: Akaike information criterion |
ARIMA: autoregressive integrated moving average |
ARIMAX: autoregressive integrated moving average with explanatory variable |
BSI: Baidu search index |
CCF: cross-correlation function |
CSI: comprehensive search index |
LSM: least squares method |
MAE: mean absolute error |
MAPE: mean absolute percentage error |
PACF: partial autocorrelation function |
RMSE: root mean square error |
Edited by A Mavragani; submitted 27.05.23; peer-reviewed by M Walker, M Khairulbahri, C Zhao, Y Wang; comments to author 25.07.23; revised version received 23.08.23; accepted 26.09.23; published 30.10.23.
Copyright©Tingyan Luo, Jie Zhou, Jing Yang, Yulan Xie, Yiru Wei, Huanzhuo Mai, Dongjia Lu, Yuecong Yang, Ping Cui, Li Ye, Hao Liang, Jiegang Huang. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 30.10.2023.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.