Education, Science, Technology, Innovation and Life
Open Access
Sign In

Comparison of ARIMA and LSTM for Stock Price Prediction

Download as PDF

DOI: 10.23977/ferm.2023.060101 | Downloads: 119 | Views: 933

Author(s)

Haoran Wu 1, Shuqi Chen 1, Yicheng Ding 2

Affiliation(s)

1 Wenzhou-Kean University, No. 88, University Road, Li'ao Street, Ouhai District, Wenzhou, Zhejiang, China
2 College of Business and Public Management, Wenzhou, China

Corresponding Author

Haoran Wu

ABSTRACT

The prediction of time series is an extremely important and challenging part, and due to some other unavoidable external factors, it can also affect its prediction results. Therefore, in order to compare which model can produce better predictions, this paper explores the following two models. First of all, the more traditional and classical model is the "Autoregressive Integrated Moving Average" (ARIMA). Moreover, according to the continuous exploration and development over the years, more variables have evolved, such as SRIMA (seasonal ARIMA), etc. This model shows considerable advantages in short-term prediction but has more disadvantages in the long term, which is not the best choice. Another model is closer to today's emerging technologies and more dependent on artificial intelligence data analysis, such as "Convolutional Neural Network" (CNN) and "Recurrent Neural Network" (RNN), among which there are many variants. This paper focuses on a special variant, Long Short-Term Memory (LSTM) neural network, which can learn from past data and relate to current data. Furthermore, it is found from the data in this paper that LSTM's prediction of data is better than ARIMA model.

KEYWORDS

Long Short-Term Memory (LSTM), Auto-regressive Integrated Moving Average (ARIMA), Prediction, Deep Learning, Apple stock data

CITE THIS PAPER

Haoran Wu, Shuqi Chen, Yicheng Ding, Comparison of ARIMA and LSTM for Stock Price Prediction . Financial Engineering and Risk Management (2023) Vol. 6: 1-7. DOI: http://dx.doi.org/10.23977/ferm.2023.060101.

REFERENCES

[1] TEAM COUNTERPOINT. (2021, February 18). Apple iPhone Market Share: By Quarter. Counterpoint Research. https://www.counterpointresearch.com/apple-iphone-market-share-quarter/
[2] Apple Reports Third Quarter Results. (2022, July 28). Apple Newsroom. https: // www. apple. com/ newsroom/ 2022/07/ apple-reports-third-quarter-results/
[3] Barro, R. J. (1990). The Stock Market and Investment. Review of Financial Studies, 3(1), 115–131. https: // doi. org/ 10. 1093/rfs/3.1.115
[4] Lee, T. K., Cho, J. H., Kwon, D. S., & Sohn, S. Y. (2019). Global stock market investment strategies based on financial network indicators using machine learning techniques. Expert Systems with Applications, 117(228-242), 228–242. https://doi.org/10.1016/j.eswa.2018.09.005
[5] Siami-Namini, S., Tavakoli, N., & Namin, A. S. (2019). A comparative analysis of forecasting financial time series using arima, lstm, and bilstm. arXiv preprint arXiv:1911.09512.
[6] Qin, J., Tao, Z., Huang, S., & Gupta, G. (2021, March). Stock price forecast based on ARIMA model and BP neural network model. In 2021 IEEE 2nd International Conference on Big Data, Artificial Intelligence and Internet of Things Engineering (ICBAIE) (pp. 426-430). IEEE.
[7] Hu, Y., Tao, Z., Xing, D., Pan, Z., Zhao, J., & Chen, X. (2020, August). Research on stock returns forecast of the four major banks based on ARMA and GARCH model. In Journal of Physics: Conference Series (Vol. 1616, No. 1, p. 012075). IOP Publishing.
[8] Cao, Z., Ding, X., & Tao, Z. (2022, September). News Detection for Recurrent Neural Network Approach. In 2022 2nd International Conference on Computer Science, Electronic Information Engineering and Intelligent Control Technology (CEI) (pp. 794-797). IEEE.
[9] Stevenson, S. (2007). A comparison of the forecasting ability of ARIMA models. Journal of Property Investment & Finance.
[10] Zhu, T., Liao, Y., & Tao, Z. (2022). Predicting Google's Stock Price with LSTM Model. Proceedings of Business and Economic Studies, 5(5), 82-87.

Downloads: 14827
Visits: 316813

All published work is licensed under a Creative Commons Attribution 4.0 International License.

Copyright © 2016 - 2031 Clausius Scientific Press Inc. All Rights Reserved.