Sentiment Analysis of Tweets on Soda Taxes
Ruopeng An1, Yuyi Yang, Quinlan Batcheller
1Brown School, Washington University in St Louis, St Louis, Missouri.
Context:
As a primary source of added sugars, sugar-sweetened beverage (SSB) consumption may contribute to the obesity epidemic. A soda tax is an excise tax charged on selling SSBs to reduce consumption. Currently, 8 cities/counties in the United States have imposed soda taxes.
Objective:
This study assessed people's sentiments toward soda taxes in the United States based on social media posts on Twitter.
Design:
We designed a search algorithm to systematically identify and collect soda tax-related tweets posted on Twitter. We built deep neural network models to classify tweets by sentiments.
Setting:
Computer modeling.
Participants:
Approximately 370 000 soda tax-related tweets posted on Twitter from January 1, 2015, to April 16, 2022.
Main Outcome Measure:
Sentiment associated with a tweet.
Results:
Public attention paid to soda taxes, indicated by the number of tweets posted annually, peaked in 2016, but has declined considerably ever since. The decreasing prevalence of tweets quoting soda tax-related news without revealing sentiments coincided with the rapid increase in tweets expressing a neutral sentiment toward soda taxes. The prevalence of tweets expressing a negative sentiment rose steadily from 2015 to 2019 and then slightly leveled off, whereas that of tweets expressing a positive sentiment remained unchanged. Excluding news-quoting tweets, tweets with neutral, negative, and positive sentiments occupied roughly 56%, 29%, and 15%, respectively, during 2015-2022. The authors' total number of tweets posted, followers, and retweets predicted tweet sentiment. The finalized neural network model achieved an accuracy of 88% and an F1 score of 0.87 in predicting tweet sentiments in the test set.
Conclusions:
Despite its potential to shape public opinion and catalyze social changes, social media remains an underutilized source of information to inform government decision making. Social media sentiment analysis may inform the design, implementation, and modification of soda tax policies to gain social support while minimizing confusion and misinterpretation.
Related Concept Videos
Sugars as Energy Storage Molecules
Convenience Sampling Method
Convenience sampling is a non-random method of sample selection; this method selects individuals that are easily accessible and may result in biased data. For example, a marketing...
Physical Properties Affecting Solubility
As for any solution, the solubility of a gas in a liquid is affected by the attractive intermolecular forces between solute and solvent species. Unlike solid and liquid solutes, however, there is no solute-solute intermolecular attraction to overcome when a gaseous solute dissolves in a liquid solvent since the atoms or molecules comprising a gas are far separated and experience negligible interactions. Consequently, solute-solvent interactions are the sole...
Extraction: Effects of pH
Stomach pH Regulation
The acid-secreting gastric mucosal epithelial cells (parietal cells) lining the stomach lumen maintain the low pH in the lumen. Numerous ion transporters and channels on these parietal...
Substituent Effects on Acidity of Carboxylic Acids


