Characterizing sleep issues using Twitter

David J. McIver, Jared B. Hawkins, Rumi Chunara, Arnaub K. Chatterjee, Aman Bhandari, Timothy P. Fitzgerald, Sachin H. Jain, John S. Brownstein

Research output: Contribution to journalArticle

Abstract

Background: Sleep issues such as insomnia affect over 50 million Americans and can lead to serious health problems, including depression and obesity, and can increase risk of injury. Social media platforms such as Twitter offer exciting potential for their use in studying and identifying both diseases and social phenomenon. Objective: Our aim was to determine whether social media can be used as a method to conduct research focusing on sleep issues. Methods: Twitter posts were collected and curated to determine whether a user exhibited signs of sleep issues based on the presence of several keywords in tweets such as insomnia, "can't sleep", Ambien, and others. Users whose tweets contain any of the keywords were designated as having self-identified sleep issues (sleep group). Users who did not have self-identified sleep issues (non-sleep group) were selected from tweets that did not contain pre-defined words or phrases used as a proxy for sleep issues. Results: User data such as number of tweets, friends, followers, and location were collected, as well as the time and date of tweets. Additionally, the sentiment of each tweet and average sentiment of each user were determined to investigate differences between non-sleep and sleep groups. It was found that sleep group users were significantly less active on Twitter (P=.04), had fewer friends (P<.001), and fewer followers (P<.001) compared to others, after adjusting for the length of time each user's account has been active. Sleep group users were more active during typical sleeping hours than others, which may suggest they were having difficulty sleeping. Sleep group users also had significantly lower sentiment in their tweets (P<.001), indicating a possible relationship between sleep and pyschosocial issues. Conclusions: We have demonstrated a novel method for studying sleep issues that allows for fast, cost-effective, and customizable data to be gathered.

Original languageEnglish (US)
Pages (from-to)e140
JournalJournal of medical Internet research
Volume17
Issue number6
DOIs
StatePublished - Jun 1 2015

Keywords

  • Depression
  • Insomnia
  • Novel methods
  • Sentiment
  • Sleep issues
  • Social media

ASJC Scopus subject areas

  • Health Informatics

Fingerprint Dive into the research topics of 'Characterizing sleep issues using Twitter'. Together they form a unique fingerprint.

  • Cite this

    McIver, D. J., Hawkins, J. B., Chunara, R., Chatterjee, A. K., Bhandari, A., Fitzgerald, T. P., Jain, S. H., & Brownstein, J. S. (2015). Characterizing sleep issues using Twitter. Journal of medical Internet research, 17(6), e140. https://doi.org/10.2196/jmir.4476