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. doi: 10.2196/18828.

Abstract

Background: The recent global outbreak of coronavirus disease (COVID-19) is affecting many countries worldwide. Iran is one of the top 10 most affected countries. Search engines provide useful data from populations, and these data might be useful to analyze epidemics. Utilizing data mining methods on electronic resources' data might provide a better insight into the COVID-19 outbreak to manage the health crisis in each country and worldwide.

Objective: This study aimed to predict the incidence of COVID-19 in Iran.

Methods: Data were obtained from the Google Trends website. Linear regression and long short-term memory (LSTM) models were used to estimate the number of positive COVID-19 cases. All models were evaluated using 10-fold cross-validation, and root mean square error (RMSE) was used as the performance metric.

Results: The linear regression model predicted the incidence with an RMSE of 7.562 (SD 6.492). The most effective factors besides previous day incidence included the search frequency of handwashing, hand sanitizer, and antiseptic topics. The RMSE of the LSTM model was 27.187 (SD 20.705).

Conclusions: Data mining algorithms can be employed to predict trends of outbreaks. This prediction might support policymakers and health care managers to plan and allocate health care resources accordingly.

Keywords: COVID-19; Google Trends; LSTM; coronavirus; incidence; linear regression; outbreak; pandemic; prediction; public health.

MeSH terms

  • Betacoronavirus
  • COVID-19
  • Coronavirus Infections / epidemiology*
  • Coronavirus*
  • Data Mining*
  • Deep Learning*
  • Disease Outbreaks
  • Female
  • Humans
  • Incidence
  • Iran / epidemiology
  • Male
  • Pandemics
  • Pilot Projects
  • Pneumonia, Viral / epidemiology*
  • Risk Factors
  • SARS-CoV-2
  • Search Engine / trends*