Comparison Between ARIMA and LSTM models in Stock Price Forecast
DOI:
https://doi.org/10.61173/ycyqxh68Keywords:
Time series forecast, Stock price, LSTM, ARIMAAbstract
The improvement of model forecasting performance for long- standing multivariate time series is the primary focus of academic research on time series prediction that encompasses a range of methodologies. This paper aims to examine the performance of Autoregressive Integrated Moving Average model (ARIMA) and Long Short-Term Memory (LSTM) models in predicting timeseries data. Through the process of historical data, the author evaluated the precision and efficiency of these two models in forecasting Apple Inc.’s closing stock prices. The previous articles suggest that while the ARIMA model performs well with linear and stable datasets, the LSTM model, due to its deep learning architecture, can capture more complex patterns and interactions, leading to more accurate predictions in nonlinear and volatile markets. The study also discusses the trade-offs between the two models in terms of data requirements, computational resources, and model interpretability. These two models are pivotal in time series forecasting, providing robust frameworks for predicting future data points by analyzing historical patterns, with ARIMA focusing on linear dependencies through autoregressive and moving average components, and LSTM leveraging deep learning to capture complex, non-linear relationships.References
[1] Box, G. E. P., Jenkins, G. M. (1976). Time Series Analysis: Forecasting and Control. Holden-Day.
[2] Hochreiter S. Long Short-term Memory [J]. Neural Computation MIT-Press, 1997.
[3] Liu B, Tang X, Cheng J, et al. Traffic flow combination forecasting method based on improved LSTM and ARIMA[J]. International Journal of Embedded Systems, 2020, 12(1): 22-30.
[4] Siami-Namini S, Tavakoli N, Namin A S. A comparison of ARIMA and LSTM in forecasting time series[C]//2018 Dean&Francis Ting Lin 17th IEEE international conference on machine learning and applications (ICMLA). Ieee, 2018: 1394-1401.
[5] Sagheer A, Kotb M. Time series forecasting of petroleum production using deep LSTM recurrent networks[J]. Neurocomputing, 2019, 323: 203-213.
[6] Stevenson S. A comparison of the forecasting ability of ARIMA models[J]. Journal of Property Investment & Finance, 2007, 25(3): 223-240.
[7] Ariyo A A, Adewumi A O, Ayo C K. Stock price prediction using the ARIMA model[C]//2014 UKSim-AMSS 16th international conference on computer modelling and simulation. IEEE, 2014: 106-112.
[8] Roondiwala M, Patel H, Varma S. Predicting stock prices using LSTM[J]. International Journal of Science and Research (IJSR), 2017, 6(4): 1754-1756.
[9] Yamak P T, Yujian L, Gadosey P K. A comparison between arima, lstm, and gru for time series forecasting[C]//Proceedings of the 2019 2nd international conference on algorithms, computing and artificial intelligence. 2019: 49-55.
[10] Zhou K, Wang W Y, Hu T, et al. Comparison of time series forecasting based on statistical ARIMA model and LSTM with attention mechanism[C]//Journal of physics: conference series. IOP Publishing, 2020, 1631(1): 012141.
[11] Fares Sayah (2023), https://www.kaggle.com/code/ faressayah/stock-market-analysis-prediction-using-lstm/input.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 by the authors.

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