The role of covariates in predicting stock markets
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 a...
محفوظ في:
المؤلف الرئيسي: | |
---|---|
مؤلفون آخرون: | |
التنسيق: | Final Year Project |
اللغة: | English |
منشور في: |
Nanyang Technological University
2025
|
الموضوعات: | |
الوصول للمادة أونلاين: | https://hdl.handle.net/10356/184398 |
الوسوم: |
إضافة وسم
لا توجد وسوم, كن أول من يضع وسما على هذه التسجيلة!
|
المؤسسة: | Nanyang Technological University |
اللغة: | English |
id |
sg-ntu-dr.10356-184398 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-1843982025-05-05T15:36:40Z The role of covariates in predicting stock markets Koh, Javier Jou Rei Yan Zhenzhen School of Physical and Mathematical Sciences yanzz@ntu.edu.sg Mathematical Sciences 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 Bachelor's degree 2025-04-29T02:22:21Z 2025-04-29T02:22:21Z 2025 Final Year Project (FYP) 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 https://hdl.handle.net/10356/184398 en application/pdf Nanyang Technological University |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
Mathematical Sciences |
spellingShingle |
Mathematical Sciences Koh, Javier Jou Rei The role of covariates in predicting stock markets |
description |
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 |
author2 |
Yan Zhenzhen |
author_facet |
Yan Zhenzhen Koh, Javier Jou Rei |
format |
Final Year Project |
author |
Koh, Javier Jou Rei |
author_sort |
Koh, Javier Jou Rei |
title |
The role of covariates in predicting stock markets |
title_short |
The role of covariates in predicting stock markets |
title_full |
The role of covariates in predicting stock markets |
title_fullStr |
The role of covariates in predicting stock markets |
title_full_unstemmed |
The role of covariates in predicting stock markets |
title_sort |
role of covariates in predicting stock markets |
publisher |
Nanyang Technological University |
publishDate |
2025 |
url |
https://hdl.handle.net/10356/184398 |
_version_ |
1833071959331569664 |