Obama wins the election! (on Twitter)
Can Twitter predict the outcome of the US election tomorrow? If our results are anything to go by then Barack Obama will be reelected. The data presented below are the result of some research that Adham Tamer, Ning Wang, Scott Hale and I (Mark Graham) carried out in order to see how visible both major presidential candidates are on Twitter.
We collected about 30 million geocoded tweets between Oct 1 and Nov 1 and pulled out all references to Obama and Romney. You can see the initial results in the map below.
We see that if the election were decided purely based on Twitter mentions, then Obama would be re-elected. In fact, the only states that Romney would win are Maine, Massachusetts, New Mexico, Oregon, Pennsylvania, Utah, and Vermont. Romney also wins in the District of Colombia (we unfortunately didn’t collect data on Alaska or Hawaii).
If you want to explore the data in more detail, please play around with the interactive map below:
Romney’s largest margins of victory are in Pennsylvania and Massachusetts. Obama’s largest victories are in California and, strangely, Texas.
It is also worth noting that we compared Twitter mentions of both Vice-Presidential candidates: Biden and Ryan. Ryan, interestingly, wins the head-to-head competition in every single state. This makes for a rather boring map, so I decided to instead compare references to Ryan and Romney in the map below (Romney shaded in grey for his ebullient personality, and Ryan in pink as a result of his staunch support for gay rights).
As might be expected, there are more references to Romney in most states (Kansas, Michigan, North Dakota, Rhode Island, South Dakota, and Vermont being the exceptions here). However, when looking at total references, we again don’t see a large gap between the two men. Ryan has 94,707 tweets compared to Romney's 120,637.
What do these data really tell us? I doubt that they will accurately predict that Obama will win in Texas or that Romney will win in Massachusetts. But they do certainly reveal that many internet users in California, Texas, and much of the country prefer talking about Obama than Romney. We would need to employ sentiment analysis or manually read a large number of the election-related tweets in order to figure out whether we are seeing messages of support or more critical posts.
Some of the results seem to be interesting reflections of social and political characteristics of particular places. It makes sense that Romney has captured more of the public imagination in Utah (perhaps due to the state’s large Mormon population) and Massachusetts (the state that he once governed).
Other results are harder to extract meaning from. Romney's (Twitter) win in Pennsylvania perhaps will also presage interesting results in that state on election day. But, who knows what Obama’s Texas win demonstrate.
Maybe the most revealing aspect of these data is the ‘popular vote’ split between the two candidates. While the social and political data shadows that we are picking up may not accurately tell us much about the electoral college results, when aggregated across the country they may be a rough indicator of outcomes tomorrow.
While this work may seem like a contemporary attempt at soothsaying, the data will also serve as a useful benchmark in order to allow us to see what social media data shadows actually might reflect.