Author
Listed:
- Hui Shi
- Dazhi Chong
- Weijun Zheng
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.
Suggested Citation
Hui Shi & Dazhi Chong & Weijun Zheng, 2025.
"The impact of social media and the pandemic on stock price prediction,"
Journal of Management Analytics, Taylor & Francis Journals, vol. 12(2), pages 389-416, April.
Handle:
RePEc:taf:tjmaxx:v:12:y:2025:i:2:p:389-416
DOI: 10.1080/23270012.2025.2512518
Download full text from publisher
As the access to this document is restricted, you may want to
for a different version of it.
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:taf:tjmaxx:v:12:y:2025:i:2:p:389-416. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Chris Longhurst (email available below). General contact details of provider: http://www.tandfonline.com/tjma .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.