Format

Send to

Choose Destination
Sci Rep. 2017 Oct 11;7(1):13006. doi: 10.1038/s41598-017-12961-9.

Forecasting the onset and course of mental illness with Twitter data.

Author information

1
Department of Psychology, Harvard University, Cambridge, MA, 02138, USA. andrew.reece@post.harvard.edu.
2
Computational Story Lab, Vermont Advanced Computing Core, and the Department of Mathematics and Statistics, University of Vermont, Burlington, VT, 05401, USA.
3
Vermont Complex Systems Center, University of Vermont, Burlington, VT, 05401, USA.
4
Department of Management Science and Engineering, Stanford University, Palo Alto, CA, 94305, USA.
5
Computational Story Lab, Vermont Advanced Computing Core, and the Department of Mathematics and Statistics, University of Vermont, Burlington, VT, 05401, USA. chris.danforth@uvm.edu.
6
Vermont Complex Systems Center, University of Vermont, Burlington, VT, 05401, USA. chris.danforth@uvm.edu.
7
Department of Psychology, Harvard University, Cambridge, MA, 02138, USA.

Abstract

We developed computational models to predict the emergence of depression and Post-Traumatic Stress Disorder in Twitter users. Twitter data and details of depression history were collected from 204 individuals (105 depressed, 99 healthy). We extracted predictive features measuring affect, linguistic style, and context from participant tweets (N = 279,951) and built models using these features with supervised learning algorithms. Resulting models successfully discriminated between depressed and healthy content, and compared favorably to general practitioners' average success rates in diagnosing depression, albeit in a separate population. Results held even when the analysis was restricted to content posted before first depression diagnosis. State-space temporal analysis suggests that onset of depression may be detectable from Twitter data several months prior to diagnosis. Predictive results were replicated with a separate sample of individuals diagnosed with PTSD (Nusers = 174, Ntweets = 243,775). A state-space time series model revealed indicators of PTSD almost immediately post-trauma, often many months prior to clinical diagnosis. These methods suggest a data-driven, predictive approach for early screening and detection of mental illness.

Supplemental Content

Full text links

Icon for Nature Publishing Group Icon for PubMed Central
Loading ...
Support Center