The impact of social media and the pandemic on stock price prediction
Hui Shi,
Dazhi Chong and
Weijun Zheng
Journal of Management Analytics, 2025, vol. 12, issue 2, 389-416
Abstract:
Predicting stock prices has been a widely studied topic across numerous disciplines for a long time. In this study, the goals are to first, analyze how social media sentiment influences stock price predictions; second, compare the effects of social media sentiment on stock price predictions before and during the pandemic; third, investigate the impact of the pandemic on stock prices across three major sectors: airlines, hotels, and restaurants. This research leverages three distinct types of data – stock prices, COVID-19 data, and social media data – to develop three separate feature sets for analyzing the impact of various factors on RNN-based stock prediction. The process begins with loading the relevant datasets and initializing a sequential model. Next, the model is built by adding an input layer, followed by an LSTM layer, and one or more dense layers. After the model is compiled and trained, it is evaluated, and the results are visualized to assess the outcomes. After analyzing the research results, we find that: (1) Social media sentiment affects stock price prediction in all three sectors; (2) Social media sentiment is a more effective predictor of stock price trends across all three sectors during the pandemic compared to the pre-pandemic period; (3) Although the impact of COVID case data on stock price prediction is not consistently observed across all three sectors, it significantly enhances model performance in several instances. Notable improvements are seen in specific stocks, indicating that pandemic-related data may have a more substantial effect on certain companies within the sectors. These findings offer valuable insights into recovery strategies and investment opportunities within each industry.
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
http://hdl.handle.net/10.1080/23270012.2025.2512518 (text/html)
Access to full text is restricted to subscribers.
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:taf:tjmaxx:v:12:y:2025:i:2:p:389-416
Ordering information: This journal article can be ordered from
http://www.tandfonline.com/pricing/journal/tjma20
DOI: 10.1080/23270012.2025.2512518
Access Statistics for this article
Journal of Management Analytics is currently edited by Li Xu
More articles in Journal of Management Analytics from Taylor & Francis Journals
Bibliographic data for series maintained by Chris Longhurst ().