A cross-country analysis of macroeconomic responses to COVID-19 pandemic using Twitter sentiments

PLoS One. 2022 Aug 24;17(8):e0272208. doi: 10.1371/journal.pone.0272208. eCollection 2022.

Abstract

The COVID-19 pandemic has had a devastating impact on the global economy. In this paper, we use the Phillips curve to compare and analyze the macroeconomics of three different countries with distinct income levels, namely, lower-middle (Nigeria), upper-middle (South Africa), and high (Canada) income. We aim to (1) find macroeconomic changes in the three countries during the pandemic compared to pre-pandemic time, (2) compare the countries in terms of response to the COVID-19 economic crisis, and (3) compare their expected economic reaction to the COVID-19 pandemic in the near future. An advantage to our work is that we analyze macroeconomics on a monthly basis to capture the shocks and rapid changes caused by on and off rounds of lockdowns. We use the volume and social sentiments of the Twitter data to approximate the macroeconomic statistics. We apply four different machine learning algorithms to estimate the unemployment rate of South Africa and Nigeria on monthly basis. The results show that at the beginning of the pandemic the unemployment rate increased for all the three countries. However, Canada was able to control and reduce the unemployment rate during the COVID-19 pandemic. Nonetheless, in line with the Phillips curve short-run, the inflation rate of Canada increased to a level that has never occurred in more than fifteen years. Nigeria and South Africa have not been able to control the unemployment rate and did not return to the pre-COVID-19 level. Yet, the inflation rate has increased in both countries. The inflation rate is still comparable to the pre-COVID-19 level in South Africa, but based on the Phillips curve short-run, it will increase further, if the unemployment rate decreases. Unfortunately, Nigeria is experiencing a horrible stagflation and a wild increase in both unemployment and inflation rates. This shows how vulnerable lower-middle-income countries could be to lockdowns and economic restrictions. In the near future, the main concern for all the countries is the high inflation rate. This work can potentially lead to more targeted and publicly acceptable policies based on social media content.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Attitude
  • COVID-19* / epidemiology
  • Communicable Disease Control
  • Humans
  • Pandemics
  • Social Media*

Grants and funding

This research is funded by Canada’s International Development Research Centre (IDRC) (https://www.idrc.ca/en) and the Swedish International Development Cooperation Agency (SIDA)(https://www.sida.se/en) (Grant No. 109559-001) under the Global South AI4COVID Program (https://covidsouth.ai/about). The authors who received the grant are A. A., J.D.K., B.M., J.O. and J.W. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.