Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-06T02:57:45.187Z Has data issue: false hasContentIssue false

Impact of temperature on expressed sentiments in social media: evidence from a Latin American country

Published online by Cambridge University Press:  07 April 2025

José Daniel Aromí
Affiliation:
Facultad de Ciencias Económicas, Pontificia Universidad Católica Argentina, Buenos Aires, Argentina Instituto Interdisciplinario de Economía Política (IIEP), Facultad de Ciencias Económicas, Universidad de Buenos Aires, Buenos Aires, Argentina
Mariana Conte Grand
Affiliation:
Environment Department, Latin America and the Caribbean region, The World Bank, Washington, DC, USA Departamento de Economía, Universidad del CEMA, Buenos Aires, Argentina
Mariano Rabassa*
Affiliation:
Facultad de Ciencias Económicas, Pontificia Universidad Católica Argentina, Buenos Aires, Argentina
Julie Rozenberg
Affiliation:
Environment Department, Europe and Central Asia region, The World Bank, Washington, DC, USA
*
*Corresponding author: Mariano Rabassa; Email: mariano_rabassa@uca.edu.ar
Rights & Permissions [Opens in a new window]

Abstract

This study examines the impact of temperature on human well-being using approximately 80 million geo-tagged tweets from Argentina spanning 2017–2022. Employing text mining techniques, we derive two quantitative estimators: sentiments and a social media aggression index. The Hedonometer Index measures overall sentiment, distinguishing positive and negative ones, while social media aggressive behavior is assessed through profanity frequency. Non-linear fixed effects panel regressions reveal a notable negative causal association between extreme heat and the overall sentiment index, with a weaker relationship found for extreme cold. Our results highlight that, while heat strongly influences negative sentiments, it has no significant effect on positive ones. Consequently, the overall impact of extremely high temperatures on sentiment is predominantly driven by heightened negative feelings in hot conditions. Moreover, our profanity index exhibits a similar pattern to that observed for negative sentiments.

Information

Type
Research Article
Copyright
© The World Bank Group, 2025. Published by Cambridge University Press
Figure 0

Figure 1. Positive and negative word clouds, (a) Positive words (score greater than 7), (b) Negative words (score lower than 3). Notes: Authors’ compilation based on the Hedonometer dictionary and ranking system. Words are scored on a scale from 1 to 9. Positive words are defined as those with scores between 7 and 9 points, while negative words are those scoring between 1 and 3. Words with scores ranging from 4 to 6 are classified as neutral.Figure 1 long description.

Figure 1

Table 1. Descriptive statisticsTable 1 long description.

Figure 2

Figure 2. Overall sentiment and maximum daily temperature, Notes: This figure plots the estimated coefficients for daily maximum temperature bins from empirical model (1) and reported in column 2 of table 1. The dependent variable is the standardized metrics of sentiment. The number of observations is 35,309, each corresponding to a unique day-province combination. Regressions include fixed effects for province, month, year, and day of the week. Coefficients represent mean differences with respect to expected values for the [20–25]$^\circ$∘C temperature bin. Standard errors are clustered by province. The shaded area corresponds to the 95th confidence intervals.Figure 2 long description.

Figure 3

Table 2. Sentiment and maximum daily temperatureTable 2 long description.

Figure 4

Figure 3. Positive and negative sentiments and maximum daily temperature, (a) Positive sentiments (score greater that 7), (b) Negative sentiments (score lower than 3). Notes: This figure plots the estimated coefficients for daily maximum temperature bins from empirical model (1) and reported in columns 4 and 6 of table 2. The dependent variables are the standardized metrics positive sentiment (panel a), and negative sentiment (panel b). The number of observations is 35,309, each corresponding to a unique day-province combination. Regressions include fixed effects for province, month, year, and day of the week. Coefficients represent mean differences with respect to expected values for the [20–25]$^\circ$∘C temperature bin. Standard errors are clustered by province. The shaded area corresponds to the 95th confidence intervals.Figure 3 long description.

Figure 5

Figure 4. Profanity frequency and maximum daily temperature. Notes: This figure plots the estimated coefficients for daily maximum temperature bins from empirical model (1) and reported in column 2 of table 3. The dependent variable is the standardized metrics of profanities. The number of observations is 35,309, each corresponding to a unique day-province combination. Regressions include fixed effects for province, month, year, and day of the week. Coefficients represent mean differences with respect to expected values for the [20–25]$^\circ$∘C temperature bin. Standard errors are clustered by province. The shaded area corresponds to the 95th confidence intervals.Figure 4 long description.

Figure 6

Table 3. Profanity frequency and maximum daily temperatureTable 3 long description.

Figure 7

Table 4. Robustness: alternative specifications of the empirical modelTable 4 long description.

Figure 8

Table 5. Alternative well-being metricsTable 5 long description.

Figure 9

Table 6. Sentiment and maximum daily temperature excluding power outage mentionsTable 6 long description.

Figure 10

Table 7. Sentiment and maximum daily temperature excluding heat mentionsTable 7 long description.

Figure 11

Table 8. Sentiment and maximum daily temperature with alternative X-Twitter corpusTable 8 long description.

Supplementary material: File

Aromí et al. supplementary material

Aromí et al. supplementary material
Download Aromí et al. supplementary material(File)
File 1.7 MB