Published on in Vol 22, No 9 (2020): September

Preprints (earlier versions) of this paper are available at https://preprints.jmir.org/preprint/22181, first published .
Increased Internet Searches for Insomnia as an Indicator of Global Mental Health During the COVID-19 Pandemic: Multinational Longitudinal Study

Increased Internet Searches for Insomnia as an Indicator of Global Mental Health During the COVID-19 Pandemic: Multinational Longitudinal Study

Increased Internet Searches for Insomnia as an Indicator of Global Mental Health During the COVID-19 Pandemic: Multinational Longitudinal Study

Original Paper

1Institute of Population Health Sciences, National Health Research Institutes, Miaoli County, Taiwan

2Institute of Health Behaviors and Community Sciences, College of Public Health, National Taiwan University, Taipei, Taiwan

3Department of Psychiatry, National Taiwan University Hospital, Taipei, Taiwan

4Department of Psychiatry, College of Medicine, National Taiwan University, Taipei, Taiwan

Corresponding Author:

Yu-Hsuan Lin, MD, PhD

Institute of Population Health Sciences

National Health Research Institutes

Room A3234, No 35 Keyan Road, Zhunan Town

Miaoli County, 35053

Taiwan

Phone: 1 886 37206166 ext 36383

Email: yuhsuanlin@nhri.edu.tw


Background: Real-time global mental health surveillance is urgently needed for tracking the long-term impact of the COVID-19 pandemic.

Objective: This study aimed to use Google Trends data to investigate the impact of the pandemic on global mental health by analyzing three keywords indicative of mental distress: “insomnia,” “depression,” and “suicide.”

Methods: We examined increases in search queries for 19 countries. Significant increases were defined as the actual daily search value (from March 20 to April 19, 2020) being higher than the 95% CIs of the forecast from the 3-month baseline via ARIMA (autoregressive integrated moving average) modeling. We examined the correlation between increases in COVID-19–related deaths and the number of days with significant increases in search volumes for insomnia, depression, and suicide across multiple nations.

Results: The countries with the greatest increases in searches for insomnia were Iran, Spain, the United States, and Italy; these countries exhibited a significant increase in insomnia searches on more than 10 of the 31 days observed. The number of COVID-19–related deaths was positively correlated to the number of days with an increase in searches for insomnia in the 19 countries (ρ=0.64, P=.003). By contrast, there was no significant correlation between the number of deaths and increases in searches for depression (ρ=–0.12, P=.63) or suicide (ρ=–0.07, P=.79).

Conclusions: Our analysis suggests that insomnia could be a part of routine mental health screening during the COVID-19 pandemic.

J Med Internet Res 2020;22(9):e22181

doi:10.2196/22181

Keywords



The COVID-19 pandemic is the largest global public health challenge of this century. The number of confirmed COVID-19 cases and deaths have been growing exponentially, with over 355,688 deaths and 5,695,115 people infected worldwide, as of May 28, 2020 [1]. In mid-March, countries with the highest prevalence of COVID-19 cases imposed lockdown policies, such as social distancing, bans on nonessential travel, and the temporary closure of almost all businesses, facilities, and places of religious and other gathering, including funerals. There are concerns that the pandemic and the secondary consequences of the public health response, such as lockdowns and social distancing, may adversely affect mental health. In addition, in the absence of a vaccine or effective treatment, fear of COVID-19 and increased experience of bereavement have left more people vulnerable to mental health problems, such as insomnia, anxiety, depression, posttraumatic stress, and suicide. The World Health Organization (WHO) has recognized the importance of considering population-level psychological well-being and mental health during the COVID-19 pandemic [2].

Surveys on COVID-19–related mental health have been mostly based on self-reported, cross-sectional studies. Most of these surveys investigated a single country; multinational studies have been scarce [3]. Only one study, with a repeated cross-sectional design, has monitored changes in a population’s mental health throughout the course of the pandemic [4], but there was no longitudinal follow-up survey. Therefore, current research still does not provide a strong basis for national mental health strategies. However, mental distress can be reflected in Google searches. For example, Google searches for flu symptoms have been found to be real-time indicators of influenza outbreaks [5]. Google Trends has been used previously for population mental health surveillance, and for longitudinal tracking to identify potential risk factors of depression [6] and suicide [7]. In a global crisis like the COVID-19 pandemic, real-time global mental health surveillance is urgently needed for tracking the long-term impact.

This study hypothesized that increases in search terms related to mental health might correspond to the prevalence of COVID-19 in different countries. We aimed to use Google Trends data to investigate the impact of the pandemic on populations’ mental health, as indexed by changes in search frequency for three keywords indicative of mental distress: insomnia, depression, and suicide. We delineate a 4-month time course and focus on the period from March 20 to April 19, 2020, to evaluate search behaviors related to insomnia, depression, and suicide in response to a nation’s level of COVID-19 transmission.


Study Design

Using Google Trends data, we obtained search trends including “insomnia,” “depression,” and “suicide” from December 20, 2019, to April 19, 2020, as a surrogate for the general population’s mental health status in 19 countries with differing rates of COVID-19 prevalence. We confirmed the translation of the three terms into the local languages of the 19 countries by using translations from both Chinese and English, with back-translation on Google Translate.

Google Trends does not provide information on the absolute numbers of searches. Instead it provides a relative search value to display search activity for a given term according to a specific period, time, and area. Each data point is divided by the total searches of the geography and time range it represents to compare relative popularity. This value is scaled from 0 to 100. A value of 100 is the peak popularity of the term, while a value of 50 means that the term is half as popular in a given time period/area with search volumes for the days given relative to this.

We examined daily searches from March 20 to April 19, using this period since most countries enforced lockdowns in mid-March, to compare observed search volumes with expected search volumes from the 3-month baseline. The 3-month baseline period from December 20, 2019, to March 20, 2020, included two sentinel events: (1) on January 20, Chinese health authorities announced the human-to-human transmission of COVID-19, (ie, the first baseline month prior to any widespread knowledge of the disease worldwide); and (2) on February 20, the number of cases of COVID-19 outside China started to increase rapidly (no countries other than China had accumulated more than 100 cases of COVID-19 prior to February 19). The 3-month baseline time window was selected to inform our prediction since a longer time window could be contaminated by other past relevant events.

Increased Search Volume Estimation

Using search rates from December 20, 2019, to March 19, 2020, for each outcome (“insomnia,” “depression,” or “suicide”), we forecasted a counterfactual scenario of expected search rates had the COVID-19 rapid outbreak and lockdown policies not occurred in mid-March. The expected relative search volumes were estimated using Hyndman and Khandakar’s algorithm for autoregressive integrated moving average (ARIMA) modeling [8], fit to the historical search rates from December 20, 2019, to March 19, 2020, and compared to the observed search rates from March 20 to April 19, 2020. For the residuals from each of the chosen models, we verified that they showed no significant autocorrelation with a Ljung–Box test [9]. Subsequently, we used daily trends from December 20, 2019, to March 19, 2020, to forecast future values with bootstrap CIs, which were computed using R software, version 3.6.3 (R Foundation for Statistical Computing).

Indicators of Increased Searches for Insomnia, Depression, and Suicide

We examined the number of days with increased search volume for insomnia, depression, and suicide. We defined increases in search queries based on both the intensity and duration of increases in population interest, which was applied per our previous study [10]. The intensity of a significant increase was defined as the actual daily Google Trends value during March 20 to April 19 being higher than the expected +1.645 standard error (via ARIMA), that is, the upper limit of the 95% CI in a one-tailed test. We calculated the number of days with significant increases in searches for insomnia higher than the 95% CI expected in each country from March 20 to April 19. We used similar approaches to calculate the indicators for depression and suicide.

Rate of COVID-19 Spread Across Nations

We used the increase in the number of deaths from March 20 to April 19 as an indicator of the speed at which COVID-19 spread within a nation during this time period, since widespread population testing was not yet available in most countries, especially in those with rapid outbreaks of COVID-19. However, in order to examine the robustness of our findings, we also used three additional indicators: increases in confirmed cases of COVID-19 from March 20 to April 19; the cumulative number of confirmed cases; and the cumulative number of deaths as of March 20.

We used the Spearman rank-order correlation test to examine the correlation between increases in the number of confirmed cases and deaths related to COVID-19 and the number of days with increases in search volume for insomnia, depression, and suicide in the 19 countries from March 20 to April 19. We also examined the temporal correlation between confirmed cases and deaths as of March 20 as well as the number of days with increases in search volumes for insomnia, depression, and suicide from March 20 to April 19.


Table 1 shows the number of days with significant increases in searches for insomnia, depression, and suicide in the local language among the 19 countries. Nations with the highest increases in searches for insomnia were Iran, Spain (Figure 1), the United States, and Italy; these countries exhibited a significant increase in insomnia queries on more than 10 of the 31 days observed (March 20 to April 19). The countries with the greatest increases in searches for depression were Iran (8 days), Australia (6 days), and Hong Kong (6 days). The countries with the greatest increases in searches for suicide were Iran (10 days), Germany (10 days [Figure 2]), and Italy (5 days).

Table 1. Number of days with significant increases in searches for insomnia, depression, and suicide in each country’s local language, as well as the cumulative number of confirmed cases as of March 20, 2020; increases in confirmed cases from March 20 to April 19; and the increases in the number of deaths due to COVID-19.
CountryInsomniaDepressionSuicideDeaths, nConfirmed cases, n

Translated keywordDays with significant increases in searches, nTranslated keywordDays with significant increases in searches, nTranslated keywordDays with significant increases in searches, nFrom March 20 to April 19As of March 20From March 20 to April 19As of March 20
Australiainsomnia5depression6suicide06075819791
Brazilinsônia10depressão0suicídio024511137,861793
Canadainsomnia4depression4suicide115521234,676943
Franceinsomnie9dépression0suicide219,244450139,19612,612
GermanySchlaflosigkeit4Depression0Selbstmord10451967125,33619,848
Hong Kong失眠1抑鬱6自殺304769256
Iran179103685143362,56719,644
Italyinsonnia11depressione1suicidio519,6284032131,95147,021
Japan眠れない1うつ病0自殺0203339834963
New Zealandinsomnia2depression1suicide1120139239
Russiaбессонница1депрессия0самоубийство0360142,600253
Singaporeinsomnia3depression0suicide21106203385
South Korea불면증1우울증3자살21409420098652
Spaininsomnio16depresión4suicidio019,4101043178,26420,410
Taiwan失眠4憂鬱2自殺442285135
Thailand6214612443322
Turkeyuykusuzluk2depresyon0intihar02013485,947359
United Kingdominsomnia4depression0suicide018,298194116,0843983
United Statesinsomnia11depression4suicide140,596349739,53619,273
Figure 1. Daily trends for all Google searches for the term “insomnia” alongside expected trends for the days after March 20, 2020, in (A) Spain and (B) Germany.
View this figure
Figure 2. Daily trends for all Google searches with the term “suicide,” alongside expected trends for the days after March 20, 2020, in (A) Spain and (B) Germany.
View this figure

Figure 3 shows that increases in deaths were positively correlated to the number of days with increases in searches for insomnia in the 19 countries from March 20 to April 19 with a Spearman correlation coefficient (ρ) of 0.64 (P=.003). Similarly, the number of cumulative death cases as of March 20 was temporally positively correlated to increases in insomnia searches from March 20 to April 19 (ρ=0.60, P=.007).

By contrast, there was no significant correlation between the increased searches for depression and increases in deaths (ρ=–0.12, P=.63), nor a correlation between the increased searches for suicide and increases in deaths (ρ=–0.07, P=.79).

Figure 3. Positive correlation between increases in COVID-19–related deaths and the number of days with an increase in searches for insomnia in 19 countries (Spearman correlation coefficient=0.64, P=.003) from March 20 to April 19, 2020.
View this figure

Principal Findings

To the best of our knowledge, this is the first study to use a real-time collection of population-level data to investigate the impacts of the COVID-19 pandemic on mental health across 19 countries. The multinational and longitudinal design demonstrates with a high temporal resolution how the pandemic influences global mental health. Furthermore, this study compared the associations between the impact of the COVID-19 outbreak and its varied impact on mental health indicators, namely insomnia, depression, and suicide. The increase in Google searches for insomnia, rather than for depression and suicide, was significantly correlated to the number of deaths related to COVID-19. These findings indicate the extent of the pandemic’s impact on the general population’s mental health.

Insomnia is a common, preceding symptom or precipitating factor in new onset mental illness, such as depression, anxiety, and posttraumatic stress disorder [11], whereas suicide is the most severe outcome of psychiatric disorders over a lifetime [12]. Stress‐related sleep problems are common [13], and poor sleep quality has been identified as having mental health consequences as a result of social isolation [14]. In the absence of a vaccine and effective treatment for COVID-19, one of the most vital strategies for slowing the pandemic is social distancing. However, even for households free of the virus, the pandemic is likely to function as a major stressor, especially in terms of economic difficulties. Such effects may be exacerbated by self-isolation policies that can increase social isolation and relationship difficulties. Loneliness and social isolation may worsen the burden of stress and often exacerbate insomnia. Future research should explore search behaviors associated with terms such as fear, anxiety, and stress, which are highly relevant to COVID-19 and insomnia, to strengthen the qualitative correlation between insomnia and the COVID-19 pandemic.

Our results indicate that insomnia is a more sensitive indicator than depression or suicide of populations’ mental health during the COVID-19 pandemic. However, unlike the patterns of Google searches for “face mask” and “wash hands,” which reached all-time highs during this pandemic [10], searches patterns for insomnia, depression, and suicide usually consisted of multiple fluctuating components (eg, seasonality) and may increase in imperceptible manners. ARIMA models are capable of modeling both seasonal and nonseasonal data and can perform time-series forecasting to quantify whether imperceptible search queries are higher than expected [15,16].

The increased searches for insomnia and suicide demonstrated different patterns in this study (Figures 1 and 2). The surge in suicide-related searches in some countries (Italy, Germany, and Iran) may be attributed to media reports of suicides (ie, an Italian nurse on March 24, a German minister on March 29, and an Iranian student on April 6). These findings are consistent with previous studies that report on the correlation between suicide search trends and actual suicides [17], indicating that media reports of suicides can lead to spikes in suicides [18]. On the basis of these findings, media professionals should follow the WHO’s media guidelines [2] for preventing suicide.

Limitations

There are several methodological limitations that should be noted when interpreting this study’s findings. First, we recognize that the Google Trends data do not represent a random sampling of the population and may exclude important vulnerable groups without access to the internet or those who were not actively engaged in searching. Second, we were unable to determine the sociodemographic characteristics of those conducting the searches. COVID-19 disproportionately affects poor and vulnerable populations; additionally, patients with serious mental illness may be among the hardest hit [19]. Our results did not include the entire population, or all internet users, of every country. Third, individual search queries for insomnia, depression, or suicide may not accurately reflect the actual mental health status of internet users. Factors other than the COVID-19 pandemic, including cultural differences that affect the expression and evaluation of symptoms, as well as more complicated bio-psycho-social factors may influence mental health and thus internet search behaviors. However, the collective phenomenon of internet search behavior still can be a meaningful surrogate for mental health across large populations.

Conclusion

In conclusion, our analysis suggests that insomnia could be a part of routine screening for mental health during the COVID-19 pandemic. Monitoring Google Trends has the benefit of allowing for rapid longitudinal tracking at the international level during this unprecedented health crisis.

Acknowledgments

The authors thank Dr Sheng-Hsuan Lin, Ms Hsiao-Han Lin, and Ms Szu-Yu Chen for their excellent technical assistance.

This study was supported by grants from the National Health Research Institutes of Taiwan (09A1-PHPP20-014).

Authors' Contributions

Y-HL designed the study. Y-HL and T-WC conducted the study and analyzed the data. Y-HL and Y-LL drafted the manuscript. All authors contributed to data analysis, and drafting or revising the paper; gave final approval of the version to be published; and agree to be accountable for all aspects of the work.

Conflicts of Interest

None declared.

  1. COVID-19 Dashboard. The Center for Systems Science and Engineering JHU. 2020.   URL: https://coronavirus.jhu.edu/map.html [accessed 2020-05-18]
  2. Mental health and psychosocial considerations during the COVID-19 outbreak. World Health Organization. 2020 Mar 18.   URL: https://www.who.int/docs/default-source/coronaviruse/mental-health-considerations.pdf [accessed 2020-05-18]
  3. Chew NW, Lee GK, Tan BY, Jing M, Goh Y, Ngiam NJ, et al. A multinational, multicentre study on the psychological outcomes and associated physical symptoms amongst healthcare workers during COVID-19 outbreak. Brain Behav Immun 2020 Aug;88:559-565 [FREE Full text] [CrossRef] [Medline]
  4. Wang C, Pan R, Wan X, Tan Y, Xu L, McIntyre RS, et al. A longitudinal study on the mental health of general population during the COVID-19 epidemic in China. Brain Behav Immun 2020 Jul;87:40-48 [FREE Full text] [CrossRef] [Medline]
  5. 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]
  6. Yang AC, Huang NE, Peng C, Tsai S. Do seasons have an influence on the incidence of depression? The use of an internet search engine query data as a proxy of human affect. PLoS One 2010 Oct 28;5(10):e13728 [FREE Full text] [CrossRef] [Medline]
  7. Solano P, Ustulin M, Pizzorno E, Vichi M, Pompili M, Serafini G, et al. A Google-based approach for monitoring suicide risk. Psychiatry Res 2016 Dec 30;246:581-586. [CrossRef] [Medline]
  8. Hyndman R, Khandakar Y. Automatic Time Series Forecasting: The Forecast Package for R. J Stat Soft 2008;27(3). [CrossRef]
  9. Ljung GM, Box GEP. On a measure of lack of fit in time series models. Biometrika 1978 Aug 01;65(2):297-303. [CrossRef]
  10. Lin Y, Liu C, Chiu Y. Google searches for the keywords of "wash hands" predict the speed of national spread of COVID-19 outbreak among 21 countries. Brain Behav Immun 2020 Jul;87:30-32 [FREE Full text] [CrossRef] [Medline]
  11. Pigeon WR, Bishop TM, Krueger KM. Insomnia as a Precipitating Factor in New Onset Mental Illness: a Systematic Review of Recent Findings. Curr Psychiatry Rep 2017 Aug 14;19(8):44. [CrossRef] [Medline]
  12. Fazel S, Runeson B. Suicide. N Engl J Med 2020 Jan 16;382(3):266-274. [CrossRef] [Medline]
  13. Altena E, Micoulaud-Franchi J, Geoffroy P, Sanz-Arigita E, Bioulac S, Philip P. The bidirectional relation between emotional reactivity and sleep: From disruption to recovery. Behav Neurosci 2016 Jun;130(3):336-350. [CrossRef] [Medline]
  14. Hawkley LC, Cacioppo JT. Loneliness matters: a theoretical and empirical review of consequences and mechanisms. Ann Behav Med 2010 Oct 22;40(2):218-227 [FREE Full text] [CrossRef] [Medline]
  15. Ayers JW, Althouse BM, Leas EC, Dredze M, Allem J. Internet Searches for Suicide Following the Release of 13 Reasons Why. JAMA Intern Med 2017 Oct 01;177(10):1527-1529 [FREE Full text] [CrossRef] [Medline]
  16. Liu M, Caputi TL, Dredze M, Kesselheim AS, Ayers JW. Internet Searches for Unproven COVID-19 Therapies in the United States. JAMA Intern Med 2020 Aug 01;180(8):1116-1118 [FREE Full text] [CrossRef] [Medline]
  17. Yang AC, Tsai S, Huang NE, Peng C. Association of Internet search trends with suicide death in Taipei City, Taiwan, 2004-2009. J Affect Disord 2011 Jul;132(1-2):179-184. [CrossRef] [Medline]
  18. Niederkrotenthaler T, Braun M, Pirkis J, Till B, Stack S, Sinyor M, et al. Association between suicide reporting in the media and suicide: systematic review and meta-analysis. BMJ 2020 Mar 18;368:m575. [CrossRef] [Medline]
  19. Druss BG. Addressing the COVID-19 Pandemic in Populations With Serious Mental Illness. JAMA Psychiatry 2020 Sep 01;77(9):891-892. [CrossRef] [Medline]


ARIMA: autoregressive integrated moving average
WHO: World Health Organization


Edited by G Eysenbach; submitted 06.07.20; peer-reviewed by LA Lee, C Ulmer; comments to author 17.08.20; revised version received 19.08.20; accepted 13.09.20; published 21.09.20

Copyright

©Yu-Hsuan Lin, Ting-Wei Chiang, Yu-Lun Lin. Originally published in the Journal of Medical Internet Research (http://www.jmir.org), 21.09.2020.

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 http://www.jmir.org/, as well as this copyright and license information must be included.