Stock price forecasting using hidden Markov model Online publication date: Mon, 09-May-2022
by Ernest Oseghale Amiens; Ifuero Osad Osamwonyi
International Journal of Information and Decision Sciences (IJIDS), Vol. 14, No. 1, 2022
Abstract: We used hidden Markov model (HMM) with single observation to estimate stock prices of selected manufacturing companies from the Nigerian Stock Exchange. Data from 22 November 2013 to 6 July 2018 were partitioned into two datasets for training and testing. Subsequently, the data were differenced, trained, tested and used to forecast closing prices for 60 days for each equity. The HMM was implemented with Matlab. The research revealed closing price prediction accuracy ranging from 3.33% to 96.67% and trade signal precision ranging from 31.67% to 97.67%. Also, the MAE values range from 0.0013 to 34.2867 while the MAPE values are between 0.1498% and 6.0034%. The hypothesis tested revealed that the model is efficient. Similarly, the comparison test conducted revealed the performance of HMM is better than ARIMA and neural network (NN). The research proposes that hidden Markov model be adopted in the exercise of stock price forecasting.
Existing subscribers:
Go to Inderscience Online Journals to access the Full Text of this article.
If you are not a subscriber and you just want to read the full contents of this article, buy online access here.Complimentary Subscribers, Editors or Members of the Editorial Board of the International Journal of Information and Decision Sciences (IJIDS):
Login with your Inderscience username and password:
Want to subscribe?
A subscription gives you complete access to all articles in the current issue, as well as to all articles in the previous three years (where applicable). See our Orders page to subscribe.
If you still need assistance, please email subs@inderscience.com