Mexico’s Happy, Russia’s Sad: Using Twitter to Gauge the World’s Mood

<a href="http://www.flickr.com/photos/yourdon/3979323453/sizes/m/in/photostream/">Ed Yourdon</a>/Flickr

Fight disinformation: Sign up for the free Mother Jones Daily newsletter and follow the news that matters.


Twitter is great for staying up-to-date on, well, pretty much everything: the news, celebrity gossip, your roommate’s best-friend’s breakfast. But a new paper out today in the journal Science suggests that Twitter can also be used to track peoples’ moods. The researchers found that, across the globe, tweets are predictably upbeat or cranky based on the local time of day.

Cornell University sociologists Scott Golder and Michael Macy spent two years collecting 509 million tweets from 2.4 million users in 84 different countries (albeit with a notable dearth of representation from Africa). Using a well-established text analysis tool, they scored tweets based on their use of hundreds of positive words (like “happy” or “enthusiastic”) or negative words (like “sad” or “anxious”). When Macy and Golder plotted these scores against the tweet’s time stamp, they found what should come as no surprise to anyone who works a nine-to-five: peoples’ moods are best early in the morning, slowly deteriorate as the day wears on, then finally pick up in the evening (read: after happy hour). And, cultural differences be damned, the same was true worldwide, suggesting mood is hard-wired in the human psyche.

“Twitter is a goldmine for being able to observe human behavior,” Macy said. “We all have basically the same biology, and the pattern we found was very robust.”

Macy and Golder aren’t the first to tap Twitter’s 200 million users for research; linguists, gender theorists, political analysts, and others have studied what how great the impact of 140 characters can be. Even The New York Times used Twitter as a database for their coverage of the 2010 elections. Similar research on mood last year from Northeastern University yielded the trippy time-lapse video below. But today’s paper is one of the first to examine tweets on a global, cross-cultural scale.

The pair used the programming software Twitter makes available to app developers to amass the huge database of tweets, which they originally intended to use to shed light on peoples’ daily activity schedules. But it quickly became apparent, Macy said, that the data supported what sociologists already guessed about how mood changes throughout the day. The fact that people get irritable during the work day was no surprise, he said: “Well, of course. Work sucks.”

Using an enormous collection of Twitter messages from across the globe, the researchers measured people's positive and negative affect, or mood, worldwide. This map shows the average level of these positive feelings in each country.: Image © Science/AAASWho’s happiest? This map shows the average level of positive feelings in each country over a year; darker red means more positive (black means no data was available).

Who's saddest? This map shows the average level of negative feelings in each country; darker red means more negative (black means no data was available).: Image © Science/AAASWho’s saddest? This map shows the average level of negative feelings in each country over a year; darker blue means more negative (black means no data was available). Images © Science/AAAS

What was surprising, however, was that the daily mood fluctuation was roughly the same on weekends, although people seemed in better moods overall. Moreover, the morning peak in positive tweets hit about two hours later on weekends, which Macy attributed to people sleeping in. This “weekend effect” was even confirmed in the United Arab Emirates, where the workweek runs from Sunday to Thursday. In general the consistency was so great, he said, that it suggests mood is based more on biological rhythms than on culture. While this hypothesis isn’t new, this is the first study to use real-time, unprompted textual data from individuals to support it. The same study could be done using Facebook status updates or other social media tools, Macy added, but the Twitter data was the most readily accessible.

The next step, Macy said, will be to examine what individual people are tweeting about to deduce demographic information about them. Knowing a tweeter’s age, gender, occupation, or ethnicity could shed more light on where our finicky moods come from. “[Our study] is an example of the type of research that’s now possible, that you simply couldn’t do in the past. We can observe human behavior in real time.”  

 

AN IMPORTANT UPDATE

We’re falling behind our online fundraising goals and we can’t sustain coming up short on donations month after month. Perhaps you’ve heard? It is impossibly hard in the news business right now, with layoffs intensifying and fancy new startups and funding going kaput.

The crisis facing journalism and democracy isn’t going away anytime soon. And neither is Mother Jones, our readers, or our unique way of doing in-depth reporting that exists to bring about change.

Which is exactly why, despite the challenges we face, we just took a big gulp and joined forces with the Center for Investigative Reporting, a team of ace journalists who create the amazing podcast and public radio show Reveal.

If you can part with even just a few bucks, please help us pick up the pace of donations. We simply can’t afford to keep falling behind on our fundraising targets month after month.

Editor-in-Chief Clara Jeffery said it well to our team recently, and that team 100 percent includes readers like you who make it all possible: “This is a year to prove that we can pull off this merger, grow our audiences and impact, attract more funding and keep growing. More broadly, it’s a year when the very future of both journalism and democracy is on the line. We have to go for every important story, every reader/listener/viewer, and leave it all on the field. I’m very proud of all the hard work that’s gotten us to this moment, and confident that we can meet it.”

Let’s do this. If you can right now, please support Mother Jones and investigative journalism with an urgently needed donation today.

payment methods

AN IMPORTANT UPDATE

We’re falling behind our online fundraising goals and we can’t sustain coming up short on donations month after month. Perhaps you’ve heard? It is impossibly hard in the news business right now, with layoffs intensifying and fancy new startups and funding going kaput.

The crisis facing journalism and democracy isn’t going away anytime soon. And neither is Mother Jones, our readers, or our unique way of doing in-depth reporting that exists to bring about change.

Which is exactly why, despite the challenges we face, we just took a big gulp and joined forces with the Center for Investigative Reporting, a team of ace journalists who create the amazing podcast and public radio show Reveal.

If you can part with even just a few bucks, please help us pick up the pace of donations. We simply can’t afford to keep falling behind on our fundraising targets month after month.

Editor-in-Chief Clara Jeffery said it well to our team recently, and that team 100 percent includes readers like you who make it all possible: “This is a year to prove that we can pull off this merger, grow our audiences and impact, attract more funding and keep growing. More broadly, it’s a year when the very future of both journalism and democracy is on the line. We have to go for every important story, every reader/listener/viewer, and leave it all on the field. I’m very proud of all the hard work that’s gotten us to this moment, and confident that we can meet it.”

Let’s do this. If you can right now, please support Mother Jones and investigative journalism with an urgently needed donation today.

payment methods

We Recommend

Latest

Sign up for our free newsletter

Subscribe to the Mother Jones Daily to have our top stories delivered directly to your inbox.

Get our award-winning magazine

Save big on a full year of investigations, ideas, and insights.

Subscribe

Support our journalism

Help Mother Jones' reporters dig deep with a tax-deductible donation.

Donate