Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic.
Recently, there has been much attention in the use of machine learning methods, particularly deep learning for stock price prediction. A major limitation of conventional deep learning is uncertainty quantification in predictions which affect investor confidence. Bayesian neural networks feature Baye...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Public Library of Science (PLoS)
2021-01-01
|
Series: | PLoS ONE |
Online Access: | https://doi.org/10.1371/journal.pone.0253217 |
id |
doaj-dc71d77ab16242458225cad3282bcb0c |
---|---|
record_format |
Article |
spelling |
doaj-dc71d77ab16242458225cad3282bcb0c2021-07-17T04:31:13ZengPublic Library of Science (PLoS)PLoS ONE1932-62032021-01-01167e025321710.1371/journal.pone.0253217Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic.Rohitash ChandraYixuan HeRecently, there has been much attention in the use of machine learning methods, particularly deep learning for stock price prediction. A major limitation of conventional deep learning is uncertainty quantification in predictions which affect investor confidence. Bayesian neural networks feature Bayesian inference for providing inference (training) of model parameters that provides a rigorous methodology for uncertainty quantification in predictions. Markov Chain Monte Carlo (MCMC) sampling methods have been prominent in implementing inference of Bayesian neural networks; however certain limitations existed due to a large number of parameters and the need for better computational resources. Recently, there has been much progress in the area of Bayesian neural networks given the use of Langevin gradients with parallel tempering MCMC that can be implemented in a parallel computing environment. The COVID-19 pandemic had a drastic impact in the world economy and stock markets given different levels of lockdowns due to rise and fall of daily infections. It is important to investigate the performance of related forecasting models during the COVID-19 pandemic given the volatility in stock markets. In this paper, we use novel Bayesian neural networks for multi-step-ahead stock price forecasting before and during COVID-19. We also investigate if the pre-COVID-19 datasets are useful of modelling stock price forecasting during COVID-19. Our results indicate due to high volatility in the stock-price during COVID-19, it is more challenging to provide forecasting. However, we found that Bayesian neural networks could provide reasonable predictions with uncertainty quantification despite high market volatility during the first peak of the COVID-19 pandemic.https://doi.org/10.1371/journal.pone.0253217 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Rohitash Chandra Yixuan He |
spellingShingle |
Rohitash Chandra Yixuan He Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic. PLoS ONE |
author_facet |
Rohitash Chandra Yixuan He |
author_sort |
Rohitash Chandra |
title |
Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic. |
title_short |
Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic. |
title_full |
Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic. |
title_fullStr |
Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic. |
title_full_unstemmed |
Bayesian neural networks for stock price forecasting before and during COVID-19 pandemic. |
title_sort |
bayesian neural networks for stock price forecasting before and during covid-19 pandemic. |
publisher |
Public Library of Science (PLoS) |
series |
PLoS ONE |
issn |
1932-6203 |
publishDate |
2021-01-01 |
description |
Recently, there has been much attention in the use of machine learning methods, particularly deep learning for stock price prediction. A major limitation of conventional deep learning is uncertainty quantification in predictions which affect investor confidence. Bayesian neural networks feature Bayesian inference for providing inference (training) of model parameters that provides a rigorous methodology for uncertainty quantification in predictions. Markov Chain Monte Carlo (MCMC) sampling methods have been prominent in implementing inference of Bayesian neural networks; however certain limitations existed due to a large number of parameters and the need for better computational resources. Recently, there has been much progress in the area of Bayesian neural networks given the use of Langevin gradients with parallel tempering MCMC that can be implemented in a parallel computing environment. The COVID-19 pandemic had a drastic impact in the world economy and stock markets given different levels of lockdowns due to rise and fall of daily infections. It is important to investigate the performance of related forecasting models during the COVID-19 pandemic given the volatility in stock markets. In this paper, we use novel Bayesian neural networks for multi-step-ahead stock price forecasting before and during COVID-19. We also investigate if the pre-COVID-19 datasets are useful of modelling stock price forecasting during COVID-19. Our results indicate due to high volatility in the stock-price during COVID-19, it is more challenging to provide forecasting. However, we found that Bayesian neural networks could provide reasonable predictions with uncertainty quantification despite high market volatility during the first peak of the COVID-19 pandemic. |
url |
https://doi.org/10.1371/journal.pone.0253217 |
work_keys_str_mv |
AT rohitashchandra bayesianneuralnetworksforstockpriceforecastingbeforeandduringcovid19pandemic AT yixuanhe bayesianneuralnetworksforstockpriceforecastingbeforeandduringcovid19pandemic |
_version_ |
1721297147076280320 |