Gates scholar publishes Twitter happiness map

  • March 30, 2011
Gates scholar publishes Twitter happiness map

Alex Davies has created a Twitter map showing which countries are the happiest.

Germany is the happiest country in the world, according to a happiness map based on Twitter users.

The country rated highest on the map which rated words and icons used to describe happiness on social network site Twitter.

It was closely followed by Mexico, the US, the Netherlands and Denmark. Sweden lived up to its depressive reputation and rated lowest, although the map only tracked those countries where there was enough tweeting going on to make a rating possible.

Other countries which scored among the lowest on happiness were Colombia, Argentina, Malaysia and Canada. The UK was fairly unhappy, rating 18th out of the 25 countries measured. This compared with India, which rated 7th. In Africa, Egypt was several places ahead of Nigeria.

The map was compiled by Gates scholar Alex Davies [2010] who determined levels of happiness from looking at high-level correlations between words and emoticons.

Due to the high number of tweets from the US and Brazil, Alex was able to break down the happiness rating by regions. It shows that in the US, Tennessee and Colorado are the happiest states with Nevada and Mississippi the least happy. New Yorkers and Californians are somewhere in the middle with New Yorkers slightly more upbeat than their West coast counterparts.

Alex looked at where people were and what they were Tweeting and created language models to assess the distribution of words and icons associated with happiness and unhappiness.

“It was important to have a model that was not just tied to English words, so it is in part based on smiley faces,” he says.  “As tweets are very short, emoticons in them provide a good indicator of whether a person is happy or sad.

But for tweets without emoticons, we have learnt to predict sentiment from the complex interactions between emoticons and words.”

This involves tracking tweets with words that appear together more often as well as those that appear with particular emoticons. This explains, for instance, why the late footballer Dean Richards is listed among the sad terms on the UK map.

In addition, since Twitter is a very multi-lingual site, even within countries, various languages often appear in words for any given country.

Alex, who is from Australia, started his PhD in Engineering in October. He says his work on the happiness map may not form part of his PhD. His main interest is in statistical modelling.

Alex’s Twitter map has got coverage around the world:

http://uk.ibtimes.com/articles/129868/20110402/tweet-twitter-happiest-country-germany-happiness-map.htm

http://www.myscience.me.uk/wire/germans_top_table_of_happiest_tweets-2011-cambridge

http://www.myscience.me.uk/wire/germans_top_table_of_happiest_tweets-2011-cambridge

http://www.greenecopath.com/general-interest/germany-happiest-country-according-to-study-of-tweets/

Photo: Salvatore Vuono and www.freedigitalphotos.net

Latest News

Addressing the mental health emergency

Mental health has been rising up the global health priority list over the last few years, but Covid accelerated it. Yet the resources available to those in crisis situations are few. Gates Cambridge Scholar Usama Mirza is addressing one particular gap in his home country of Pakistan, having recently launched Asia’s first mental health ambulance […]

Food security in Africa through a multi-disciplinary lens

Three Gates Cambridge Scholars are collaborating on an innovative project to map and address the disappearance of historically undervalued African indigenous and traditional food crops at a time of climate crisis. The project is the brainchild of Dr Carol Ibe, founder of the JR Biotek Foundation, a charity which trains, upskills and empowers present and […]

Double winner

Jenna Armstrong has done it again. Last year she was part of the winning Cambridge women’s rowing team and her team did it again last weekend. Jenna [2020] started rowing in 2011 as an undergraduate, but took five years off from 2015 to 2020 until she picked it up again when she started at Cambridge. She […]

What does extreme weather mean for us?

Three Gates Cambridge Scholars from China, the US and India are taking part in the third episode of the Gates Cambridge podcast, So, now what? which is out today [26th March] as part of the Cambridge Festival’s Festival of Podcasts. The episode, featuring Victoria Herrmann [2015], Songqiao Yao [2014] and Ramit Debnath [2018] and hosted […]