{"id":1355,"date":"2014-02-10T16:30:22","date_gmt":"2014-02-10T05:30:22","guid":{"rendered":"http:\/\/blog.panicola.com\/?p=1355"},"modified":"2014-02-10T16:38:04","modified_gmt":"2014-02-10T05:38:04","slug":"twitter-can-tell-when-youre-depressed","status":"publish","type":"post","link":"https:\/\/blog.panicola.com\/?p=1355","title":{"rendered":"Twitter can tell when you&#8217;re depressed"},"content":{"rendered":"<ul>\n<li>Eric Horwitz leading the way on mining twitter feeds for signs of depression<\/li>\n<li>He muses on looking at the impact of news on mood at a population level<\/li>\n<li>Conway\u2019s team is looking at some of the tough ethical questions involved, by \u201cinvestigating\u00a0public attitudes towards the ethics of using social media for public health monitoring,\u201d he says. \u201cThis ethical component of the work is particularly important given the evolving role of social media in society and concerns regarding the activities of the NSA.\u201d<\/li>\n<\/ul>\n<p>http:\/\/business.time.com\/2014\/01\/27\/how-twitter-knows-when-youre-depressed\/<\/p>\n<header>\n<h1>How Twitter Knows When You\u2019re Depressed<\/h1>\n<p>Scientists can now accurately predict if you have the blues\u2014just by looking at your Twitter feed<\/p>\n<div>By\u00a0<a title=\"Posts by Sam Frizell\" href=\"http:\/\/business.time.com\/author\/samfrizell\/\" rel=\"author\">Sam Frizell<\/a>\u00a0<a href=\"http:\/\/www.twitter.com\/Sam_Frizell\">@Sam_Frizell<\/a>Jan. 27, 2014<a href=\"http:\/\/business.time.com\/2014\/01\/27\/how-twitter-knows-when-youre-depressed\/#comments\">5 Comments<\/a><\/div>\n<\/header>\n<div>\n<figure>\n<div data-responsive=\"\"><img decoding=\"async\" title=\"FRANCE-TECHNOLOGY-BLOGGING-TWITTER-FEATURE\" alt=\"FRANCE-TECHNOLOGY-BLOGGING-TWITTER-FEATURE\" src=\"http:\/\/timebusinessblog.files.wordpress.com\/2013\/11\/154605103.jpg?w=360&amp;h=240&amp;crop=1\" \/><\/div><figcaption><small>AFP\/Getty Images \/ AFP\/Getty Images<\/small><\/figcaption><\/figure>\n<p>With its 230 million regular users,\u00a0Twitter has become such a broad stream of personal expression that researchers are beginning to use it as a tool to dig into public health problems. Believe it or not, a scientist out there might actually\u00a0<em>care<\/em>\u00a0about the sandwich you ate for lunch\u2014even if most of your followers don\u2019t.<\/p>\n<p>\u201cOur attitude is that Twitter is the largest observational study of human behavior we\u2019ve ever known, and we\u2019re working very hard to take advantage of it,\u201d explains Tyler McCormick of the Center for Statistics and the Social Sciences at the University of\u00a0<a href=\"http:\/\/topics.time.com\/washington\/\">Washington<\/a>.<\/p>\n<p>What if, for example, an artificial intelligence model could scan your Twitter feed and tell you if you\u2019re at risk for\u00a0<a href=\"http:\/\/topics.time.com\/depression\/\">depression<\/a>? And what if you could receive notices from third parties, for instance, that warned you that you may want to seek help, just based on an automated scan of your tweets? Eric Horvitz, co-director of\u00a0<a href=\"http:\/\/topics.time.com\/microsoft\/\">Microsoft<\/a>\u00a0Research Redmond has helped pioneer research on Twitter and depression. He says that could one day be a possibility.<\/p>\n<p>\u201cWe wondered if we could actually build measures that might be able to detect if someone is severely depressed, just in publicly posted media. What are people telling the world in public spaces?\u201d asks Horvitz. \u201cYou might imagine tools that could make people aware of a swing in mood, even before they can feel it themselves.\u201d<\/p>\n<p>Horvitz and a team of researchers helped develop a model that can scan tweets and predict depression in Twitter users, with an accuracy they claim to be 70%.\u00a0Researchers say the\u00a0system is still far from perfect. When the model scans your tweets, it misses some signals and doesn\u2019t diagnose many people\u2014about 30%\u2014who really will get depression. And the system has a \u201cfalse positive\u201d issue, Horvitz said, causing it to incorrectly predict that healthy Twitter users will get depression\u00a0in about 10% of cases.<\/p>\n<p>The Microsoft team found 476 Twitter users, 171 of whom were seriously depressed. They went back into users\u2019 Twitter histories as far as a year in advance of their depression diagnosis, examining their tweets for language, level of engagement, mentions of certain medications, and other factors, using computer models to sift through a total of 2.2 million tweets. By comparing depressed Twitter users\u2019 feeds with the non-depressed user sample class, they came up with a method for predicting depression diagnoses before they happened. When they tested the model on a different set of Twitter users, it showed 70% accuracy in predicting depression before its onset.<\/p>\n<p>Some tweets the scientists looked at in the depressed group pretty obviously indicate some level of emotional distress. For example, the study cited tweets like these from their depressed user group:<\/p>\n<blockquote><p>\u201cHaving a job again makes me happy. Less time to be depressed and eat all day while watching sad movies.\u201d<\/p>\n<p>\u201cI want someone to hold me and be there for me when I\u2019m sad.\u201d<\/p>\n<p>\u201c\u2018Are you okay?\u2019 Yes\u2026 I understand that I am upset and hopeless and nothing can help me\u2026 I\u2019m okay\u2026 but I am not all right.\u201d<\/p><\/blockquote>\n<p>Not all users\u2019 feeds are so clear. Microsoft\u2019s researchers looked at factors like the number of tweets users made per day, what time of day users tweeted, how often users interacted with each other, and what kind of language tweeters were using.\u00a0For example, seemingly depressed tweeters were more likely to post messages late at night (between 9pm and 6am) compared with healthy tweeters, who were most active during the day and after work hours.<\/p>\n<p>The team also noticed that certain isolated words in Twitter posts also were characteristic of depression. Words like\u00a0<i>anxiety, severe, appetite, suicidal, nausea, drowsiness,\u00a0<\/i><i>fatigue,<\/i>\u00a0<i>nervousness, addictive, attacks, episodes,\u00a0<\/i>and<i>sleep<\/i>\u00a0were used by depressed users, but more surprisingly, words like\u00a0<i>she, him, girl, game, men, home, fun, house, favorite, wants, tolerance, cope, amazing, love, care, songs,\u00a0<\/i>and<i>\u00a0movie<\/i>\u00a0could be indications of depression as well.<\/p>\n<p>The volume of tweets mattered too, as did the percentage of exchanges\u2014users who are depressed begin to tweet less, and tweet less at other people, indicating a possible loss of social connectedness, said Horvitz.\u00a0Of course, just because a Twitter user makes a post that includes the word\u00a0<i>fatigue<\/i>\u00a0and\u00a0<i>house<\/i>\u00a0at 4am, that doesn\u2019t mean they\u2019re depressed. The Microsoft team\u2019s classifier looked at<b>\u00a0<\/b>users\u2019 feeds over long periods of time and incorporated many factors. A second Microsoft study that focused more on broader populations using slightly different methods achieved similar results, determining depression in tweets with around 70% accuracy.<\/p>\n<p>One area of public health where this kind of research could come in handy is in measuring public reactions to events. Tracking public Twitter feeds after profound or traumatic events could help scientists understand how we\u2019re affected by the news.\u00a0\u201cWe really didn\u2019t used to have many tools available traditionally for that kind of fine-grained analysis,\u201d says\u00a0said Horvitz. \u201cNow there\u2019s a new direction for doing the science.\u201d<\/p>\n<p>McCormick, of the University of Washington, said part of the research he and his team is now doing will involve improving earlier Twitter depression models, by weeding out false or misleading data and figuring out areas where depression-related data is being underreported.\u00a0His team has also identified a group of first-year students at a number of colleges across the country based on their Twitter feeds\u2014hashtags, posts relating to orientation\u2014and is following them for \u201cred flags\u201d that could indicate emotional issues.<\/p>\n<p>A study by University of California San Diego will also build on that research. Funded by the federal government\u2019s National Institute of Health, UCSD\u2019s Michael Conway is creating models that will eventually track depression in communities and figure out how to apply mental health resources better assess public health.\u00a0\u201cThe ultimate goal of this work is to provide a cost-effective, real-time means of monitoring the prevalence of depression in the general population,\u201d Conway said in an email.<\/p>\n<p>In a post-Snowden era, privacy is a major concern facing any kind of mass-data collection. The Twitter users in the Microsoft study permitted Horvitz and his team to examine their tweets, but a possible future in which computer programs \u00a0automatically sift through your tweets to make judgments on your health could understandably set off alarms with big data skeptics.<\/p>\n<p>Conway\u2019s team is looking at some of the tough ethical questions involved, by \u201cinvestigating\u00a0public attitudes towards the ethics of using social media for public health monitoring,\u201d he says. \u201cThis ethical component of the work is particularly important given the evolving role of social media in society and concerns regarding the activities of the NSA.\u201d<\/p>\n<p>It may be some time before the research is developed enough for Twitter to warn individuals at risk for depression to seek help. Horvitz says part of what\u2019s driven his research is the staggering number of suicides in the United States every year due to depression: 30,000.\u00a0\u201cIf we can even save through interventions a few of those 30,000 people each year, it will make this research well worth it,\u201d he said.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Eric Horwitz leading the way on mining twitter feeds for signs of depression He muses on looking at the impact of news on mood at a population level Conway\u2019s team is looking at some of the tough ethical questions involved, by \u201cinvestigating\u00a0public attitudes towards the ethics of using social media for public health monitoring,\u201d he &hellip; <a href=\"https:\/\/blog.panicola.com\/?p=1355\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Twitter can tell when you&#8217;re depressed<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,5,10,4,3],"tags":[],"class_list":["post-1355","post","type-post","status-publish","format-standard","hentry","category-cool","category-data-saving-lives","category-healthy-habits","category-quantified-self","category-rapid-learning-health-systems"],"_links":{"self":[{"href":"https:\/\/blog.panicola.com\/index.php?rest_route=\/wp\/v2\/posts\/1355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.panicola.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.panicola.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.panicola.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.panicola.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1355"}],"version-history":[{"count":3,"href":"https:\/\/blog.panicola.com\/index.php?rest_route=\/wp\/v2\/posts\/1355\/revisions"}],"predecessor-version":[{"id":1357,"href":"https:\/\/blog.panicola.com\/index.php?rest_route=\/wp\/v2\/posts\/1355\/revisions\/1357"}],"wp:attachment":[{"href":"https:\/\/blog.panicola.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.panicola.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.panicola.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}