Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Mar 30;5(4):1716.
doi: 10.23889/ijpds.v5i4.1716. eCollection 2020.

Quantifying depression-related language on social media during the COVID-19 pandemic

Affiliations

Quantifying depression-related language on social media during the COVID-19 pandemic

Brent D Davis et al. Int J Popul Data Sci. .

Abstract

Introduction: The COVID-19 pandemic had clear impacts on mental health. Social media presents an opportunity for assessing mental health at the population level.

Objectives: 1) Identify and describe language used on social media that is associated with discourse about depression. 2) Describe the associations between identified language and COVID-19 incidence over time across several geographies.

Methods: We create a word embedding based on the posts in Reddit's /r/Depression and use this word embedding to train representations of active authors. We contrast these authors against a control group and extract keywords that capture differences between the two groups. We filter these keywords for face validity and to match character limits of an information retrieval system, Elasticsearch. We retrieve all geo-tagged posts on Twitter from April 2019 to June 2021 from Seattle, Sydney, Mumbai, and Toronto. The tweets are scored with BM25 using the keywords. We call this score rDD. We compare changes in average score over time with case counts from the pandemic's beginning through June 2021.

Results: We observe a pattern in rDD across all cities analyzed: There is an increase in rDD near the start of the pandemic which levels off over time. However, in Mumbai we also see an increase aligned with a second wave of cases.

Conclusions: Our results are concordant with other studies which indicate that the impact of the pandemic on mental health was highest initially and was followed by recovery, largely unchanged by subsequent waves. However, in the Mumbai data we observed a substantial rise in rDD with a large second wave. Our results indicate possible un-captured heterogeneity across geographies, and point to a need for a better understanding of this differential impact on mental health.

Keywords: COVID-19; Twitter; depression; information retrieval; machine learning; public health surveillance; social media.

PubMed Disclaimer

Conflict of interest statement

Statement on conflicts of interest: The authors have no conflicts of interest to declare.

Figures

Figure 1: rDD scores over time for each city between April 2019 and June 2021
Figure 1: rDD scores over time for each city between April 2019 and June 2021
Figure 2: rDD scores vs. case counts per city. Points are shaded to show progression over time
Figure 2: rDD scores vs. case counts per city. Points are shaded to show progression over time
Figure 3: Region case counts (centered 7-day window mean daily change) in orange and rDD scores (centered 7-day window mean) in blue for the Twitter posts
Figure 3: Region case counts (centered 7-day window mean daily change) in orange and rDD scores (centered 7-day window mean) in blue for the Twitter posts

Similar articles

Cited by

References

    1. Bueno-Notivol J., Gracia-García P., Olaya B., Lasheras I., R. López-Antón and Santabárbara J., “Prevalence of depression during the COVID-19 outbreak: A meta-analysis of community-based studies,” International journal of clinical and health psychology, vol. 21, p. 100196, 2021. 10.1016/j.ijchp.2020.07.007 - DOI - PMC - PubMed
    1. Ebrahimi O. V., Hoffart A. and Johnson S. U., “Physical distancing and mental health during the COVID-19 pandemic: Factors associated with psychological symptoms and adherence to pandemic mitigation strategies,” Clinical Psychological Science, vol. 9, p. 489–506, 2021. 10.1177/2167702621994545 - DOI
    1. Daly M. and Robinson E., “Psychological distress and adaptation to the COVID-19 crisis in the United States,” Journal of psychiatric research, vol. 136, p. 603–609, 2021. 10.1016/j.jpsychires.2020.10.035 - DOI - PMC - PubMed
    1. Relia K., Akbari M., Duncan D. and Chunara R., “Sociospatial self-organizing maps: using social media to assess relevant geographies for exposure to social processes,” Proceedings of the ACM on human-computer interaction, vol. 2, p. 1–23, 2018. 10.1145/3274414 - DOI - PMC - PubMed
    1. Wongkoblap A., Vadillo M. A. and Curcin V., “Researching mental health disorders in the era of social media: systematic review,” Journal of medical Internet research, vol. 19, p. e228, 2017. 10.2196/jmir.7215 - DOI - PMC - PubMed

Publication types

LinkOut - more resources