Comparative Analysis of LSTM, GRU, and ARIMA Models for Stock Market Price Prediction
DOI:
https://doi.org/10.47611/jsrhs.v12i4.5888Keywords:
Statistics, Data Science, Economics, Mathematics, Artificial Intelligence, Machine LearningAbstract
This study delves into the efficacy of various machine learning and statistical models that have captured the attention of financial analysts. Two of them, Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) are variations of Recurrent Neural Networks while the Autoregressive Integrated Moving Average (ARIMA) is a statistical model. These models will be used to forecast stock market data across different economic sectors. In the dynamic landscape of financial markets, accurate forecasting is crucial. This research paper contributes to quantitative finance by conducting a comprehensive comparative analysis of these models on historical stock market data from three sectors: extraction, manufacturing, and service (which are considered the primary, secondary, and tertiary sectors of the economy respectively). The models' performances are evaluated using mean squared error (MSE) on six selected stocks representing these sectors. Results reveal the power of recurrent neural networks in capturing intricate patterns. Moreover, the results will explore whether or not the efficacy of each model is impacted by the sector of the economy that it is forecasting data for.
Downloads
References or Bibliography
References
Adusumilli, R. (n.d.). Machine learning to predict stock prices. Retrieved August 31, 2023, from https://towardsdatascience.com/predicting-stock-prices-using-a-keras-lstm-model-4225457f0233
Advances in Economics, Business and Management Research. (n.d.). https://doi.org/10.2991/iemss-17.2017.140
Dey, P., Hossain, E., Hossain, Md. I., Chowdhury, M. A., Alam, Md. S., Hossain, M. S., & Andersson, K. (2021). Comparative Analysis of Recurrent Neural Networks in Stock Price Prediction for Different Frequency Domains. Algorithms, 14(8), 251. MDPI AG. Retrieved from http://dx.doi.org/10.3390/a14080251
Gamboa, J. (n.d.). Deep learning for time-series analysis. Retrieved August 31, 2023, from https://arxiv.org/abs/1701.01887
Li, C., & Qian, G. (2022). Stock Price Prediction Using a Frequency Decomposition Based GRU Transformer Neural Network. Applied Sciences, 13(1), 222. MDPI AG. Retrieved from http://dx.doi.org/10.3390/app13010222
Mondal, Prapanna & Shit, Labani & Goswami, Saptarsi. (2014). Study of Effectiveness of Time Series Modeling (Arima) in Forecasting Stock Prices. International Journal of Computer Science, Engineering and Applications. 4. 13-29. 10.5121/ijcsea.2014.4202.
Nau, R. (n.d.). Statistical forecasting: Notes on regression and time series analysis. Retrieved August 31, 2023, from https://people.duke.edu/~rnau/411home.htm
Pedamallu, H. (n.d.). RNN vs GRU vs LSTM. Medium. Retrieved August 31, 2023, from https://medium.com/analytics-vidhya/rnn-vs-gru-vs-lstm-863b0b7b1573
Sako, K., Mpinda, B. N., & Rodrigues, P. C. (2022). Neural Networks for Financial Time Series Forecasting. Entropy (Basel, Switzerland), 24(5), 657. https://doi.org/10.3390/e24050657
Xiao, R., Feng, Y., Yan, L., & Ma, Y. (n.d.). Predict stock prices with ARIMA and LSTM. Retrieved August 31, 2023, from https://arxiv.org/abs/2209.02407v1
Published
How to Cite
Issue
Section
Copyright (c) 2023 Rushil Yavasani; Frank Wang
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright holder(s) granted JSR a perpetual, non-exclusive license to distriute & display this article.