Modeling Spatiotemporal Factors Associated With Sentiment on Twitter: Synthesis and Suggestions for Improving the Identification of Localized Deviations

被引:11
作者
Shah, Zubair [1 ]
Martin, Paige [1 ]
Coiera, Enrico [1 ]
Mandl, Kenneth D. [2 ,3 ]
Dunn, Adam G. [1 ]
机构
[1] Macquarie Univ, Ctr Hlth Informat, Australian Inst Hlth Innovat, 75 Talavera Rd,Macquarie Pk, Sydney, NSW 2113, Australia
[2] Boston Childrens Hosp, Computat Hlth Informat Program, Boston, MA USA
[3] Harvard Med Sch, Dept Biomed Informat, Boston, MA 02115 USA
基金
英国医学研究理事会;
关键词
text mining; social media; public health; SOCIAL MEDIA; MOOD; WEATHER; TIME;
D O I
10.2196/12881
中图分类号
R19 [保健组织与事业(卫生事业管理)];
学科分类号
摘要
Background: Studies examining how sentiment on social media varies depending on timing and location appear to produce inconsistent results, making it hard to design systems that use sentiment to detect localized events for public health applications. Objective: The aim of this study was to measure how common timing and location confounders explain variation in sentiment on Twitter. Methods: Using a dataset of 16.54 million English-language tweets from 100 cities posted between July 13 and November 30, 2017, we estimated the positive and negative sentiment for each of the cities using a dictionary-based sentiment analysis and constructed models to explain the differences in sentiment using time of day, day of week, weather, city, and interaction type (conversations or broadcasting) as factors and found that all factors were independently associated with sentiment. Results: In the full multivariable model of positive (Pearson r in test data 0.236; 95% CI 0.231-0.241) and negative (Pearson r in test data 0.306; 95% CI 0.301-0.310) sentiment, the city and time of day explained more of the variance than weather and day of week. Models that account for these confounders produce a different distribution and ranking of important events compared with models that do not account for these confounders. Conclusions: In public health applications that aim to detect localized events by aggregating sentiment across populations of Twitter users, it is worthwhile accounting for baseline differences before looking for unexpected changes.
引用
收藏
页数:16
相关论文
共 73 条
[1]  
Adam DI., 2010, P SIGCHI C HUM FACT
[2]   A survey of location inference techniques on Twitter [J].
Ajao, Oluwaseun ;
Hong, Jun ;
Liu, Weiru .
JOURNAL OF INFORMATION SCIENCE, 2015, 41 (06) :855-864
[3]   Enhancing disease surveillance with novel data streams: challenges and opportunities [J].
Althouse, Benjamin M. ;
Scarpino, Samuel V. ;
Meyers, Lauren Ancel ;
Ayers, John W. ;
Bargsten, Marisa ;
Baumbach, Joan ;
Brownstein, John S. ;
Castro, Lauren ;
Clapham, Hannah ;
Cummings, Derek A. T. ;
Del Valle, Sara ;
Eubank, Stephen ;
Fairchild, Geoffrey ;
Finelli, Lyn ;
Generous, Nicholas ;
George, Dylan ;
Harper, David R. ;
Hebert-Dufresne, Laurent ;
Johansson, Michael A. ;
Konty, Kevin ;
Lipsitch, Marc ;
Milinovich, Gabriel ;
Miller, Joseph D. ;
Nsoesie, Elaine O. ;
Olson, Donald R. ;
Paul, Michael ;
Polgreen, Philip M. ;
Priedhorsky, Reid ;
Read, Jonathan M. ;
Rodriguez-Barraquer, Isabel ;
Smith, Derek J. ;
Stefansen, Christian ;
Swerdlow, David L. ;
Thompson, Deborah ;
Vespignani, Alessandro ;
Wesolowski, Amy .
EPJ DATA SCIENCE, 2015, 4 (01) :1-8
[4]  
Alves A. L. F., 2016, J INFORM DATA MANAGE, V6, P118
[5]   Sharing political news: the balancing act of intimacy and socialization in selective exposure [J].
An, Jisun ;
Quercia, Daniele ;
Cha, Meeyoung ;
Gummadi, Krishna ;
Crowcroft, Jon .
EPJ DATA SCIENCE, 2014, 3 (01) :1-21
[6]  
[Anonymous], 2013, THATS WHAT FRIENDS A
[7]  
[Anonymous], 2011, J COMPUT SCI-NETH, DOI [DOI 10.1016/j.jocs.2010.12.007, DOI 10.1016/J.JOCS.2010.12.007]
[8]   Is all that talk just noise? The information content of Internet stock message boards [J].
Antweiler, W ;
Frank, MZ .
JOURNAL OF FINANCE, 2004, 59 (03) :1259-1294
[9]  
Asur S., 2010, Proceedings 2010 IEEE/ACM International Conference on Web Intelligence-Intelligent Agent Technology (WI-IAT), P492, DOI 10.1109/WI-IAT.2010.63
[10]   A SURVEY OF TECHNIQUES FOR EVENT DETECTION IN TWITTER [J].
Atefeh, Farzindar ;
Khreich, Wael .
COMPUTATIONAL INTELLIGENCE, 2015, 31 (01) :132-164