Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Sep 15;39(39):5499-5505.
doi: 10.1016/j.vaccine.2021.08.058. Epub 2021 Aug 17.

Public attitudes toward COVID-19 vaccines on English-language Twitter: A sentiment analysis

Affiliations

Public attitudes toward COVID-19 vaccines on English-language Twitter: A sentiment analysis

Siru Liu et al. Vaccine. .

Abstract

Objective: To identify themes and temporal trends in the sentiment of COVID-19 vaccine-related tweets and to explore variations in sentiment at world national and United States state levels.

Methods: We collected English-language tweets related to COVID-19 vaccines posted between November 1, 2020, and January 31, 2021. We applied the Valence Aware Dictionary and sEntiment Reasoner tool to calculate the compound score to determine whether the sentiment mentioned in each tweet was positive (compound ≥ 0.05), neutral (-0.05 < compound < 0.05), or negative (compound ≤ -0.05). We applied the latent Dirichlet allocation analysis to extract main topics for tweets with positive and negative sentiment. Then we performed a temporal analysis to identify time trends and a geographic analysis to explore sentiment differences in tweets posted in different locations.

Results: Out of a total of 2,678,372 COVID-19 vaccine-related tweets, tweets with positive, neutral, and negative sentiments were 42.8%, 26.9%, and 30.3%, respectively. We identified five themes for positive sentiment tweets (trial results, administration, life, information, and efficacy) and five themes for negative sentiment tweets (trial results, conspiracy, trust, effectiveness, and administration). On November 9, 2020, the sentiment score increased significantly (score = 0.234, p = 0.001), then slowly decreased to a neutral sentiment in late December and was maintained until the end of January. At the country level, tweets posted in Brazil had the lowest sentiment score of -0.002, while tweets posted in the United Arab Emirates had the highest sentiment score of 0.162. The overall average sentiment score for the United States was 0.089, with Washington, DC having the highest sentiment score of 0.144 and Wyoming having the lowest sentiment score of 0.036.

Conclusions: Public sentiment on COVID-19 vaccines varied significantly over time and geography. Sentiment analysis can provide timely insights into public sentiment toward the COVID-19 vaccine and guide public health policymakers in designing locally tailored vaccine education programs.

PubMed Disclaimer

Conflict of interest statement

Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Figures

Fig. 1
Fig. 1
Distribution of daily average sentiment score (yellow dots). The solid line is the 14-day moving average of sentiment scores. The diamond markers in red are change points. The green line indicates the date of the first effective vaccine announcement (November 9, 2020). (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.)
Fig. 2
Fig. 2
Distribution of tweets related to COVID-19 across sentiment types.
Fig. 3
Fig. 3
Heat map of the average sentiment score by country. The countries with<1000 tweets in English were shown in grey.
Fig. 4
Fig. 4
Average sentiment score and its error bar in each state in the United States.
Fig. 5
Fig. 5
Heat map of the state's average sentiment score in the United States in each month. (a. November 2020; b. December 2020; c. January 2021).

Similar articles

Cited by

References

    1. Sinnenberg L., Buttenheim A.M., Padrez K., Mancheno C., Ungar L., Merchant R.M. Twitter as a Tool for Health Research: A Systematic Review. Am J Public Health. 2017 Jan;107(1):e1–e8. doi: 10.2105/AJPH.2016.303512. - DOI - PMC - PubMed
    1. Deiner M.S., Fathy C., Kim J., Niemeyer K., Ramirez D., Ackley S.F., et al. Facebook and Twitter vaccine sentiment in response to measles outbreaks. Health Informatics J. 2019 Sep 17;25(3):1116–1132. PMID:29148313. - PMC - PubMed
    1. Allen C, Tsou M-H, Aslam A, Nagel A, Gawron J-M. Applying GIS and Machine Learning Methods to Twitter Data for Multiscale Surveillance of Influenza. Ebrahimi M, editor. PLoS One Public Library of Science; 2016 Jul 25;11(7):e0157734. [doi: 10.1371/journal.pone.0157734]. - PMC - PubMed
    1. Hawn C. Take two aspirin and tweet me in the morning: how Twitter, Facebook, and other social media are reshaping health care. Health Aff (Millwood) Project HOPE - The People-to-People Health Foundation. Inc. 2009 Mar 2;28(2):361–368. PMID:19275991. - PubMed
    1. Grajales FJ, Sheps S, Ho K, Novak-Lauscher H, Eysenbach G. Social media: a review and tutorial of applications in medicine and health care. J Med Internet Res JMIR Publications Inc.; 2014 Feb 11;16(2):e13. PMID:24518354. - PMC - PubMed

Substances