{"id":773,"date":"2014-08-21T08:30:53","date_gmt":"2014-08-21T13:30:53","guid":{"rendered":"http:\/\/blogs.ams.org\/blogonmathblogs\/?p=773"},"modified":"2014-08-20T23:40:15","modified_gmt":"2014-08-21T04:40:15","slug":"regression-twitter-and-ferguson","status":"publish","type":"post","link":"https:\/\/blogs.ams.org\/blogonmathblogs\/2014\/08\/21\/regression-twitter-and-ferguson\/","title":{"rendered":"Regression, Twitter, and #Ferguson"},"content":{"rendered":"<div id=\"attachment_774\" style=\"width: 742px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/cs.stanford.edu\/people\/emmap1\/visualizations\/ferguson\/network\/\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-774\" class=\"wp-image-774 size-full\" src=\"https:\/\/i0.wp.com\/blogs.ams.org\/blogonmathblogs\/files\/2014\/08\/ferguson-tweets.jpg?resize=640%2C442\" alt=\"Emma Pierson's analysis of hashtags that have appeared in tweets about Ferguson, Missouri. Click for the image on her website. Image: Emma Pierson.\" width=\"640\" height=\"442\" srcset=\"https:\/\/i0.wp.com\/blogs.ams.org\/blogonmathblogs\/files\/2014\/08\/ferguson-tweets.jpg?w=732&amp;ssl=1 732w, https:\/\/i0.wp.com\/blogs.ams.org\/blogonmathblogs\/files\/2014\/08\/ferguson-tweets.jpg?resize=300%2C207&amp;ssl=1 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-774\" class=\"wp-caption-text\">Emma Pierson&#8217;s analysis of hashtags that have appeared in tweets about Ferguson, Missouri. Click for more information on her website. Image: Emma Pierson.<\/p><\/div>\n<p>Like many people, I have been following news about the events in Ferguson, Missouri with shock and sorrow for almost two weeks. I have been following these events as a human, not as a mathematician. But there&#8217;s a mathematical side to this story, too. I&#8217;m not just talking about the statistics on\u00a0how many people are killed by the police each year (which <a href=\"http:\/\/fivethirtyeight.com\/features\/how-many-americans-the-police-kill-each-year\/\">we don\u2019t even know<\/a> for sure) and the <a href=\"http:\/\/www.ksdk.com\/story\/news\/local\/2014\/08\/12\/ferguson-police-department-diversity-questioned-officers\/13976879\/\">racial composition of the Ferguson police force versus the people they stop and arrest<\/a>, although those are both important. I\u2019m talking about Twitter. It\u2019s been a <a href=\"http:\/\/www.nytimes.com\/2014\/08\/18\/business\/media\/view-of-ferguson-thrust-michael-brown-shooting-to-national-attention.html\">crucial part<\/a> of how the Ferguson story has become international news, but\u00a0it\u2019s also a useful source of data about\u00a0how people are responding to the tragedy.<\/p>\n<p>Emma Pierson is a computational biologist currently working for 23andMe, and her blog, <a href=\"http:\/\/obsessionwithregression.blogspot.com\/\">Obsession with Regression<\/a>, focuses on data analysis, often with Twitter&#8217;s data. She writes,<\/p>\n<blockquote><p>&#8220;I am very excited about Twitter because it combines two qualities.<\/p>\n<p>&#8220;1. People actually use it. Famous people &#8212; it\u2019s become standard for celebrities to say \u201cFollow me on Twitter!\u201d &#8212; and more importantly, lots of people.<\/p>\n<p>&#8220;2. It makes massive amounts of data available in a way you can process with a computer. <a href=\"https:\/\/blog.twitter.com\/2013\/new-tweets-per-second-record-and-how\">500,000,000 tweets<\/a> are sent every day and Twitter will give you up to 1% of those. And if I know <i>what <\/i>1% I want &#8212; for example, only Tweets containing the word \u201cSpock\u201d &#8212; it will give me <i>all <\/i>of them, which means I can actually hear <i>everything <\/i>that\u2019s being said on a topic by millions of people worldwide. And not just what\u2019s being said, but who\u2019s saying it &#8212; how they describe themselves, where they live, who their friends are, and the last few thousand things they said.&#8221;<\/p><\/blockquote>\n<p>She has been blogging\u00a0about Twitter data since December 2013, when 23andMe was ordered to stop providing disease risk information to their customers. She wrote a <a href=\"http:\/\/obsessionwithregression.blogspot.com\/2013\/12\/23andstupid-vs-nannystate.html\">post<\/a> about who was reacting to the news on Twitter and how they felt about it. Of course, being an employee of the company represents an obvious potential source of bias, so she also included a <a href=\"http:\/\/twitteranalyzer.herokuapp.com\/\">link<\/a> to the tweets she analyzed so others could study them. She\u2019s done several other interesting data analyses as well. Earlier this summer, she wrote an interesting analysis of <a href=\"http:\/\/obsessionwithregression.blogspot.com\/2014\/07\/a-tale-of-two-cities-twitter-reaction.html\">tweets about LeBron James\u2019 most recent career move<\/a>, and of personal interest to me is her post about <a href=\"http:\/\/obsessionwithregression.blogspot.com\/2014\/05\/in-which-i-try-to-escape-statistics-at.html\">gender in the symphony<\/a>. (Her analysis seems to match my experience. In my four years in the orchestra in college, I think we only had two men in the viola section.)<\/p>\n<p>On Tuesday, Pierson wrote a <a href=\"http:\/\/obsessionwithregression.blogspot.com\/2014\/08\/how-to-study-rage-of-millions-of-people.html\">post<\/a> about using Twitter to study people\u2019s reactions to current events, focusing on Ferguson. She mined a few hundred thousand tweets about Ferguson and analyzed the diferent hashtags that appeared in tweets with #Ferguson. (Part of the <a href=\"http:\/\/cs.stanford.edu\/people\/emmap1\/visualizations\/ferguson\/network\/\">visualization<\/a> she made is at the top of this post.) She also put her <a href=\"https:\/\/github.com\/epierson9\/twitterTools\/\">mineTweets<\/a> program up on Github so others can use it to collect tweets about any topic in real time. She has some ideas for further analysis, particularly about whether the day\/night-peace\/violence pattern is apparent in tweets, and she&#8217;s invited others to contribute either ideas or analyses of their own.<\/p>\n<p>The events in Ferguson have also highlighted the difference between the way Twitter and Facebook work. I\u2019m not the only one whose Twitter feed has been saturated with #Ferguson, while Facebook has been nearly silent on the topic. In a <a href=\"https:\/\/medium.com\/message\/ferguson-is-also-a-net-neutrality-issue-6d2f3db51eb0\">Medium<\/a> article, Zeynep Tufekci explains how Facebook\u2019s algorithm for deciding what to show us caused this discrepancy and wonders what would have happened to Ferguson without Twitter. \u201cIt\u2019s a clear example why net neutrality is a human rights issue; a free speech issue; and an issue of the voiceless being heard, on their own terms,\u201d she writes. \u201cAlgorithms have consequences.\u201d<\/p>\n<div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-share-buttons\" ><\/div>","protected":false},"excerpt":{"rendered":"<p>Like many people, I have been following news about the events in Ferguson, Missouri with shock and sorrow for almost two weeks. I have been following these events as a human, not as a mathematician. But there&#8217;s a mathematical side &hellip; <a href=\"https:\/\/blogs.ams.org\/blogonmathblogs\/2014\/08\/21\/regression-twitter-and-ferguson\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-share-buttons\" data-url=https:\/\/blogs.ams.org\/blogonmathblogs\/2014\/08\/21\/regression-twitter-and-ferguson\/><\/div>\n","protected":false},"author":61,"featured_media":774,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[35,58,28],"tags":[228,270,269,271,276,275,272,274,273,277],"class_list":["post-773","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-events","category-mathematics-and-computing","category-statistics","tag-algorithms","tag-big-data","tag-current-events","tag-data-analysis","tag-emma-pierson","tag-facebook","tag-ferguson","tag-social-media","tag-twitter","tag-zeynep-tufekci"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/blogs.ams.org\/blogonmathblogs\/files\/2014\/08\/ferguson-tweets.jpg?fit=732%2C506&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p3tW3N-ct","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/posts\/773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/users\/61"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/comments?post=773"}],"version-history":[{"count":7,"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/posts\/773\/revisions"}],"predecessor-version":[{"id":781,"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/posts\/773\/revisions\/781"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/media\/774"}],"wp:attachment":[{"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/media?parent=773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/categories?post=773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ams.org\/blogonmathblogs\/wp-json\/wp\/v2\/tags?post=773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}