Skip to main content

Predicting Dependency of Approval Rating Change from Twitter Activity and Sentiment Analysis

  • Conference paper
  • First Online:
Book cover Agents and Multi-Agent Systems: Technologies and Applications 2020

Part of the book series: Smart Innovation, Systems and Technologies ((SIST,volume 186))

Abstract

In recent years, multi-agent systems have been augmented with alternative social network data like Twitter for preforming target inference. To this extent, public figures tracked by agent system usually have key social value in social networks. This social value can additionally drift in public approval based on social network communication. To test the connection in public approval and social communication, we perform analysis of presidential Twitter account activity during the two-year period 2017–2018. Sentiment analysis was used on the processed tweets in order to test such a data set’s predictability in gaining an insight into a 7, 14 and 21 days (1, 2 and 3 weeks) significant presidential job approval rating change. To this extent, five different supervised machine learning algorithms are used: Random Forest, Xgboost, AdaBoost, AdaBag and ExtraTrees. Results indicate that voter approval rating has slight future predictability based on Twitter activity and emotional sentiment analysis possibly indicating consistency with the human nature of positive news and outcomes resonating with people for a much shorter period than negative ones.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    www.trumptwitterarchive.com.

  2. 2.

    www.fivethirtyeight.com.

References

  1. Alfaro-Cortés, E., Gámez, M.: Adabag an R package for classification with boosting and bagging. J. Stati. Soft. 54 (2013)

    Google Scholar 

  2. Baumeister, R., Bratslavsky, E., Finkenauer, C., Vohs, K.: Bad is stronger than good. Rev. Gen. Psychol. 5 (2001). https://doi.org/10.1037/1089-2680.5.4.323

    Article  Google Scholar 

  3. Bhardwaj, P., Gautam, S., Pahwa, P.: A novel approach to analyze the sentiments of tweets related to tripadvisor. J. Inf. Optim. Sci. 39, 591–605 (2018). https://doi.org/10.1080/02522667.2017.1417726

    Article  Google Scholar 

  4. Bhatia, R., Garg, P., Johari, R.: Corpus based twitter sentiment analysis (2018)

    Google Scholar 

  5. Breiman, L.: Bagging predictors. Mach. Learn. 24, 123–140 (1996)

    MATH  Google Scholar 

  6. Chen, T., Guestrin, C.: Xgboost: a scalable tree boosting system, pp. 785–794 (2016). https://doi.org/10.1145/2939672.2939785

  7. DeLong, E.R., DeLong, D.M., Clarke-Pearson, D.L.: Comparing the areas under two or more correlated receiver operating characteristic curves: a nonparametric approach. Biometrics 44, 837–845 (1988)

    Article  Google Scholar 

  8. Freund, Y., Schapire, R.E.: A short introduction to boosting (1999)

    Google Scholar 

  9. Geurts, P., Ernst, D., Wehenkel, L.: Extremely randomized trees. Mach. Learn. 63, 3–42 (2006)

    Article  Google Scholar 

  10. Ho, T.: Random Decision Forests, vol. 1, pp. 278–282 (1995). https://doi.org/10.1109/ICDAR.1995.598994

  11. Ho, T.: The random subspace method for constructing decision forests. IEEE Trans. Pattern Anal. Mach. Intell. 20, 832–844 (1998)

    Article  Google Scholar 

  12. Jang, H.J., Sim, J., Lee, Y., Kwon, O.: Deep sentiment analysis: Mining the causality between personality-value-attitude for analyzing business ads in social media. Expert Syst. Appl. 40, 7492–7503 (2013)

    Article  Google Scholar 

  13. Jin, S., Zafarani, R.: Sentiment prediction in social networks (2018). https://doi.org/10.1109/ICDMW.2018.00190

  14. Kégl, B.: The return of adaboost.mh: multi-class hamming trees (2013)

    Google Scholar 

  15. Logunov, A., Panchenko, V.P.: Characteristics and predictability of twitter sentiment series (2011)

    Google Scholar 

  16. Mewari, R., Singh, A., Srivastava, A.: Opinion mining techniques on social media data. Int. J. Comput. Appl. 118, 39–44 (2015). https://doi.org/10.5120/20753-3149

    Article  Google Scholar 

  17. Mohammad, S., Turney, P.: Emotions evoked by common words and phrases: using mechanical turk to create an emotion lexicon (2010)

    Google Scholar 

  18. Mohammad, S.M., Turney, P.D.: Crowdsourcing a word-emotion association lexicon. 29(3), 436–465 (2013)

    Google Scholar 

  19. Mumtaz, D., Ahuja, B.: A lexical approach for opinion mining in twitter. Int. J. Educ. Manag. Eng. 6, 20–29 (2016). https://doi.org/10.5815/ijeme.2016.04.03

    Article  Google Scholar 

  20. Munjal, P., Narula, M., Kumar, S., Banati, H.: Twitter sentiments based suggestive framework to predict trends. J. Stat. Manag. Syst. 21, 685–693 (2018). https://doi.org/10.1080/09720510.2018.1475079

    Article  Google Scholar 

  21. OConnor, B., Balasubramanyan, R., Routledge, B., Smith, N.: From tweets to polls: linking text sentiment to public opinion time series (2010)

    Google Scholar 

  22. Pagolu, V.S., Challa, K.N.R., Panda, G., Majhi, B.: Sentiment analysis of twitter data for predicting stock market movements, pp. 1345–1350 (2016)

    Google Scholar 

  23. Pang, B., Lee, L.: Opinion mining and sentiment analysis. Found. Trends Inf. Retr. 2, 1–135 (2008). https://doi.org/10.1561/1500000011

    Article  Google Scholar 

  24. Sharif, W., Samsudin, N.A., Deris, M.M., Naseem, R.: E ect of negation in sentiment analysis. In: 2016 Sixth International Conference on Innovative Computing Technology (INTECH), pp. 718–723 (2016)

    Google Scholar 

  25. Soni, R., Mathai, K.J.: Improved twitter sentiment prediction through cluster-then-predict model (2015)

    Google Scholar 

  26. Tumasjan, A., Sprenger, T.O., Sandner, P.G., Welpe, I.M.: Predicting elections with twitter: what 140 characters reveal about political sentiment (2010)

    Google Scholar 

  27. Vinodhini, G., Chandrasekaran, D.: A comparative performance evaluation of neural network based approach for sentiment classification of online reviews. J. King Saud Univ. Comput. Inf. Sci. 28 (2015). https://doi.org/10.1016/j.jksuci.2014.03.024

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Demijan Grgić .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Grgić, D., Karaula, M., Bagić Babac, M., Podobnik, V. (2020). Predicting Dependency of Approval Rating Change from Twitter Activity and Sentiment Analysis. In: Jezic, G., Chen-Burger, J., Kusek, M., Sperka, R., Howlett, R., Jain, L. (eds) Agents and Multi-Agent Systems: Technologies and Applications 2020. Smart Innovation, Systems and Technologies, vol 186. Springer, Singapore. https://doi.org/10.1007/978-981-15-5764-4_10

Download citation

Publish with us

Policies and ethics