iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://doi.org/10.1007/s13278-014-0193-5
Predicting political preference of Twitter users | Social Network Analysis and Mining Skip to main content
Log in

Predicting political preference of Twitter users

  • Original Article
  • Published:
Social Network Analysis and Mining Aims and scope Submit manuscript

Abstract

We study the problem of predicting the political preference of users on the Twitter network, showing that the political preference of users can be predicted from their Twitter behavior towards political parties. We show this by building prediction models based on a variety of contextual and behavioral features, training the models by resorting to a distant supervision approach and considering party candidates to have a predefined preference towards their respective parties. A language model for each party is learned from the content of the tweets by the party candidates, and the preference of a user is assessed based on the alignment of user tweets with the language models of the parties. We evaluate our work in the context of two real elections: 2012 Albertan and 2013 Pakistani general elections. In both cases, we show that our model outperforms, in terms of the F-measure, sentiment and text classification approaches and is at par with the human annotators. We further use our model to analyze the preference changes over the course of the election campaign and report results that would be difficult to attain by human annotators.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Notes

  1. 57 % Voter turnout, the highest since 1983: http://www.cbc.ca/news/canada/albertavotes2012/story/2012/04/24/albertavotes-2012-voter-turnout.html.

  2. Alberta general election, 2012: http://en.wikipedia.org/wiki/Alberta_general_election,_2012.

  3. http://en.wikipedia.org/wiki/Alberta_general_election_2012#Timeline.

  4. The authors have shown that the top ten features perform as good as the full set of features.

  5. http://en.wikipedia.org/wiki/List_of_newspapers_in_Alberta.

  6. http://en.wikipedia.org/wiki/List_of_cities_in_Alberta.

  7. http://en.wikipedia.org/wiki/List_of_emoticons.

  8. The rest were moderate users which are ignored here.

  9. http://blog.mastermaq.ca/2012/04/28/alberta-election-social-media-highlights.

  10. Pakistani general election, 2013: http://en.wikipedia.org/wiki/Pakistani_general_election,_2013.

  11. http://www.ecp.gov.pk.

  12. http://chaoticity.com/urdusentimentlexicon.

  13. http://www.ijunoon.com/transliteration/urdu-to-roman.

  14. http://www.edmontonjournal.com/news/6477884/story.html.

  15. http://lgdata.s3-website-us-east-1.amazonaws.com/docs/35/711395/survey.

References

  • Benevenuto F, Magno G, Rodrigues T, Almeida V (2010) Detecting spammers on twitter. In: Proceedings of Collaboration, Electronic messaging, Anti-Abuse and Spam Conference (CEAS)

  • Choy M, Cheong MLF, Laik MN, Shung KP (2011) A sentiment analysis of Singapore presidential election 2011 using twitter data with census correction. CoRR abs/1108.5520

  • Conover M, Gonçalves B, Ratkiewicz J, Flammini A, Menczer F (2011a) Predicting the political alignment of Twitter users. In: Proceedings of SocialCom/PASSAT Conference, pp 192–199

  • Conover M, Ratkiewicz J, Francisco M, Gonçalves B, Menczer F, Flammini A (2011b) Political polarization on Twitter. In: Proceedings of the ICWSM Conference

  • Fleiss J et al (1971) Measuring nominal scale agreement among many raters. Psychol Bull 76(5):378–382

    Article  Google Scholar 

  • Golbeck J, Hansen DL (2011) Computing political preference among twitter followers. In: Proceedings of HCI Conference, pp 1105–1108

  • Hu M, Liu B (2004) Mining and summarizing customer reviews. In: Proceedings of KDD Conference, pp 168–177

  • Kucuktunc O, Cambazoglu B, Weber I, Ferhatosmanoglu H (2012) A large-scale sentiment analysis for Yahoo! answers. In: Proceedings of WSDM Conference, pp 633–642

  • Livne A, Simmons MP, Adar E, Adamic LA (2011) The party is over here: structure and content in the 2010 election. In: Proceedings of the ICWSM Conference

  • Makazhanov A, Rafiei D (2013) Predicting political preference of Twitter users. In: Proceedings of the ASONAM Conference, pp 298–305

  • Marchetti-Bowick M, Chambers N (2012) Learning for microblogs with distant supervision: political forecasting with Twitter. In: Proceedings of the EACL Conference, pp 603–612

  • Metaxas P, Mustafaraj E, Gayo-Avello D (2011) How (not) to predict elections. In: Proceedings of the SocialCom/PASSAT Conference, pp 165–171

  • Mustafaraj E, Finn S, Whitlock C, Metaxas PT (2011) Vocal minority versus silent majority: discovering the opionions of the long tail. In: SocialCom/PASSAT, pp 103–110

  • O’Connor B, Balasubramanyan R, Routledge BR, Smith NA (2010) From tweets to polls: linking text sentiment to public opinion time series. In: Proceedings of the ICWSM Conference

  • Ratkiewicz J, Conover M, Meiss M, Gonçalves B, Flammini A, Menczer F (2011) Detecting and tracking political abuse in social media. In: Proceedings of the ICWSM Conference

  • Sepehri HR, Makazhanov A, Rafiei D, Barbosa D (2012) Leveraging editor collaboration patterns in Wikipedia. In: Proceedings of the HT Conference, pp 13–22

  • Sparks D (2010) Birds of a feather tweet together: Partisan structure in online social networks. In: Presented at the 2010 meeting of the Midwest Political Science Association

  • Thelwall M, Buckley K, Paltoglou G, Cai D, Kappas A (2010) Sentiment strength detection in short informal text. J Am Soc Inf Sci Technol 61(12):2544–2558

    Article  Google Scholar 

  • Thelwall M, Buckley K, Paltoglou G (2011) Sentiment in Twitter events. J Am Soc Inf Sci Technol 62(2):406–418

    Article  Google Scholar 

  • Tumasjan A, Sprenger TO, Sandner PG, Welpe IM (2010) Predicting elections with Twitter: What 140 characters reveal about political sentiment. In: Proceedings of the ICWSM Conference

  • Wang H, Can D, Kazemzadeh A, Bar F, Narayanan S (2012) A system for real-time Twitter sentiment analysis of 2012 US Presidential election cycle. In: ACL (System Demonstrations), pp 115–120

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Davood Rafiei.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Makazhanov, A., Rafiei, D. & Waqar, M. Predicting political preference of Twitter users. Soc. Netw. Anal. Min. 4, 193 (2014). https://doi.org/10.1007/s13278-014-0193-5

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s13278-014-0193-5

Keywords

Navigation