Hostname: page-component-f554764f5-68cz6 Total loading time: 0 Render date: 2025-04-12T10:25:03.365Z 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: [email protected]

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.

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

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable

References

Aromí, JD and Llada, M (2023) Forecasting inflation with Twitter. Economica 69, 6485.Google Scholar
Baylis, P (2020) Temperature and temperament: evidence from Twitter. Journal of Public Economics 184, 104161.Google Scholar
Baylis, P, Obradovich, N, Kryvasheyeu, Y, Chen, H, Coviello, L, Moro, E, Cebrian, M and Fowler, JH (2018) Weather impacts expressed sentiment. PloS One 13, e0195750.CrossRefGoogle ScholarPubMed
Baysan, C, Burke, M, González, F, Hsiang, S and Miguel, E (2019) Non-economic factors in violence: evidence from organized crime, suicides and climate in Mexico. Journal of Economic Behavior and Organization 168, 434452.Google Scholar
Burke, M, González, F, Baylis, P, Heft-Neal, S, Baysan, C, Basu, S and Hsiang, S (2018) Higher temperatures increase suicide rates in the United States and Mexico. Nature Climate Change 8, 723729.Google Scholar
Burkhardt, J, Bayham, J, Wilson, A, Berman, JD, O'Dell, K, Ford, B, Fischer, EV and Pierce, JR (2020) The relationship between monthly air pollution and violent crime across the United States. Journal of Environmental Economics and Policy 9, 188205.Google Scholar
Cano-Marin, E, Mora-Cantallops, M and Sánchez-Alonso, S (2023) Twitter as a predictive system: a systematic literature review. Journal of Business Research 157, 113561.CrossRefGoogle Scholar
Cheng, Y, Yu, Z, Xu, C, Manoli, G, Ren, X, Zhang, J, Liu, Y, Yin, R, Zhao, B and Vejre, H (2023) Climatic and economic background determine the disparities in urbanites’ expressed happiness during the summer heat. Environmental Science and Technology 57, 1095110961.Google ScholarPubMed
Connolly, E (2012) Some like it mild and not too wet: the influence of weather on subjective well-being. Journal of Happiness Studies 14, 457473.Google Scholar
Deschênes, O and Greenstone, M (2007) The economic impacts of climate change: evidence from agricultural output and random fluctuations in weather. American Economic Review 97, 354385.Google Scholar
Deschênes, O and Greenstone, M (2011) Climate change, mortality, and adaptation: evidence from annual fluctuations in weather in the US. American Economic Journal: Applied Economics 3, 152185.Google Scholar
Dodds, PS, Clark, EM, Desu, S, Frank, MR, Reagan, AJ, Williams, JR, Mitchell, L, Harris, KD, Kloumann, IM and Bagrow, JP (2015) Human language reveals a universal positivity bias. Proceedings of the National Academy of Sciences 112, 23892394.CrossRefGoogle ScholarPubMed
Dodds, PS and Danforth, CM (2010) Measuring the happiness of large-scale written expression: songs, blogs, and presidents. Journal of Happiness Studies 11, 441456.Google Scholar
Dodds, PS, Harris, KD, Kloumann, IM, Bliss, CA and Danforth, CM (2011) Temporal patterns of happiness and information in a global social network: hedonometrics and Twitter. PloS One 6, e26752.Google Scholar
Du, X (2023) Symptom or culprit? Social media, air pollution, and violence. CESifo Working Paper No. 10296, Available at SSRN: https://ssrn.com/abstract=4380957.Google Scholar
Funes, FM, Alvarez-Hamelin, JI and Beiró, MG (2022) Geolocalización de usuarios en Twitter utilizando redes convolucionales de grafos. In Simposio Argentino de Ciencia de Datos y GRANdes DAtos (AGRANDA 2022)-JAIIO 51 (in Spanish).Google Scholar
Gao, J, Cheng, Q, Duan, J, Xu, Z, Bai, L, Zhang, Y, Zhang, H, Wang, S, Zhang, Z and Su, H (2019) Ambient temperature, sunlight duration, and suicide: a systematic review and meta-analysis. Science of the Total Environment 646, 10211029.Google ScholarPubMed
García-Witulski, C, Rabassa, M, Grand, MC and Rozenberg, J (2023) Valuing mortality attributable to present and future temperature extremes in Argentina. Economics and Human Biology 51, 101305.Google ScholarPubMed
Ghermandi, A, Langemeyer, J, Van Berkel, D, Calcagni, F, Depietri, Y, Vigl, LE, Fox, N, Havinga, I, Jöger, H and Kaiser, N (2023) Social media data for environmental sustainability: a critical review of opportunities, threats, and ethical use. One Earth 6, 236250.Google Scholar
Giuffrida, L, Lokys, H and Klemm, O (2020) Assessing the effect of weather on human outdoor perception using Twitter. International Journal of Biometeorology 64, 205216.Google ScholarPubMed
Graff Zivin, J and Neidell, M (2014) Temperature and the allocation of time: implications for climate change. Journal of Labor Economics 32, 126.Google Scholar
Hannak, A, Anderson, E, Barrett, LF, Lehmann, S, Mislove, A and Riedewald, M (2012) Tweetin'in the rain: exploring societal-scale effects of weather on mood. Proceedings of the International AAAI Conference on Web and Social Media 6, 479482.Google Scholar
Heilmann, K, Kahn, ME and Tang, CK (2021) The urban crime and heat gradient in high and low poverty areas. Journal of Public Economics 197, 104408.Google Scholar
Hutto, C and Gilbert, E (2014) Vader: a parsimonious rule-based model for sentiment analysis of social media text. Proceedings of the International AAAI Conference on Web and Social Media 8, 216225.Google Scholar
IPCC, (2021a) In Masson-Delmotte V, Zhai P, Pirani A, Connors SL, Péan C, Berger S, Caud N, Chen Y, Goldfarb L, Gomis MI, Huang M, Leitzell K, Lonnoy E, Matthews JBR, Maycock TK, Waterfield T, Yelekçi O, Yu R and Zhou B (eds), Climate Change 2021: The Physical Science Basis. Contribution of Working Group I to the Sixth Assessment Report of the Intergovernmental Panel on Climate Change. Cambridge University Press. Available at https://www.ipcc.ch/report/ar6/wg1/.Google Scholar
IPCC (2021b) Summary for Policymakers. In Masson-Delmotte V, Zhai P, Pirani A, Connors SL, Péan C, Berger S, Caud N, Chen Y, Goldfarb L, Gomis MI, Huang M, Leitzell K, Lonnoy E, Matthews JBR, Maycock TK, Waterfield T, Yelekçi O, Yu R and Zhou B (eds), Climate Change 2021: The Physical Science Basis. Contribution of Working Group I to the Sixth Assessment Report of the Intergovernmental Panel on Climate Change. Cambridge, UK and New York, NY: Cambridge University Press, pp. 3–32.Google Scholar
Jaidka, K, Giorgi, S, Schwartz, HA, Kern, ML, Ungar, LH and Eichstaedt, JC (2020) Estimating geographic subjective well-being from Twitter: a comparison of dictionary and data-driven language methods. Proceedings of the National Academy of Sciences 117, 1016510171.Google ScholarPubMed
Jarden, A and Roache, A (2023) What is well-being? International Journal of Environmental Research and Public Health 20, 5006.CrossRefGoogle Scholar
Jiang, J, Murrugara-Llerena, N, Bos, MW, Liu, Y, Shah, N, Neves, L and Barbieri, F (2022) Sunshine with a chance of smiles: how does weather impact sentiment on social media? Proceedings of the Sixteenth International AAAI Conference on Web and Social Media 16, 393404.Google Scholar
Kuo, P-F and Putra, IGB (2021) Analyzing the relationship between air pollution and various types of crime. PLoS One 16, e0255653.CrossRefGoogle ScholarPubMed
Li, J, Xun, W and Hovy, E (2014) What a nasty day: exploring mood-weather relationship from Twitter. CIKM ’14: Proceedings of the 23rd ACM International Conference on Conference on Information and Knowledge Management. Association for Computing Machinery, pp. 1309–1318. DOI: 10.1145/2661829.CrossRefGoogle Scholar
Loureiro, ML and Alló, M (2024) Feeling the heat? Analyzing climate change sentiment in Spain using Twitter data. Resource and Energy Economics 77, 101437.Google Scholar
Luhmann, M (2017) Using big data to study subjective well-being. Current Opinion in Behavioral Sciences 18, 2833.Google Scholar
Maddison, D and Rehdanz, K (2011) The impact of climate on life satisfaction. Ecological Economics 70, 24372445.Google Scholar
Nielsen, F (2011) A new ANEW: evaluation of a word list for sentiment analysis in microblogs. Preprint .Google Scholar
Obradovich, N, Tingley, D and Rahwan, I (2018) Effects of environmental stressors on daily governance. Proceedings of the National Academy of Sciences 115, 87108715.Google ScholarPubMed
Pennebaker, RL, Boyd, JW, Jordan, K and Blackburn, K (2015) The development and psychometric properties of LIWC2015. Austin, TX, University of Texas at Austin.Google Scholar
Pennington, J, Socher, R and Manning, CD (2014) GloVe: global vectors for word representation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP). Association for Computational Linguistics, pp. 1532–1543. DOI: 10.3115/v1/D14-1162.CrossRefGoogle Scholar
Peterson, J and Densley, J (2017) Cyber violence: what do we know and where do we go from here? Aggression and Violent Behavior 34, 193200.CrossRefGoogle Scholar
Ranson, M (2014) Crime, weather, and climate change. Journal of Environmental Economics and Management 67, 274302.Google Scholar
Rehdanz, K and Maddison, D (2005) Climate and happiness. Ecological Economics 52, 111125.CrossRefGoogle Scholar
Sametoğlu, S, Pelt, DHM, Eichstaedt, JC, Ungar, LH and Bartels, M (2024) The value of social media language for the assessment of well-being: a systematic review and meta-analysis. The Journal of Positive Psychology 19, 471489.CrossRefGoogle Scholar
Sanz-Barbero, B, Linares, C, Vives-Cases, C, González, JL, López-Ossorio, JJ and Díaz, J (2018) Heat wave and the risk of intimate partner violence. Science of the Total Environment 644, 413419.CrossRefGoogle ScholarPubMed
Settanni, M, Azucar, D and Marengo, D (2018) Predicting individual characteristics from digital traces on social media: a meta-analysis. Cyberpsychology, Behavior and Social Networking 21, 217228.CrossRefGoogle ScholarPubMed
Simister, J and Cooper, C (2005) Thermal stress in the USA: effects on violence and on employee behaviour. Stress and Health: Journal of the International Society for the Investigation of Stress 21, 315.CrossRefGoogle Scholar
Skansi, MDLM, Poggi, MM, Flores, K, Garay, N, Bolzi, SC, Córdoba Fradinger, C, D'Amen, D, Goñi, J, Díaz, DE, Aldeco, LS, Domínguez, DA, Godoy, AA, Ruíz, ME, Condori, LF, Carbajal Benítez, G, Nollas, FM, Lell, J, Stella, JL and Stella, JL (2024) Estado del Clima en Argentina 2023: reporte final (in Spanish).Google Scholar
Smetanin, S (2022) How weather impacts expressed sentiment in Russia: evidence from Odnoklassniki. PeerJ Computer Science 8, e1164.Google ScholarPubMed
Somanathan, E, Somanathan, R, Sudarshan, A and Tewari, M (2021) The impact of temperature on productivity and labor supply: evidence from Indian manufacturing. Journal of Political Economy 129, 17971827.CrossRefGoogle Scholar
Stechemesser, A, Wenz, L, Kotz, M and Levermann, A (2021) Strong increase of racist tweets outside of climate comfort zone in Europe. Environmental Research Letters 16, 114001.CrossRefGoogle Scholar
Stevens, HR, Beggs, PJ, Graham, PL and Chang, H-C (2019) Hot and bothered? Associations between temperature and crime in Australia. International Journal of Biometeorology 63, 747762.CrossRefGoogle ScholarPubMed
Takahashi, R (2017) Climate, crime, and suicide: empirical evidence from Japan. Climate Change Economics 8, 1750003.Google Scholar
Thelwall, M, Buckley, K and Paltoglou, G (2012) Sentiment strength detection for the social web. Journal of the American Society for Information Science and Technology 63, 163173.Google Scholar
Valkenburg, PM (2022) Social media use and well-being: what we know and what we need to know. Current Opinion in Psychology 45, 101294.CrossRefGoogle ScholarPubMed
Van Zanten, BT, Van Berkel, DB, Meentemeyer, RK, Smith, JW, Tieskens, KF and Verburg, PH (2016) Continental-scale quantification of landscape values using social media data. Proceedings of the National Academy of Sciences 113, 1297412979.CrossRefGoogle ScholarPubMed
Wang, J, Obradovich, N and Zheng, S (2020) A 43-million-person investigation into weather and expressed sentiment in a changing climate. One Earth 2, 568577.CrossRefGoogle Scholar
Xu, R, Xiong, X, Abramson, MJ, Li, S and Guo, Y (2021) Association between ambient temperature and sex offense: a case-crossover study in seven large US cities, 2007–2017. Sustainable Cities and Society 69, 102828.CrossRefGoogle Scholar
Zhu, Y (2022) Essays in Applied Environmental Economics. PhD dissertation, Columbia University.Google Scholar
Zohar, M (2021) Geolocating tweets via spatial inspection of information inferred from tweet meta-fields. International Journal of Applied Earth Observation and Geoinformation 105, 102593.CrossRefGoogle Scholar
Supplementary material: File

Aromí et al. supplementary material

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