EconPapers    
Economics at your fingertips  
 

Sentiment Analysis on Inflation after COVID-19

Xinyu Li and Zihan Tang

Applied Economics and Finance, 2023, vol. 10, issue 1, 1023

Abstract: We implement traditional machine learning and deep learning methods for global tweets from 2017-2022 to build a high-frequency measure of the public’s sentiment index on inflation and analyze its correlation with other online data sources such as google trend and market-oriented inflation index. We use manually labeled trigrams to test the prediction performance of several machine learning models (logistic regression, random forest etc.) and choose Bert model for final demonstration. Then, we sum daily tweets’ sentiment scores gained from Bert model to obtain the predicted inflation sentiment index, and we further analyze the regional and pre/post covid patterns of these inflation indexes. Lastly, we take other empirical inflation-related data as references and prove that twitter-based inflation sentiment analysis method has an outstanding capability to predict inflation. The results suggest that Twitter combined with deep learning methods can be a novel and timely method to utilize existing abundant data sources on inflation expectations and provide daily indicators of consumers’ perception on inflation.

Date: 2023
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://redfame.com/journal/index.php/aef/article/download/5821/5943 (application/pdf)
https://redfame.com/journal/index.php/aef/article/view/5821 (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:rfa:aefjnl:v:10:y:2023:i:1:p:1023

Access Statistics for this article

More articles in Applied Economics and Finance from Redfame publishing Contact information at EDIRC.
Bibliographic data for series maintained by Redfame publishing ().

 
Page updated 2025-03-19
Handle: RePEc:rfa:aefjnl:v:10:y:2023:i:1:p:1023