Real-Time Twitter Sentiment toward Midterm Exams

Abstract

Twitter is the most popular microblogging service today, with millions of its uers posting short messages (tweets) everyday. This huge amount of user-generated content contains rich factual and subjective information ideal for computational analysis. Current research findings suggest that Twitter data could be utilized to gain accurate public sentiment on various topics and events. With help of Twitter Stream API, we collected 260,749 tweets on the subject of midterm exams from students on Twitter for two consecutive weeks (Oct 17-Oct 30, 2011). Our aim was to investigate the real-time Twitter sentiment on midterm exams by hour, day, and week for these two weeks, using a sentiment predictor built from an opinion lexicon augmented for this specific domain. At different levels of temporal granularity, our analysis revealed the variation of sentiment. The average sentiment of the first week (Oct 17-23) was more negative than the second week (Oct 24-30). For both weeks, the overall trend curves of sentiment increased from Monday to Sunday. For each weekday, there was a period around 9:00 am-5:00 pm EST that had maximum sentimet. On each weekend, the sentiment values during a day reached their maximum between 5:00 am to 8:00 am, and then decreased after 8:00am. Furthermore, we observed some consistent group behavior of Twitter users based on seemingly random behavior of each individual. The lowest number of tweets always occured around 5:00 am-6:00 am each day, and the maximum number was around 1:00 pm except Sunday. The minimum of tweet lengths happened usually around 9:00 am and the maximum length was around 4:00 am everyday. Twitter users with positive sentiment appeared to have more friends and followers than those carrying negative sentiment. Also, users who shared the same sentiment inclined to have similar ratios of friends and followers, which is not true for general users.

Share and Cite:

Hu, W. (2012). Real-Time Twitter Sentiment toward Midterm Exams. Sociology Mind, 2, 177-184. doi: 10.4236/sm.2012.22023.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Asur, S., & Huberman, B. A. (2010). Predicting the future with social media. Proceedings of the ACM international conference on web intelligence, Toronto, 31 August-3 September 2010, 492-499.
[2] Bollen, J., Pepe, A., & Mao, H. N. (2011). Modeling public mood and emotion: Twitter sentiment and socio-economic phenomena. The International Conference on Weblogs and Social Media, Barcelona, 17-21 July 2011.
[3] Go, A., Bhayani, R., & Huang, L. (2009). Twitter sentiment classifica- tion using distant supervision. Stanford: CS224N Project Report.
[4] Hu, M. Q., & Liu, B. (2004). Mining and summarizing customer reviews. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Seattle, 22-25 August 2004.
[5] Jansen, B. J., Zhang, M., Sobel, K., & Chowdury, A. (2009). Twitter power: Tweets as electronic word of mouth. Journal of the American Society for Information Science and Technology, 60, 2169-2188. doi:10.1002/asi.21149
[6] Java, A., Song, X., Finin, T., & Tseng B. (2007). Why we twitter: Understanding microblogging usage and communities. Proceedings of the 9th WebKDD and 1st SNA-KDD 2007 Workshop on Web mining and Social Network Analysis, San Jose, 12-15 August 2007, 56-65.
[7] Krishnamurthy, B., Gill, P., & Arlitt, M. (2008). A few chirps about twitter. Proceedings of the First Workshop on Online Social Net- works, Seattle, 17-22 August 2008, 19-24.
[8] Liu, B. (2010). Sentiment analysis and subjectivity, invited chapter for the handbook of natural language processing (2nd ed.). London/ Boca Raton: Chapman and Hall/CRC.
[9] Lu, B., & Tsou, B. K. (2010). Combining a large sentiment lexicon and machine learning for subjectivity classification. Proceedings of the International Conference of Machine Learning and Cybernetics, Qing- dao, 11-14 July 2010, 3311-3316.
[10] MorNaaman, C.-H. L., & Boase, J. (2010). Is it all about me? User content in social awareness streams. Proceedings of the 2010 ACM Conference on Computer Supported Cooperative Work, Savannah, 6- 10 February 2010.
[11] O’Connor, B., Balasubramanyan, R., Routledge, B. R., & Smith, N. A. (2010). From tweets to polls: Linking text sentiment to public opin- ion time series. Proceedings of the International Artificial Intelli- gence Conference on Weblogs and Social Media, Atlanta, 11-15 July 2010, 122-129.
[12] Pang, B., Lee, L., & Vaithyanathan, S. (2002). Thumbs up? Sentiment classification using machine learning techniques. Proceedings of the Conference on Empirical Methods in Natural Language Processing, Philadelphia, 6-7 July 2002, 79-86.
[13] Pang, B., & Lee, L. (2008). Opinion mining and sentiment analysis. Foundations and Trends in Information Retrieval, 2, 1-135. doi:10.1561/1500000011
[14] Pak, A., & Paroubek, P. (2010). Twitter as a corpus for sentiment analysis and opinion mining. Proceedings of The International Conference on Language Resources and Evaluation Conference, Malta, 17-23 May 2010, 1320-1326.
[15] Tan, S. B., Wang, Y. F., & Cheng, X. Q. (2008). Combining learn- based and lexicon-based techniques for sentiment detection without using labeled examples. Proceedings of the 31st ACM SIGIR Con- ference on Research and Development in Information Retrieval, Sin- gapore, 20-24 July 2008,739-740.
[16] Turney, P. (2002). Thumbs up or thumbs down? Semantic orientation applied to unsupervised classification of reviews. Proceedings of the Association for Computational Linguistics, Philadelphia, 6-12 July 2002, 417-424.
[17] Velikovich, L., Blair-Goldensohn, S., Hannan, K., & McDonald, R. (2010). The viability of web-derived polarity lexicons, human language technologies. The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics, Associa- tion for Computational Linguistics, Los Angeles, 1-6 June 2010, 777- 785.
[18] Vieweg, S., Hughes, A. L., Starbird, K., & Palen, L. (2010). Microb- logging during two natural hazards events: What twitter may con- tribute to situational awareness. Proceedings of the 28th Interna- tional Conference on Human factors in Computing Systems, Atlanta, 10-15 April 2010, 1079-1088.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.