Original Paper
Abstract
Background: The SARS-COV-2 virus and its variants pose extraordinary challenges for public health worldwide. Timely and accurate forecasting of the COVID-19 epidemic is key to sustaining interventions and policies and efficient resource allocation. Internet-based data sources have shown great potential to supplement traditional infectious disease surveillance, and the combination of different Internet-based data sources has shown greater power to enhance epidemic forecasting accuracy than using a single Internet-based data source. However, existing methods incorporating multiple Internet-based data sources only used real-time data from these sources as exogenous inputs but did not take all the historical data into account. Moreover, the predictive power of different Internet-based data sources in providing early warning for COVID-19 outbreaks has not been fully explored.
Objective: The main aim of our study is to explore whether combining real-time and historical data from multiple Internet-based sources could improve the COVID-19 forecasting accuracy over the existing baseline models. A secondary aim is to explore the COVID-19 forecasting timeliness based on different Internet-based data sources.
Methods: We first used core terms and symptom-related keyword-based methods to extract COVID-19–related Internet-based data from December 21, 2019, to February 29, 2020. The Internet-based data we explored included 90,493,912 online news articles, 37,401,900 microblogs, and all the Baidu search query data during that period. We then proposed an autoregressive model with exogenous inputs, incorporating real-time and historical data from multiple Internet-based sources. Our proposed model was compared with baseline models, and all the models were tested during the first wave of COVID-19 epidemics in Hubei province and the rest of mainland China separately. We also used lagged Pearson correlations for COVID-19 forecasting timeliness analysis.
Results: Our proposed model achieved the highest accuracy in all 5 accuracy measures, compared with all the baseline models of both Hubei province and the rest of mainland China. In mainland China, except for Hubei, the COVID-19 epidemic forecasting accuracy differences between our proposed model (model i) and all the other baseline models were statistically significant (model 1, t198=–8.722, P<.001; model 2, t198=–5.000, P<.001, model 3, t198=–1.882, P=.06; model 4, t198=–4.644, P<.001; model 5, t198=–4.488, P<.001). In Hubei province, our proposed model's forecasting accuracy improved significantly compared with the baseline model using historical new confirmed COVID-19 case counts only (model 1, t198=–1.732, P=.09). Our results also showed that Internet-based sources could provide a 2- to 6-day earlier warning for COVID-19 outbreaks.
Conclusions: Our approach incorporating real-time and historical data from multiple Internet-based sources could improve forecasting accuracy for epidemics of COVID-19 and its variants, which may help improve public health agencies' interventions and resource allocation in mitigating and controlling new waves of COVID-19 or other relevant epidemics.
doi:10.2196/35266
Keywords
Introduction
COVID-19 poses extraordinary challenges for public health systems worldwide. As of November 26, 2021, COVID-19 had affected 222 countries and territories [
] and caused 259,502,031 confirmed cases, including 5,183,003 deaths worldwide [ ]. Moreover, variants of the COVID-19 virus led to further challenges for public health. After the highly contagious Alpha variant swept across Europe and the United States in early 2021, the Delta variant replaced Alpha and became the dominant COVID variant worldwide [ ]. The Delta variant is around 60% more transmissible than the Alpha variant, is moderately resistant to vaccines [ ], and caused a new wave of the COVID-19 epidemic in Europe in late 2021 [ , ]. Omicron, an even more worrying variant, was reported from South Africa on November 24, 2021; it is said to out-compete the Delta variant and has been identified in Botswana, Belgium, Hong Kong, and Israel [ , ]. More timely and accurate forecasting of the incidence of COVID-19 and its variants is key to improving the efficiency of resource allocation and timeliness of intervention policy implementation [ - ].Internet-based data sources, such as social media data (like microblogs), online news article data, and search query data, accumulate huge amounts of data all the time and have been proven to be an effective supplement to traditional infectious disease surveillance systems [
, ]. The underlying mechanism is that, before experiencing serious symptoms and going to a sentinel hospital, patients with symptoms may search for disease-related information on search engines like Google [ ], complain about disease-related symptoms on social media like microblogs [ ], or even share disease-related personal experiences on personal news articles platforms like instant articles [ ]. This gives Internet-based data the ability to provide early warning for disease outbreaks [ , ] or provide supplemental information to enhance epidemic forecasting accuracy [ , ]. For instance, Wilson and Brownstein [ ] retrieved official public health emergency–related online articles to support the early warning of Listeria outbreaks. Yang et al [ ] proposed an autoregression model with Google search query data (AGRO) to improve the forecasting accuracy for influenza epidemics [ ]. McGough et al [ ] produced an improved estimation for the Zika virus in Latin America with a 1-week lead time. They used a multivariable linear regression model, combining real-time search query data, social media data (Twitter), outbreak news report counts, and historical officially reported case counts [ ]. Internet-based data contain a large volume of unstructured text data [ ] accompanied by noise caused by linguistic errors or misinformation [ ]. To deal with Internet-based data, researchers have adopted a combination of methods, which include, but are not limited to, natural language processing, classification or clustering algorithms based on machine learning, and time-series models [ , , ].As COVID-19 has been and continues to be the most consequential infectious disease worldwide in this century, many researchers have used various Internet-based data sources to supplement COVID-19 surveillance [
, , ]. Like previous research on other infectious diseases, COVID-19 forecasting research based on Internet-based data focuses mainly on 2 aspects: improving forecasting accuracy and improving forecasting timeliness. To improve COVID-19 forecasting accuracy, Shen et al [ ] used the Granger causality test and showed that adding COVID-19 symptom–related microblogs could help enhance the COVID-19 predictive power. Liu et al [ ] adopted a multivariable model and showed that adding real-time search query data and news article data into the traditional COVID-19 forecasting model could lead to more accurate forecasting results. The combination of different Internet-based data sources has shown greater power to enhance the forecasting accuracy of infectious diseases (including COVID-19) than using a single Internet-based data source [ ]. However, existing methods incorporating more than one Internet-based data source used only real-time data from these sources as exogenous inputs but did not use historical data from all possible sources.As for improving COVID-19 forecasting timeliness, Yuan et al [
] examined the lagged correlation between COVID-19 symptoms and core term–related search queries and daily new COVID-19 cases in the United States. They found that COVID-19–related search queries could provide a 12- to 14-day earlier warning for COVID-19 epidemics [ ]. Similarly, Li et al [ ] [ ]proved that the Baidu search index and Weibo (social media platform similar to Twitter) index could both provide warning for COVID-19 outbreaks in China 8 days to 12 days earlier. However, the power of different Internet-based data sources to improve COVID-19 epidemic forecasting timeliness has not been fully explored [ ]. The length of early warning time that Internet-based data could provide is not consistent across studies, varying from 0 [ ] to 21 days [ ]. Moreover, even though unofficial online news articles have shown great potential in supplementing COVID-19 surveillance [ , , ], few studies have explored using unofficial online news articles to improve COVID-19 forecasting timeliness.Our study explored whether combining real-time and historical data from multiple Internet-based sources could improve COVID-19 forecasting accuracy over the existing baseline models. We also compared COVID-19 forecasting timelines based on different Internet-based data sources.
Methods
Data Collection and Processing
We focused on the first wave of the COVID-19 epidemic in mainland China and compiled data on daily new confirmed COVID-19 case counts, online news articles, microblogs, and search queries from various sources. Following a previous study [
], we collected data from mainland China, with separate analyses for Hubei province and the remaining provinces. The official laboratory-confirmed case counts in mainland China, except Hubei province, can be retrieved since January 19, 2020 [ ], while the official laboratory-confirmed case counts in Hubei province can be retrieved since January 10, 2020 [ ]. The max time lags we explored were 20 days, following the example from previous studies [ , ]. Thus, we traced the Internet-based sources to December 21, 2019. We chose the end of our study period as February 29, 2020, when the primary wave of the COVID-19 epidemic in China had passed and the new confirmed case number decreased to single figures [ ].Daily new confirmed COVID-19 case counts were collected from the Chinese Center for Disease Control and Prevention (China CDC) website [
], which started collecting data on January 16, 2020. Earlier counts in Hubei province between January 10, 2020, and January 16, 2020, were compiled based on reports from the Health Commission of Hubei Province [ ]. We then collected online news article data and microblog data from Sina Network Opinion Surveillance System (SNOSS) [ ], a commercially available web-based platform that collects various Internet-based data in mainland China. Search query data were collected from the Baidu Index website [ ]. We were the first to identify online news articles about COVID-19 and COVID-19–related microblogs using an approach based on COVID-19 core terms and symptom-related keywords. We also used COVID-19–related symptoms and core terms to extract COVID-19–related search queries, following a previous study [ ]. Detailed Internet-based data extraction and filtering methods are described in .Statistical Analysis
We first described the Internet-based data we retrieved and the COVID-19–related data we extracted. We then summarized all the COVID-19 forecasting-related data in 1 figure, including the fraction of online news articles and microblogs, search query counts, and lab-confirmed new case counts in mainland China, except Hubei, and Hubei province. All the data were normalized into an interval of 0 to 100 for better comparison. The figures aimed to show the Internet-based data sources’ potential to provide warnings for COVID-19 epidemics.
We also conducted lagged Pearson correlation analyses to evaluate the strength of relationships between different Internet-based data sources and daily new confirmed COVID-19 case counts. The max time lag explored was 20 days [
]. Because outliers can have a large influence on the Pearson correlation [ ], we replaced the outlier data in Hubei on February 12, 2020, with the average of the 2 nearest neighbors [ ]. A high correlation threshold of 0.7 was used, based on previous research [ ].Model Formulation
Following previous infectious disease surveillance research [
, , ], including COVID-19 forecasting research [ , ], we proposed an autoregressive model with exogenous inputs [ , ]. We used the proportion of daily new confirmed COVID-19 case counts as a dependent variable. For the proportions of daily new confirmed case counts bounded between 0 and 1, we used logit transformation on the variable to turn it into unbounded scores [ , , ]. The proportion was calculated by dividing the number of new confirmed COVID-19 case counts over the related population, which was based on the latest Chinese national population census [ ]. We then proposed our model by adding log-transformed COVID-19–related Internet-based data as exogenous inputs, including the fraction of online news article, microblogs, and search query counts. Let pt be the new confirmed COVID-19 case proportion. For days when pt = 0, we added a small positive number, λ, in the logit transformation. λ was calculated by dividing the square of the first quantile by the third quantile of all the proportions [ ]. Let yt = logit(pt+λ) be the logit-transformed new confirmed COVID-19 case proportion at day t. Let xt be the log-transformed fraction of COVID-19–related online news articles at day t, zt be the log-transformed fraction of COVID-19–related microblogs at day t, and st be the log-transformed COVID-19–related search volume at day t. We chose “fever” to represent search queries, for it showed the highest correlations with new confirmed COVID-19 counts.We proposed our autoregressive model with exogenous inputs, denoted as
Incorporating the real-time and historical data from online news articles, microblogs, and search query volume:
Where ai quantifies the contribution from the historical new confirmed COVID-19 case counts, bj quantifies the contribution from the historical fraction of COVID-19–related online news articles, ch quantifies the contribution from the historical fraction of COVID-19–related online news articles, dk quantifies the contribution from the historical COVID-19–related search queries, M is a binary variable that equals 1 when data are in Hubei and equals 0 when data are outside Hubei, f is a constant term, and ɛt is a vector of independent random disturbance. It is a time-varying binary variable that equals 1 on February 12, 2020, when Hubei adopted the fifth edition of the diagnostic criteria. It controls for the exogenous shock of case counts on that day [
]. lagNC, lagNews, lagMblog, and lagQuery ranged from 1 to 20 and were the optimal values that led to the highest forecasting accuracy (lowest root-mean-square error [RMSE]) for related baseline models described in the next paragraph using a single Internet-based data source (see Table S1 in for detailed lag selections).We considered 5 baseline models, including (1) AR(lagNC): autoregression model based on historical new confirmed COVID-19 case counts only [
, ], (2) AR(lagNC)+News(lagNews): autoregression model adding the fraction of COVID-19–related online news articles as an exogenous input [ ], (3) AR(lagNC)+Mblog(lagMblog): autoregression model adding the fraction of microblogs as an exogenous input [ ], (4) AR(lagNC)+Query(lagQuery): autoregression model adding search volume as an exogenous input [ ], and (5) AR(lagNC)+News(1)+Mblog(1)+Query(1): multivariable linear model adding the fraction of real-time online news articles, the fraction of microblogs, and search query volume into historical official COVID-19 report data [ , ] (see for detailed model formulations).Retrospective estimations of the daily proportion of confirmed COVID-19 counts were produced through the proposed model and baseline models. The estimation period was from January 19, 2020, to February 29, 2020, for mainland China, except for Hubei. For Hubei province, even though the official laboratory-confirmed COVID-19 cases can be retrieved since January 10, 2020, there was a severe lack of laboratory testing capacity at the beginning of this unexpected epidemic. Specifically, there were thousands of COVID-19–suspected cases that could not be confirmed due to the lack of testing capacity before January 27, 2020, and the daily test capacity in Hubei had to be extended 10 times on January 27, 2020 to address this issue [
]. The officially reported daily new confirmed COVID-19 case counts before January 27, 2020 reflected the testing capacity rather than the evolution of the epidemic. Thus, we tested the proposed model and other baseline models from January 27, 2020, to February 29, 2020, in Hubei.We used the variance inflation factor (VIF) to measure multicollinearity in the independent variables. A VIF over 4 indicates a moderate level of multicollinearity, and a VIF exceeding 10 shows severe multicollinearity [
]. A repeated k-fold cross-validation [ , ] was adopted to evaluate the proposed model and baseline models. In this study, we split the data into 10 folds and repeated the cross-validation procedure 10 times [ ]. We adopted the 5 most commonly used accuracy measures to compare the models’ forecasting results with the actual daily new confirmed COVID-19 case counts. The accuracy measures included the RMSE, mean absolute error (MAE), mean absolute percentage error (MAPE), correlation with forecasting target, and correlation of increment with forecasting target (the formulas for the accuracy indexes are presented in ) [ , ]. We conducted the analyses with the R version 4.0.2 statistical software package caret [ ] version 6.0-86 and DAAG [ ] version 1.24.Results
Internet-Based Data Statistics
Overall, we extracted 608,335 (out of 75,431,068) and 123,955 (out of 15,062,844) COVID-19–related online news articles for mainland China, except Hubei, and Hubei province separately, respectively. Unofficial online news articles accounted for about 92.8% (83,966,946/90,493,912) of all the news articles traced. We also identified 476,932 (out of 32,475,162) and 191,296 (out of 4,926,738) COVID-19–related microblogs posted in mainland China, except Hubei, and Hubei province, respectively. For the COVID-19–related search queries, we retrieved 24,165,139 queries in mainland China, except Hubei, and 988,402 related queries in Hubei province. The daily new confirmed COVID-19 case counts, the fraction of COVID-19–related online news articles, the fraction of COVID-19–related microblogs, and COVID-19–related search query counts are displayed in
and .shows that the first peak of daily confirmed COVID-19 case counts was reached on January 30, 2020, in provinces except Hubei. Compared with the official COVID-19 case counts, the peak in COVID-19–related online news articles was 2 days earlier (January 28, 2020), the peak in microblogs was 3 days earlier (January 27, 2020), and the peaks in search queries were 4 days to 7 days earlier (from January 23, 2020, to January 26, 2020).
shows that the highest peak of daily new confirmed COVID-19 case counts was reached on February 4, 2020, in Hubei province. Compared with the peak of official COVID-19 case counts, the peak in COVID-19–related online news articles was 12 days earlier (January 23, 2020), peak in microblogs was 13 days earlier (January 22, 2020), and peaks in search queries were 10 days to 12 days earlier (from January 23, 2020, to January 25, 2020). An outlier of incidence was found on February 12, 2020, when the new confirmed COVID-19 case counts increased dramatically as Hubei province started implementing the fifth edition of the COVID-19 diagnostic criteria. The new diagnostic criteria introduced more flexible diagnostic standards and turned many previously suspected cases into confirmed cases. This outlier could impact the forecasting accuracy and has been dealt with carefully in the model formulation and data analysis.
Lagged Pearson correlation analyses between different Internet-based data sources and daily new confirmed COVID-19 case counts were also conducted to illustrate the predictive power. The highest correlations for different sources with different time lags are summarized in
(see Tables S2 and S3 in for more details).shows that, in mainland China except Hubei, the highest correlation for online news articles was 0.619 with 2 days’ time lag, the highest correlation for microblogs was 0.613 with 2 days’ time lag, and the highest correlations for search queries ranged from 0.831 to 0.949 with time lags of 3 days to 6 days. In Hubei province, the highest correlation for online news articles was 0.667 with 14 days’ time lag, the highest correlation for microblogs was 0.632 with 7 days’ time lag, and the highest correlations for search queries ranged from 0.750 to 0.826 with time lags of 10 days to 12 days. Although the highest correlations for online news articles and microblogs were below the high correlation threshold (0.7), these correlations were all above 0.6, which was relatively high.
Source | Outside Hubei | Hubei | |||||
Highest correlation | P value | Days earlier | Highest correlation | P value | Days earlier | ||
News articles | 0.619 | <.001 | 2 | 0.667 | <.001 | 14 | |
Microblogs | 0.613 | <.001 | 2 | 0.632 | <.001 | 7 | |
Search for “fever” | 0.949 | <.001 | 4 | 0.826 | <.001 | 12 | |
Search for “dry cough” | 0.831 | <.001 | 6 | 0.775 | <.001 | 12 | |
Search for “chest distress” | 0.867 | <.001 | 3 | 0.806 | <.001 | 10 | |
Search for “pneumonia” | 0.854 | <.001 | 5 | 0.750 | <.001 | 11 | |
Search for “coronavirus” | 0.831 | <.001 | 6 | 0.765 | <.001 | 12 |
Model Evaluation
The forecasting results for our proposed model and baseline models are presented in
and . Optimal lags of different data sources, which result in the lowest RMSE for related baseline models incorporating a single Internet-based data source, are shown (see Table S1 in for the optimal lag selection). The last 2 columns show the paired t test results comparing our proposed model with the baseline models.Model (lag) | Model number | RMSEa | MAEb | MAPEc | Correlation | Incremental correlation | t198 | P value |
AR(7)+News(1)+ Mblog(10)+Query(1) | model i | 87.461 | 47.780 | 0.154 | 0.960 | 0.435 | N/Ad | N/A |
AR(7) | model 1 | 152.182 | 97.852 | 0.579 | 0.852 | 0.006 | –8.722 | <.001 |
AR(7)+News(1) | model 2 | 117.223 | 68.158 | 0.374 | 0.911 | 0.066 | –5.000 | <.001 |
AR(7)+Mblog(10) | model 3 | 93.754 | 51.375 | 0.185 | 0.948 | 0.403 | –1.882 | .06 |
AR(7)+Query(1) | model 4 | 138.724 | 85.024 | 0.421 | 0.905 | 0.168 | –4.644 | <.001 |
AR(7)+News(1)+ Mblog(1)+Query(1) | model 5 | 90.494 | 53.332 | 0.306 | 0.954 | 0.167 | –4.488 | <.001 |
aRMSE: root-mean-square error.
bMAE: mean absolute error.
cMAPE: mean absolute percentage error.
dN/A: not applicable.
Model (lag) (model no.) | Model number | RMSEa | MAEb | MAPEc | Correlation | Incremental correlation | t198 | P value |
AR(1)+News(3)+ Mblog(1)+Query(3) | model i | 325.216 | 225.620 | 0.168 | 0.990 | 0.984 | N/Ad | N/A |
AR(1) | model 1 | 658.238 | 403.665 | 0.267 | 0.963 | 0.958 | –1.732 | .09 |
AR(1)+News(2) | model 2 | 488.974 | 325.731 | 0.226 | 0.978 | 0.976 | –1.196 | .24 |
AR(1)+Mblog(1) | model 3 | 431.457 | 311.196 | 0.228 | 0.983 | 0.977 | –0.252 | .80 |
AR(1)+Query(3) | model 4 | 437.368 | 286.900 | 0.201 | 0.983 | 0.976 | –0.364 | .72 |
AR(1)+News(1)+ Mblog(1)+Query(1) | model 5 | 360.725 | 272.602 | 0.206 | 0.988 | 0.981 | –0.965 | .34 |
aRMSE: root-mean-square error.
bMAE: mean absolute error.
cMAPE: mean absolute percentage error.
dN/A: not applicable.
The results from the 5 accuracy measures were interpreted. The results in
and show that our proposed model (model i) achieved the highest accuracy in all 5 accuracy measures, compared with all the baseline models in both Hubei province and the rest of mainland China. Plots depicting forecasting results and estimation errors for the proposed model and baseline models are also shown in and .We then assessed the statistical significance of the forecasting accuracy improvement between different models based on paired t tests on the models’ RMSEs. For mainland China, except Hubei,
and show that our proposed model (model i) could significantly improve the forecasting accuracy, compared with all the other baseline models (model 1, t198=–8.722, P<.001; model 2, t198=–5.000, P<.001; model 3, t198=–1.882, P=.06; model 4, t198=–4.644, P<.001; model 5, t198=–4.488, P<.001). For Hubei province, and show our proposed model's (model i) forecasting accuracy improved significantly (at a significance level of .10) compared with the forecasting model using historical new confirmed COVID-19 case counts only (model 1, t198=–1.732, P=.09) and no significant differences compared with other baseline models (model 2, t198=–1.196, P=.24; model 3, t198=–0.252, P=.80; model 4, t198=–0.364, P=.72; model 5, t198=–0.965, P=.34). The forecasting accuracy differences between other baseline models using Internet-based data sources and model 1 are not significant (model 2, t198=–0.900, P=.37; model 3, t198=–1.630, P=.11; model 4, t198=–1.324, P=.19; model 5, t198=–0.786, P=.43).We also evaluated the practical significance of the forecasting models from the perspective of MAPE. For provinces outside Hubei of mainland China in
, our proposed model showed significant accuracy improvement. Specifically, our proposed forecasting model's unexplained error percentage was 15.4%, while the unexplained error percentages for the other models were as follows: forecasting model based on historical new confirmed COVID-19 case counts only (model 1), 57.9%; model incorporating COVID-19–related online news articles (model 2), 37.4%; model incorporating COVID-19–related microblogs (model 3), 18.5%; model incorporating COVID-19–related search queries (model 4), 42.1%; model combining real-time Internet-based sources into historical new COVID-19 case counts (model 5), 30.6%. Meanwhile, for Hubei province in , the improvement in accuracy with our proposed model was also nearly significant. The unexplained error percentage for our proposed model was 16.8%, while the unexplained error percentages for the other models were as follows: model 1, 26.7%; model 2, 22.6%; model 3, 22.8%; model 4, 20.1%; model 5, 20.6%.The collinearity diagnostics revealed that real-time social media data, online news articles, and search queries are independent of each other in supplementing COVID-19 surveillance. More detailed results and discussions are presented in
.Discussion
Principal Findings
The SARS-COV-2 virus and its variants pose extraordinary challenges for public health systems worldwide. More accurate forecasting of COVID-19 epidemics is key to improving the efficiency of resource allocation and the implementation of intervention policies [
, ]. Our proposed model innovatively incorporates both real-time and historical data from multiple Internet-based sources for COVID-19 epidemic forecasting. Tested during the first wave of the COVID-19 epidemic in mainland China, except Hubei, our proposed model showed statistically significant improved forecasting accuracy compared with the other baseline models. Tested in Hubei province, our proposed model outperformed all the baseline models in all 5 accuracy indexes, revealed significant practical influence, and showed statistically significant improved forecasting accuracy compared with baseline model 1 using the lab-confirmed case count only. Other baseline models incorporating different Internet-based data sources did not show significant differences compared with baseline model 1. This may be because people knew little of the disease at first and all talked online about the novel coronavirus pneumonia in Wuhan, Hubei, which could lead to disturbances in the Internet-based data sources [ ]. In this condition, a single Internet-based data source or real-time data only may not be able to improve the COVID-19 forecasting accuracy, and our proposed model shows the ability to mitigate the disturbance and enhance COVID-19 surveillance by combining real-time and historical data from multiple Internet-based data sources.This study also explored COVID-19 forecasting timeliness using different Internet-based data sources. Unlike previous studies that mainly focused on official online news articles, our study also took into account unofficial online news articles, which accounted for about 92.5% of all online news articles. The results show that COVID-19–related online news articles could provide a warning for the COVID-19 epidemic in mainland China, except Hubai, about 2 days earlier and in Hubai about 12 days to 14 days earlier. A similar early warning ability was also shown for microblogs and search queries. We found significant differences in the lag in an early warning for mainland China, except Hubei, and Hubei province, which may be caused by 2 reasons. First, Hubei experienced an extreme shortage of testing capacity in the beginning [
], which could have delayed the peak of lab-confirmed new case counts. Second, at the beginning of the first COVID-19 epidemic, people were curious about this unknown disease and tended to search or post related information even when they did not have associated symptoms [ ]. This could advance the corresponding peak in Internet-based sources. As of the time of this writing, people were familiar with COVID-19–related information, and Internet-based sources, including online news articles, are supposed to provide a 2- to 6-day early warning for COVID-19 outbreaks.Our study innovatively proposes core terms and symptom-related keyword-based approaches to extract COVID-19–related Internet-based data sources. The keyword-based approaches allow us to constantly and conveniently update the core terms and symptoms to keep up with the mutation of the COVID-19 virus. For example, people infected with the Delta variant are more likely to have a “runny nose,” “headache,” or “sore throat” and less likely to experience “loss of smell” [
]. Researchers then could focus more on the core term of “Delta variant” and the symptoms of “runny nose,” “headache,” and “sore throat” in online public data–based COVID-19 surveillance for this new round of epidemic in Europe [ ]. We thus argue that our proposed model could help governments better prepare and respond to a new wave of COVID-19 and its variants.Another interesting finding of our study is that the peak of daily new confirmed case counts in Hubei was reached on February 4, 2020, while the peak in the rest of mainland China was reached on January 30, 2020 (5 days earlier than Hubei Province). This finding was contrary to our common sense, for Hubei was the epicenter of the initial outbreak, and the rest of mainland China was influenced by this epidemic later. One possible reason for the delay of the COVID-19 epidemic peak in Hubei was the extreme shortage of medical resources at the beginning of the epidemic, including testing ability and hospital beds [
, ]. Many suspected cases could not be tested until the testing ability was extended 10 times on January 27 [ ]. And until 15 mobile cabin hospitals were built in early February 2020, many confirmed cases with no or mild symptoms had to be quarantined at home rather than stay in the hospital, which increased the risk of COVID-19 transmission [ ]. Different from Hubei, the rest of mainland China experienced a much smaller number of COVID-19 cases and had much more adequate medical resources [ ], which made it possible to test and quarantine all the COVID-19 suspected cases in time. Thus, even though the rest of mainland China was influenced by the COVID-19 epidemic later than Hubei province, it is possible that the rest of mainland China could control the disease and reach the peak of daily new confirmed case counts earlier than Hubei. Future research could explore the factors contributing to the delay or advance of the epidemic peaks.Overall, the results show that incorporating both real-time and historical data from multiple Internet-based sources into the COVID-19 forecasting model could significantly improve the forecasting accuracy, compared with other baseline models. Internet-based data sources, including online news articles, microblogs, and search queries, could provide early warning for COVID-19 outbreaks. These findings have broad public health implications. Internet-based data are timely, low-cost, and rich in information, making them critical in the surveillance of COVID-19 outbreaks. This application is even more important in rural areas, where the health infrastructure does not allow for widespread screening. COVID-19 surveillance using Internet-based data could provide much-needed information to help the government trace the outbreak and more effectively allocate resources, including testing capacity, oxygen cylinders, and hospital beds. Internet-based platforms allow users to capture detailed real-time snapshots of COVID-19–related events that happen to them or near them. As the COVID-19 virus continues to mutate, Internet-based sources with richer information have the potential to identify novel COVID-19 variants through deeper information analysis.
Limitations
There are several limitations and potential future directions of this study that we would like to mention. First, our study only used retrospective data from mainland China and did not test the proposed model in countries that are currently experiencing an epidemic of COVID-19 and its variants. This is mainly because of data accessibility. We could not find available databases or online platforms that allowed us to access a large volume of real-time and historical microblogs and unofficial online news articles in other countries. We encourage future work to use the proposed method in different countries to test its generalizability and robustness.
Second, our study did not incorporate machine learning methods in the data filtering process. In this study, we explored the full database of Internet-based sources in mainland China from the SNOSS and Baidu Search Index, where the raw data are not available for downloading and further analysis. Future research could apply advanced machine learning methods to the raw data of various Internet-based sources to achieve more accurate epidemic-related data extraction and deeper information analyses. For example, future research can use the support vector machine to help extract COVID-19–related online data [
] or use a topic modeling algorithm to generate major themes about the COVID-19 epidemic [ ]. Deeper content analyses could help identify real-time characteristics of the COVID-19 epidemic, which may act as early warning signals for new emerging COVID-19 variants or other epidemics.Finally, our study mainly used symptom- and core term–related keywords to extract COVID-19–related Internet-based data, which has been proven to provide the most accurate predictions compared with other types of keywords [
, ]. Our underlying assumption is that, before getting severe symptoms and going to a sentinel hospital, patients with mild symptoms would likely search for or post COVID-19–related symptoms or core terms online. Our Internet-based method could identify patients with COVID-19 symptoms but lose sight of patients in the incubation period with no symptoms, which meant our method could only provide warning 2 days to 6 days earlier for the epidemic outbreaks. As our study’s major aim was to improve the COVID-19 forecasting accuracy, we did not explore new methods to improve the forecasting timeliness of Internet-based data in our study. We call for future studies to explore novel Internet-based sources, like traffic data and weather [ , ], to help improve the forecasting timeliness for COVID-19 epidemics.Conclusions
COVID-19 and its variants have been and continue to be a major public health threat worldwide. COVID-19 core term– and symptom-related Internet-based data could provide invaluable warning signals to the public and supplement existing COVID-19 surveillance systems. This study showed that our proposed COVID-19 forecasting method, incorporating both real-time and historical data from multiple Internet-based sources, could significantly improve the forecasting accuracy compared with other baseline models. Our results also show that Internet-based sources, including online news articles, could provide a warning 2 days to 6 days earlier for COVID-19 outbreaks.
Acknowledgments
JL would like to acknowledge the partial grant support for the research (71731009, 72061127002, 92146005). WH would also like to acknowledge the partial grant support (2018WZDXM020, 71722014, 71732006, 91546119). CLS would also like to acknowledge the partial grant support (Hong Kong’s RGC-GRF grant 9042571 and CityU 11504417). This research was also partially supported by Shenzhen Key Research Base in Arts & Social Sciences and the National Laboratory of Mechanical Manufacture Systems Engineering, Xi’an Jiaotong University.
Conflicts of Interest
None declared.
Detailed descriptions of the Internet-based data extraction and filtering methods.
DOCX File , 28 KB
Supplementary tables.
DOCX File , 37 KB
Descriptions and formulations of baseline models.
DOCX File , 19 KB
Accuracy indexes.
DOCX File , 13 KB
Collinearity diagnostics.
DOCX File , 23 KBReferences
- COVID-19 Weekly Epidemiological Update. World Health Organization. 2021 Jan 31. URL: https://www.who.int/docs/default-source/coronaviruse/situation-reports/20210202_weekly_epi_update_25.pdf [accessed 2022-06-07]
- Coronavirus (COVID-19) Dashboard. World Health Organization. URL: https://covid19.who.int/ [accessed 2022-06-07]
- Lovelace B. WHO says delta is the fastest and fittest Covid variant and will "pick off" most vulnerable. CNBC. 2021 Jun 23. URL: https://www.cnbc.com/2021/06/21/covid-delta-who-says-variant-is-the-fastest-and-fittest-and-will-pick-off-most-vulnerable-.html [accessed 2022-06-07]
- Callaway E. Delta coronavirus variant: scientists brace for impact. Nature 2021 Jul 22;595(7865):17-18. [CrossRef] [Medline]
- Delta coronavirus variant has spread to 185 countries, says WHO. Business Standard. 2021 Sep 22. URL: https://tinyurl.com/msfw9ts [accessed 2022-06-07]
- Covid: WHO says it is very worried about Europe surge. BBC. 2021 Nov 20. URL: https://www.bbc.com/news/world-europe-59358074 [accessed 2022-06-07]
- What we know about the new omicron COVID-19 variant. The Japan Times. 2021 Nov 27. URL: https://www.japantimes.co.jp/news/2021/11/27/world/covid-variant-omicron-explainer/ [accessed 2022-06-07]
- Covid: New variant classed 'of concern' and named Omicron. BBC. 2021 Nov 27. URL: https://www.bbc.com/news/world-59438723 [accessed 2022-06-07]
- Yousefinaghani S, Dara R, Mubareka S, Sharif S. Prediction of COVID-19 waves using social media and Google search: a case study of the US and Canada. Front Public Health 2021;9:656635 [FREE Full text] [CrossRef] [Medline]
- Yuan X, Xu J, Hussain S, Wang H, Gao N, Zhang L. Trends and prediction in daily new cases and deaths of COVID-19 in the United States: an internet search-interest based model. Explor Res Hypothesis Med 2020 Apr 18;5(2):1-6 [FREE Full text] [CrossRef] [Medline]
- Liu D, Clemente L, Poirier C, Ding X, Chinazzi M, Davis J, et al. Real-time forecasting of the COVID-19 outbreak in Chinese provinces: machine learning approach using novel digital data and estimates from mechanistic models. J Med Internet Res 2020 Aug 17;22(8):e20285 [FREE Full text] [CrossRef] [Medline]
- Gupta A, Katarya R. Social media based surveillance systems for healthcare using machine learning: A systematic review. J Biomed Inform 2020 Aug;108:103500 [FREE Full text] [CrossRef] [Medline]
- Fung IC, Tse ZTH, Cheung C, Miu AS, Fu K. Ebola and the social media. Lancet 2014 Dec 20;384(9961):2207. [CrossRef] [Medline]
- Yang S, Santillana M, Kou SC. Accurate estimation of influenza epidemics using Google search data via ARGO. Proc Natl Acad Sci U S A 2015 Nov 24;112(47):14473-14478 [FREE Full text] [CrossRef] [Medline]
- Achrekar H, Gandhe A, Lazarus R, Yu SH, Liu B. Twitter Improves Seasonal Influenza Prediction. 2012 Presented at: International Conference on Health Informatics - HEALTHINF; February 1-4, 2012; Vilamoura, Algarve, Portugal p. 61-70. [CrossRef]
- Li J, Sia C, Chen Z, Huang W. Enhancing influenza epidemics forecasting accuracy in China with both official and unofficial online news articles, 2019-2020. Int J Environ Res Public Health 2021 Jun 18;18(12):6591 [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 2009 Feb 19;457(7232):1012-1014. [CrossRef] [Medline]
- Yan S, Chughtai A, Macintyre C. Utility and potential of rapid epidemic intelligence from internet-based sources. Int J Infect Dis 2017 Oct;63:77-87 [FREE Full text] [CrossRef] [Medline]
- Wilson K, Brownstein JS. Early detection of disease outbreaks using the Internet. CMAJ 2009 Apr 14;180(8):829-831 [FREE Full text] [CrossRef] [Medline]
- McGough SF, Brownstein JS, Hawkins JB, Santillana M. Forecasting Zika incidence in the 2016 Latin America outbreak combining traditional disease surveillance with search, social media, and news report data. PLoS Negl Trop Dis 2017 Jan;11(1):e0005295 [FREE Full text] [CrossRef] [Medline]
- Liu N, Chen Z, Bao G. Role of media coverage in mitigating COVID-19 transmission: Evidence from China. Technol Forecast Soc Change 2021 Feb;163:120435 [FREE Full text] [CrossRef] [Medline]
- Bridgman A, Merkley E, Loewen PJ, Owen T, Ruths D, Teichmann L, et al. The causes and consequences of COVID-19 misperceptions: Understanding the role of news and social media. HKS Misinfo Review 2020 Jun 18:1. [CrossRef]
- Chen Z, Cho S, Poudyal N, Roberts RK. Forecasting housing prices under different market segmentation assumptions. Urban Studies 2009 Jan 01;46(1):167-187. [CrossRef]
- Ardabili SF, Mosavi A, Ghamisi P, Ferdinand F, Varkonyi-Koczy AR, Reuter U, et al. COVID-19 outbreak prediction with machine learning. Algorithms 2020 Oct 01;13(10):249. [CrossRef]
- Lee J, Kwan Y, Lee JY, Shin JI, Lee KH, Hong SH, et al. Public interest in immunity and the justification for intervention in the early stages of the COVID-19 pandemic: analysis of Google trends data. J Med Internet Res 2021 Jun 18;23(6):e26368 [FREE Full text] [CrossRef] [Medline]
- Shen C, Chen A, Luo C, Zhang J, Feng B, Liao W. Using reports of symptoms and diagnoses on social media to predict COVID-19 case counts in mainland China: observational infoveillance study. J Med Internet Res 2020 May 28;22(5):e19421 [FREE Full text] [CrossRef] [Medline]
- Li C, Chen LJ, Chen X, Zhang M, Pang CP, Chen H. Retrospective analysis of the possibility of predicting the COVID-19 outbreak from Internet searches and social media data, China, 2020. Euro Surveill 2020 Mar;25(10):1 [FREE Full text] [CrossRef] [Medline]
- Effenberger M, Kronbichler A, Shin JI, Mayer G, Tilg H, Perco P. Association of the COVID-19 pandemic with Internet search volumes: a Google trends analysis. Int J Infect Dis 2020 Jun;95:192-197 [FREE Full text] [CrossRef] [Medline]
- Venkatesh U, Gandhi PA. Prediction of COVID-19 outbreaks using Google trends in India: a retrospective analysis. Healthc Inform Res 2020 Jul;26(3):175-184 [FREE Full text] [CrossRef] [Medline]
- Valentin S, Mercier A, Lancelot R, Roche M, Arsevska E. Monitoring online media reports for early detection of unknown diseases: Insight from a retrospective study of COVID-19 emergence. Transbound Emerg Dis 2021 May;68(3):981-986 [FREE Full text] [CrossRef] [Medline]
- Gu J, Wu Y, Xu Y. Linguistic Feature and Temporal Pattern of User-Generated News: Evidence from an Online News Portal in China. 2018 Jun Presented at: PACIS 2018; June 26-30, 2018; Yokohama, Japan p. 19 URL: https://aisel.aisnet.org/pacis2018/19
- COVID-19 Epidemic Dynamics. Chinese Center for Disease Control and Prevention. URL: http://www.chinacdc.cn/jkzt/crb/zl/szkb_11803/jszl_11809/ [accessed 2022-06-07]
- News. Health Commission of Hubei Province. URL: http://wjw.hubei.gov.cn/bmdt/dtyw/ [accessed 2022-06-07]
- Sina Network Opinion Surveillance System. URL: https://yqt.mdata.net/ [accessed 2022-06-07]
- Baidu Index. URL: http://index.baidu.com/ [accessed 2022-06-07]
- Qin L, Sun Q, Wang Y, Wu K, Chen M, Shia B, et al. Prediction of number of cases of 2019 novel coronavirus (COVID-19) using social media search index. Int J Environ Res Public Health 2020 Mar 31;17(7):2365 [FREE Full text] [CrossRef] [Medline]
- Goodwin LD, Leech NL. Understanding correlation: factors that affect the size of r. The Journal of Experimental Education 2006 Apr;74(3):249-266. [CrossRef]
- Beretta L, Santaniello A. Nearest neighbor imputation algorithms: a critical evaluation. BMC Med Inform Decis Mak 2016 Jul 25;16 Suppl 3:74 [FREE Full text] [CrossRef] [Medline]
- Hswen Y, Brownstein JS, Liu J, Hawkins JB. Use of a digital health application for influenza surveillance in China. Am J Public Health 2017 Jul;107(7):1130-1136. [CrossRef] [Medline]
- Zou H, Yang Y. Combining time series models for forecasting. International Journal of Forecasting 2004 Jan;20(1):69-84. [CrossRef]
- Simpkins A. System Identification: Theory for the User, 2nd Edition (Ljung, L.; 1999) [On the Shelf]. IEEE Robot. Automat. Mag 2012 Jun;19(2):95-96. [CrossRef]
- Lesaffre E, Rizopoulos D, Tsonaka R. The logistic transform for bounded outcome scores. Biostatistics 2007 Jan 05;8(1):72-85. [CrossRef] [Medline]
- Seventh National Population Census. National Bureau of Statistics. URL: http://www.stats.gov.cn/ztjc/zdtjgz/zgrkpc/dqcrkpc/ [accessed 2022-06-07]
- Stahel W. Statistische datenanalyseine einführung für naturwissenschaftler. Braunschweig, Germany: Springer Vieweg Verlag; 2002.
- Wuhan: Daily Testing Ability Raising From 200 to 2000. Health Commission of Hubei Province. 2020 Jan 29. URL: http://wjw.hubei.gov.cn/bmdt/ztzl/fkxxgzbdgrfyyq/fkdt/202001/t20200129_2016053.shtml [accessed 2022-06-07]
- O’brien RM. A caution regarding rules of thumb for variance inflation factors. Qual Quant 2007 Mar 13;41(5):673-690. [CrossRef]
- James G, Witten D, Hastie T, Tibshirani R. An Introduction to Statistical Learning with Applications in R. New York, NY: Springer; 2013.
- Ayyoubzadeh SM, Ayyoubzadeh SM, Zahedi H, Ahmadi M, R Niakan Kalhori S. Predicting COVID-19 incidence through analysis of Google trends data in Iran: data mining and deep learning pilot study. JMIR Public Health Surveill 2020 Apr 14;6(2):e18828 [FREE Full text] [CrossRef] [Medline]
- Chen Z, Yang Y. Assessing Forecast Accuracy Measures. 2004 Mar 14. URL: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.69.1016&rep=rep1&type=pdf [accessed 2022-06-07]
- Kuhn M. Building predictive models in R using the caret package. J. Stat. Soft 2008;28(5):1. [CrossRef]
- Maindonald JH, Braun WJ. DAAG: Data Analysis and Graphics Data and Functions. Cran R. 2015. URL: https://cran.r-project.org/package=DAAG [accessed 2022-06-07]
- Lazer D, Kennedy R, King G, Vespignani A. Big data. The parable of Google Flu: traps in big data analysis. Science 2014 Mar 14;343(6176):1203-1205. [CrossRef] [Medline]
- Katella K. 5 Things To Know About the Delta Variant. Yale Medicine. 2022 Mar 01. URL: https://www.yalemedicine.org/news/5-things-to-know-delta-variant-covid [accessed 2022-06-07]
- A total of 16 mobile cabin hospitals have been built and 15 have been put into operation in Wuhan. SOHU. 2020 May 14. URL: https://www.sohu.com/a/395142180_118392 [accessed 2022-06-07]
- Broniatowski DA, Paul MJ, Dredze M. National and local influenza surveillance through Twitter: an analysis of the 2012-2013 influenza epidemic. PLoS One 2013;8(12):e83672 [FREE Full text] [CrossRef] [Medline]
- Fu K, Liang H, Saroha N, Tse ZTH, Ip P, Fung IC. How people react to Zika virus outbreaks on Twitter? A computational content analysis. Am J Infect Control 2016 Dec 01;44(12):1700-1702. [CrossRef] [Medline]
- Wang Q, Huang W, Kou B. Examining the relationships between air pollutants and the incidence of acute aortic dissection with electronic medical data in a moderately polluted area of Northwest China. Inquiry 2021 Dec 28;58:469580211065691 [FREE Full text] [CrossRef] [Medline]
Abbreviations
CDC: Center for Disease Control and Prevention |
MAE: mean absolute error |
MAPE: mean absolute percentage error |
RMSE: root-mean-squared error |
SNOSS: Sina Network Opinion Surveillance System |
VIF: variance inflation factor |
Edited by T Sanchez, A Mavragani; submitted 29.11.21; peer-reviewed by C Wen, C Luo; comments to author 22.01.22; revised version received 12.02.22; accepted 03.05.22; published 16.06.22
Copyright©Jingwei Li, Wei Huang, Choon Ling Sia, Zhuo Chen, Tailai Wu, Qingnan Wang. Originally published in JMIR Public Health and Surveillance (https://publichealth.jmir.org), 16.06.2022.
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 JMIR Public Health and Surveillance, is properly cited. The complete bibliographic information, a link to the original publication on https://publichealth.jmir.org, as well as this copyright and license information must be included.