Please use this identifier to cite or link to this item: https://hdl.handle.net/10356/184398
Title: The role of covariates in predicting stock markets
Authors: Koh, Javier Jou Rei
Keywords: Mathematical Sciences
Issue Date: 2025
Publisher: Nanyang Technological University
Source: Koh, J. J. R. (2025). The role of covariates in predicting stock markets. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/184398
Abstract: This study aims to quantify the role of sentiment as a covariate in influencing stock market regime changes. Based on quarterly snapshots of economic conditions from McKinsey for 2010 to 2020, the study makes use of FinBert, a transformer-based pre-trained model which was fine-tuned on large amounts of financial texts, to extract sentiment. This sentiment distribution is then used as a predictor, along with other commonly used macroeconomic variables, CPI and GDP, to predict market state changes in a logistic regression model. Different models consisting of different lags and interaction terms are experimented with to obtain the best fit for studying the underlying relationship. Findings suggest that, contrary to standard expectations, sentiment has a negative effect on the probability of the market being in a ‘bull’ state. The study also benchmarks FinBert against VADER, a lexicon-based sentiment analysis tool, and the logit model against a random forest classifier, to examine and justify the choice of model. This work contributes to the existing literature by exploring the use of transformer-based pre-trained NLP model over commonly used lexicon-based methods, broader macroeconomy financial text over firm-specific text and the ease of interpretation via a logit model, shining light on possible ways sentiment analysis can be utilised for stock market prediction
URI: https://hdl.handle.net/10356/184398
Schools: School of Physical and Mathematical Sciences 
Fulltext Permission: restricted
Fulltext Availability: With Fulltext
Appears in Collections:SPMS Student Reports (FYP/IA/PA/PI)

Files in This Item:
File Description SizeFormat 
FYP Report.pdf
  Restricted Access
462.83 kBAdobe PDFView/Open

Page view(s)

35
Updated on May 7, 2025

Download(s)

9
Updated on May 7, 2025

Google ScholarTM

Check

Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.