Understanding Socio-Cultural Factors related to Obesity: Sentiment Analysis on related Tweets

ObjectiveWe aim to better understand socio-cultural factors (i.e., attitudes or perceptions of cultural groups) associated with food consumption and weight loss via sentiment analysis on tweets, short messages from Twitter.IntroductionObesity can lead to the death of at least 2.8 million people each year1, yet the rate of obesity around the world has continuously increased over the past 30 years1. Societal changes, including increased food consumption and decreased physical activity, have been determined as two of the main drivers behind the current obesity pandemic2. Examining socio-cultural factors (i.e., attitudes or perceptions of cultural groups)3 associated with food consumption and weight loss can provide important insights to guide effective interventions and a novel surveillance approach to characterize population obesity trends from sociological perspectives. The primary goal of this study is to examine socio-cultural factors associated with food consumption and weight loss by conducting sentiment analysis on related online chatters. The secondary goal is to discuss the potential implications of being exposed to these different chatters in the online environment. Scientific evidence in support of using social media to understand socio-cultural factors and its potential implications can be illustrated in two concise assertions. First, online chatters, including discussions on social media, have been shown to be an effective data source for understanding public interests4,5. Second, prolonged participation in social media has been suggested to have impacts on users6–8.MethodsIn this study, we examined Twitter (www.twitter.com), a highly popular, free-to-use, micro-blogging social media platform that can instantly broadcast short messages to the world. These short messages are called Tweets and we collected weight loss related and food consumption related Tweets using Python library called Tweepy9. We used hashtags from a previous study10, including #weightloss, #diet, #fitness, and #health for collecting weight loss related tweets. Similarly, we used #Food, #FoodPorn, and #Foodie to collect food consumption related tweets. We then used a rule-based model called Vader11, a sentiment analysis tool (i.e., computational process of categorizing sentiment) developed for social media text, to measure tweets’ sentiment. We used the compound score, which is a normalized and weighted composite score that ranges from -1.0 (most negative) to 1.0 (most positive). Lastly, we conducted independent sample t-test to compare the sentiments of two types of tweets.ResultsWe collected 81,535 (from 41,436 unique user ID) weight loss related tweets from August 30th to September 2nd of 2018 and 86,277 (from 36,977 unique user ID) food consumption related Tweets from August 28th to September 2nd of 2018. The mean sentiment score for weight loss related tweets was 0.17 (sample standard deviation: 0.39), whereas the mean sentiment for food consumption related Tweets was more positive, scoring 0.26 with sample standard deviation of 0.34. The independent sample t-test suggests that the sentiment difference between the two types of tweets is statistically significant (t=52.10, p < .001). However, it is important note that the mean sentiment for both types of tweets was in the positive range.ConclusionsWe present preliminary findings concerning socio-cultural factors associated with food consumption and weight loss within twitter chatters. Our initial results suggest that individuals expressed more positive sentiment when tweeting about food consumption than when tweeting about weight loss. The results not only reflect the social norms of social media, Twitter in this particular study, but also suggest how social media can indirectly promote more food consumption over weight loss via social norms theory12 and how online social norms can reach individual members. This is especially important for young adults, the main demographic user group for social media13, as they develop lasting health related habits and behaviors. Although in its infancy, our research suggests that online sociocultural environment could be a potential socio-environmental risk factor for obesity. The next step is to utilize the findings to create online sociocultural environment that can promote the healthy choices.References1. World Health Organization. Global Health Observatory (GHO) data: Obesity [Internet]. 2009. Available from: http://www.who. int/gho/ncd/risk_factors/obesity_text/en/; Archived at: http://www.webcitation. org/6rQICh7Oq2. Hill JO. Environmental Contributions to the Obesity Epidemic. Science (80- ). 1998 May 29;280(5368):1371–4.3. Swinburn B, Egger G, Raza F. Dissecting Obesogenic Environments: The Development and Application of a Framework for Identifying and Prioritizing Environmental Interventions for Obesity. Prev Med (Baltim). 1999 Dec;29(6):563–70.4. Park A, Conway M. Towards Tracking Opium Related Discussions in Social Media. Online J Public Health Inform. 2017 May 2;9(1):e73.5. Park A, Conway M. Tracking Health Related Discussions on Reddit for Public Health Applications. Annu Symp proceedings AMIA Symp. 2017;2017:1362–71.6. Park A, Conway M. Harnessing Reddit to Understand the Written-Communication Challenges Experienced by Individuals With Mental Health Disorders: Analysis of Texts From Mental Health Communities. J Med Internet Res. 2018 Apr 10;20(4):e121.7. Park A, Conway M. Longitudinal Changes in Psychological States in Online Health Community Members: Understanding the Long-Term Effects of Participating in an Online Depression Community. J Med Internet Res. 2017 Mar 20;19(3):e71.8. Park A, Hartzler AL, Huh J, McDonald DW, Pratt W. Homophily of Vocabulary Usage: Beneficial Effects of Vocabulary Similarity on Online Health Communities Participation. Annu Symp proceedings AMIA Symp. 2015;2015:1024–33.9. Roesslein J. Tweepy [Internet]. 2009. Available from: http://www.tweepy. org10. Turner-McGrievy GM, Beets MW. Tweet for health: using an online social network to examine temporal trends in weight loss-related posts. Transl Behav Med. 2015;5(2):160–6.11. Hutto CJ, Gilbert E. Vader: A parsimonious rule-based model for sentiment analysis of social media text. Eighth Int Conf Weblogs Soc Media (ICWSM-14). 2014;216–25.12. Perkins HW, Berkowitz AD. Perceiving the community norms of alcohol use among students: some research implications for campus alcohol education programming. Int J Addict. 1986;21(9–10):961–76.13. Smith A, Anderson M. Social Media Use in 2018 [Internet]. Pew Research Center Internet, Science & Tech. 2018. Available from: http://www.pewinternet. org/2018/03/01/social-media-use-in-2018/; Archived at: http://www.webcitation. org/70NId9Vv2