Estimating Telecommuting Rates in the USA Using Twitter Sentiment Analysis
摘要
The COVID-19 pandemic had a significant impact on virtually every human activity. Millions of workers around the globe from eligible professions stayed at home working as part of the measures taken to contain the virus’ spread. The change in transportation demand associated with this phenomenon poses a challenge for cities, especially regarding public transportation, where the decrease in demand arose critical questions on how to assess decreased ridership and potential rebound effects. Given that social media is a virtual space where people often report their opinions and intentions, we believe such data can be used to gather aggregated measures of human behavior. Hence, we ask: can we obtain real-time demand change estimates using social media data? Hence, the aim of this work is to take social media unstructured information and transform it into structured insights that can offer almost real-time estimates on demand trends associated with telecommuting. To achieve this, we obtained around 50,000 geo-tagged tweets over a 2 year period relevant to telecommuting in the USA. With that, we leveraged Transformers machine learning methods to fine-tune a language model capable of automatically assigning a sentiment to tweets on this topic. We used the time evolution of the obtained sentiments as covariates in time series forecasting models to estimate telecommuting rates at both the national and state levels, observing a drastic improvement over the estimates without such covariates. Our major finding indicates that it is possible to structure social media data to use it to obtain demand change estimates, and that the accuracy of such estimates depends heavily on how much people discuss the topic in question in a determined geography. This finding is in line with others that have found alternative ways of obtaining insights on transportation data, and hence is a relevant contribution toward real-time data-driven approaches for transportation demand assessment.