Digital Health (May 2023)

Dynamics of emotion trends in Canadian Twitter users during COVID-19 confinement in relation to caseloads: Artificial intelligence-based emotion detection approach

  • Swarna Weerasinghe,
  • Oladapo Oyebode,
  • Rita Orji,
  • Stan Matwin

DOI
https://doi.org/10.1177/20552076231171496
Journal volume & issue
Vol. 9

Abstract

Read online

Multiple waves of COVID-19 have significantly impacted the emotional well-being of all, but many were subject to additional risks associated with forced regulations. The objective of this research was to assess the immediate emotional impact, expressed by Canadian Twitter users, and to estimate the linear relationship, with the vicissitudes of COVID caseloads, using ARIMA time-series regression. We developed two Artificial Intelligence-based algorithms to extract tweets using 18 semantic terms related to social confinement and locked down and then geocoded them to tag Canadian provinces. Tweets (n = 64,732) were classified as positive, negative, and neutral sentiments using a word-based Emotion Lexicon. Our results indicated: that Tweeters were expressing a higher daily percentage of negative sentiments representing, negative anticipation (30.1%), fear (28.1%), and anger (25.3%), than positive sentiments comprising positive anticipation (43.7%), trust (41.4%), and joy (14.9%), and neutral sentiments with mostly no emotions, when hash-tagged social confinement and locked down. In most provinces, negative sentiments took on average two to three days after caseloads increase to emerge, whereas positive sentiments took a slightly longer period of six to seven days to submerge. As daily caseloads increase, negative sentiment percentage increases in Manitoba (by 68% for 100 caseloads increase) and Atlantic Canada (by 89% with 100 caseloads increase) in wave 1(with 30% variations explained), while other provinces showed resilience. The opposite was noted in the positive sentiments. The daily percentage of emotional expression variations explained by daily caseloads in wave one were 30% for negative, 42% for neutral, and 2.1% for positive indicating that the emotional impact is multifactorial. These provincial-level impact differences with varying latency periods should be considered when planning geographically targeted, time-sensitive, confinement-related psychological health promotion efforts. Artificial Intelligence-based Geo-coded sentiment analysis of Twitter data opens possibilities for targeted rapid emotion sentiment detection opportunities.