Evolution of social mood in Spain throughout the COVID-19 vaccination process: a machine learning approach to tweets analysis
- PMID: 36652786
- PMCID: PMC9747693
- DOI: 10.1016/j.puhe.2022.12.003
Evolution of social mood in Spain throughout the COVID-19 vaccination process: a machine learning approach to tweets analysis
Abstract
Objectives: This paper presents a new approach based on the combination of machine learning techniques, in particular, sentiment analysis using lexicons, and multivariate statistical methods to assess the evolution of social mood through the COVID-19 vaccination process in Spain.
Methods: Analysing 41,669 Spanish tweets posted between 27 February 2020 and 31 December 2021, different sentiments were assessed using a list of Spanish words and their associations with eight basic emotions (anger, fear, anticipation, trust, surprise, sadness, joy and disgust) and three valences (neutral, negative and positive). How the different subjective emotions were distributed across the tweets was determined using several descriptive statistics; a trajectory plot representing the emotional valence vs narrative time was also included.
Results: The results achieved are highly illustrative of the social mood of citizens, registering the different emerging opinion clusters, gauging public states of mind via the collective valence, and detecting the prevalence of different emotions in the successive phases of the vaccination process.
Conclusions: The present combination in formal models of objective and subjective information would therefore provide a more accurate vision of social reality, in this case regarding the COVID-19 vaccination process in Spain, which will enable a more effective resolution of problems.
Keywords: COVID-19 vaccination process; Machine learning; Multivariate statistics; Sentiment analysis; Social mood; Tweets.
Copyright © 2022 The Author(s). Published by Elsevier Ltd.. All rights reserved.
Conflict of interest statement
None declared.
Figures





References
-
- Sattar N.S., Arifuzzaman S. COVID-19 vaccination awareness and aftermath: public sentiment analysis on twitter data and vaccinated population prediction in the USA. Appl Sci. 2021 Jun 30;11(13):6128.
-
- Kapoor K.K., Tamilmani K., Rana N.P., Patil P., Dwivedi Y.K., Nerur S. Advances in social media research: past, present and future. Inf Syst Front. 2018 Jun 1;20(3):531–558.
-
- Öztürk N., Ayvaz S. Sentiment analysis on Twitter: a text mining approach to the Syrian refugee crisis. Telematics Inf. 2018 Apr;35(1):136–147.
-
- 2022. https://twitter.com/
MeSH terms
Substances
LinkOut - more resources
Full Text Sources
Medical