News

Sep 30 2011

Twitter analysis reveals global human moodiness, says Cornell

Cornell University social scientists use Twitter and Hadoop to study human behavior

Twitter, Facebook and other social media sites are often criticised for encouraging people to share thoughts of little consequence, though social scientists are finding these electronic missives, when assembled en masse and analysed with big data tools, can offer a wealth of new information about how people think and act.

A pair of researchers from Cornell University are the latest to mine social networks for such academic insight. Scott Golder and Michael Macy analysed 509 million Twitter messages emitted over a period of two years by 2.4 million users across 84 different countries. From this data, they have gleaned that people have the same daily cycle of moods, regardless of their culture or language.

A paper summarising the work, "Diurnal and Seasonal Mood Vary with Work, Sleep, and Daylength Across Diverse Cultures," is in Thursday's issue of the journal Science.

Mining social networks for insights

Beyond the immediate results, the work points to a possible new path in academic research, that of mining social networks for academic insight, the researchers said.

"The paper illustrates the opportunities for doing social and behavioral science in a new way," Macy said. "The growing tendency for human beings all over the globe to interact with one another using digital devices opens opportunities for research that were unimaginable even five years ago."

"Far from seeing conversations as mundane and useless, we see value in the fact that they are real-time, time-stamped messages produced by people on the spot for sharing with their friends," Golder added.

The researchers used Twitter's API (application programming interface) to gather the messages. They set up a six-node cluster to extract the data, which arrived packaged in XML, and converted the results into flat files. They then used a 55-node Hadoop cluster, running at the Cornell University Center for Advanced Computing, to analyse the dataset.

The analysis tool they used, Linguistic Inquiry and Word Count, links specific words to various positive and negative moods. Messages that might include words such as "awesome," "fantastic" or "pretty" could indicate a positive state, whereas words like "remorse," "abandonment," "fear" or "fury" indicate a negative state of some sort.

People's moods dip in the day and perk up at night

The results showed people tend to be more chirpy in the morning and during weekends. The messages revealed that they wake up happy and slowly grow more disgruntled and sour as the day goes on, though their affect usually rebounds in the evening. This behavior happens on both weekdays and weekends, though the weekend tweets usually start about two hours later than the weekday ones, perhaps because people are sleeping in.

Even in countries where the weekend is not Saturday and Sunday (in the United Arab Emirates, for instance, people work Sunday through Thursday), these patterns were evident.

While the findings may seem obvious, the Cornell work is actually the first full-scale study to show this behaviour in empirical form, the researchers contend. Twitter proved valuable in this study because it captures the affect of the individual in real time, Golder said. Typically, clinical studies are done either by bringing subjects to a lab and watching their behaviours - an unnatural environment for studying day-to-day activities - or surveying them, an approach limited by fallibility of the subjects' memories.

Also, some subjects "are just not very good at being aware of what their feelings are," Golder said. "It's a big advantage to access people's words in a setting that is natural and spontaneous."

The work, funded by the US National Science Foundation, was done under a research group led by Macy, which combines sociologists and computer scientists to pursue computer-assisted social science research projects. Golder's background is in linguistics and computer science. Prior to joining Cornell, he worked as a research scientist for Hewlett-Packard.

The project "required some engineering know-how, and that will be something that will have to be more and more important for empiric social sciences," he said.

Other parties have also been investigating this new technique of analysing human activities through the quantitative analysis of their written output, a practice some scholars call culturonomics. In 2010, Google Labs launched a text analysis tool that allows researchers to execute numerical text analysis against Google's massive store of digitized books, which dates back centuries.

This week, Google incorporated the tool, called NGram Viewer, directly into its Google Books service.

Also this week, Twitter has released the source code for its Storm stream processing engine, data analysis software that should help researchers and other users analyze multiple Twitter feeds as they are updated.



Date Title
9/30/11 Crime by federal correctional officers is on the rise, report finds
9/30/11 Man to admit to shipping unsolicited ‘erectile pumps’ in Medicare scam
9/30/11 APNewsBreak: Brown tree snake program to continue
9/30/11 Grant will fund parking lot
9/30/11 Tourism, Arts and Heritage Cabinet Secretary Marcheta Sparrow presents $500,000 toward stabilization and rehabilitation of the Holt House
9/30/11 Society to reap nearly $1 million in federal transportation grants
9/30/11 VA prepares to purchase iPads, iPhones
9/30/11 Federal retirement plans almost as costly as Social Security
9/30/11 Digital Games Institute wins federal grant
9/30/11 Current record
9/27/11 Audit reveals city paid $11.8 million in housing subsidies to dead people
9/27/11 Barrow woman indicted by Federal Grand Jury for misapplication of funds from federally funded program
9/27/11 Count on it: Acorn survey takes researchers up and down California
9/27/11 Apple iPad for kindergarten students? Schools try them
9/27/11 Staffers get work iPads
9/27/11 Hill staffers fear pay cuts, layoffs
9/27/11 State gets grant for overseas initiative
9/27/11 Alaska ‘bridge to nowhere,’ the Knik Arm Crossing Project, still on the table
9/23/11 Controller's audit finds $31 million in questionable spending by Montebello
9/23/11 Another big grant for Wormfarm; $100,000 coming for Fermentation Fest/Art Dtour
9/23/11 A Herald investigative report: Rural Internet project money frozen as feds investigate Obama stimulus program
9/23/11 U.S. spending billions on rural jobs, but impact is uncertain
9/23/11 I-Team 10 Investigation: Non-profit workers accused of stealing city grant money
9/23/11 Dead federal retirees are paid $120 million annually, report says
9/22/11 A tale of two U.S. government data center projects
9/22/11 Port of Anchorage project faces federal audit
9/22/11 Solyndra employees: Company suffered from mismanagement, heavy spending
9/22/11 Feds raid home of State Department worker embroiled in $52 million contract abuse case
9/22/11 Bennett Environmental Inc. pleads guilty to defrauding the U.S. Environmental Protection Agency
9/22/11 Recipe Finder
9/22/11 Feds are spending billions of dollars to subsidize junk food, Iowa report shows
9/21/11 Good for the planet; good for his wallet
9/21/11 Sexual satisfaction tied to overall 'successful aging' as reported by women age 60 to 89
9/21/11 Baylor Religion Survey reveals many see God steering economy
9/21/11 Greensburg breaks ground on new Big Well Museum
9/21/11 Mat-Su's would-be ferry comes with big bills but no income
9/21/11 NASA’S grant administration and management
9/21/11 Bell's looks to expand, adding brewing capacity
9/21/11 Former director of Waterbury Boys and Girls Club indicted on embezzlement and fraud charges
9/21/11 The IRS needs to review its furniture storage contract
9/20/11 Not-for-profit group used state funds to buy decked-out Hummer
9/20/11 FEMA flood prevention cash unused
9/20/11 Report: Health-benefits exchange could cost up to $89 million annually
9/20/11 GenPhar CEO indicted: Federal officials say man took grant money intended for scientific research
9/20/11 UC-Riverside researchers to study link between social media and mood
9/20/11 ‘Extravagant’ spending, $16 muffins found at Justice Department meetings
9/20/11 Tax dollars withdrawn at liquor stores, strip clubs
9/19/11 Grant sought to restore caboose
9/19/11 Toledo Harbor Lighthouse to open for tours
9/19/11 FEMA's local Irene assistance office reports low attendance
9/19/11 Billions in unemployment benefits paid in error
9/19/11 Proposed pay for employees raises eyebrows
9/19/11 Squirrels nearly bring Senate to a halt
9/19/11 Rich tax breaks bolster makers of video games
9/19/11 Sailing along on their good looks? It appears so
9/12/11 Earmark ban further delays National Archives expansion
9/12/11 Puerto Rico disability claims probed
9/12/11 Department of Agricultural Resources receives USDA grant to assist Massachusetts Brewing Industry
9/12/11 Billions in federal 9/11 relief funds went unspent, report finds
9/12/11 Sikorsky overcharged Army for Black Hawk part
9/12/11 New housing for homeless opening in Bethesda
9/12/11 CDC to fight HIV with comic books
9/12/11 Glow-in-the-dark cats against AIDS, other diseases
9/9/11 Study finds extensive waste in war contracting
9/9/11 Border agent says there's nothing to do, says money is being wasted
9/9/11 City worker jailed for stealing $10M from fund to identify 9/11 remains still holding on to cash
9/9/11 State Dept. spends terrorism and emergency dollars on parties, rented linens and a kitchen
9/9/11 Iowa officials question Homeland Security expenditures used since 9/11
9/9/11 State's management of Homeland Security grants draws criticism
9/8/11 Surry partners for a national viticulture and enology initiative
9/8/11 Sistrunk Boulevard work is nearly $750,000 over budget
9/8/11 Investigation of double-billing for Newtown Front Porch
9/8/11 DOE: Sluggish energy-efficiency grant program undermines stimulus goals -- IG
9/8/11 A quarter of USPS facility space is excess, IG says
9/8/11 Santa Fe scenic byway given $60,000 grant
9/8/11 The Strong receives over $100K grant for video game preservation
9/8/11 Treehouse Museum in Ogden scores $74K grant
9/8/11 Taxpayer-funded app makes you look like a Neanderthal
9/1/11 Football analysis leads to advance in artificial intelligence
9/1/11 Per diem rates to increase Oct. 1 for travel to many large cities
9/1/11 Ogdensburg misused federal grant funds to pay itself taxes
9/1/11 Fremont solar tech firm Solyndra to shut down, lay off hundreds of workers
9/1/11 Taxpayers could be on hook for jobs agency's misspending
9/1/11 Staples college receives grant to train technicians in wine production
9/1/11 For ‘briefing,’ $20,000 lunch is on the House
9/1/11 Hours some USPS workers are paid to do nothing: Now under 1 million
9/1/11 D.C. seeks to recover nonprofit funds used to renovate strip club