Stock price forecasting by ARIMA, linear regression, LSTM and decomposition linear models
Abstract
Stock price forecasting has piqued the interest of academics studying finance and economics since it is a challenging but critical task for investors in financial markets. A variety of methods has been deployed, attempting to extract useful information to tackle the prediction problem. This paper presents rigorous research on the task of predicting the next-day price of Tesla stock by its past prices. A variety of methods are tested, including the long short-term memory (LSTM), the neural network model (NN), the autoregressive integrated moving average model (ARIMA), and the decomposition linear model (DL). The result is measured with mean absolute error (MAE). As shown in the experimentation result, the MAE of the ARIMA model is 7.2400, the MAE of the neural network is 5.8770, the MAE of the LSTM model is 6.8390 and the MAE of the decomposition model is 5.5890. The result suggests that the DL model performs the best in terms of MAE.
References
- Adebiyi, A. A., Adewumi, A. O., & Ayo, C. K. (2014). Comparison of ARIMA and artificial neural networks models for stock price prediction. Journal of Applied Mathematics.
- Xu, K., Yu, J., Hu, Y., & Ai, X. (2019, April). Security monitoring data fusion method based on ARIMA and LS-SVM. In IOP Conference Series: Earth and Environmental Science (Vol. 252, No. 4, p. 042104). IOP Publishing.
- Yeze, Z., & Yiying, W. (2019, March). Stock price prediction based on information entropy and artificial neural network. In 2019 5th International Conference on Information Management (ICIM) (pp. 248-251). IEEE.
- Gülmez, B. (2023). Stock price prediction with optimized deep LSTM network with artificial rabbits optimization algorithm. Expert Systems with Applications, 227, 120346.
- Bennett, A., & Kallus, N. (2023). Proximal reinforcement learning: Efficient off-policy evaluation in partially observed markov decision processes. Operations Research.
- Pramod, B. S., & Pm, M. S. (2020). Stock price prediction using LSTM. Test Engineering and Management, 83, 5246-5251.
- Li, C., & Qian, G. (2022). Stock Price Prediction Using a Frequency Decomposition Based GRU Transformer Neural Network. Applied Sciences, 13(1), 222.
- Altché, F., & de La Fortelle, A. (2017, October). An LSTM network for highway trajectory prediction. In 2017 IEEE 20th international conference on intelligent transportation systems (ITSC) (pp. 353-359). IEEE.
- Zhang, K., Zhong, G., Dong, J., Wang, S., & Wang, Y. (2019). Stock market prediction based on generative adversarial network. Procedia computer science, 147, 400-406.
- Zeng, A., Chen, M., Zhang, L., & Xu, Q. (2023, June). Are transformers effective for time series forecasting?. In Proceedings of the AAAI conference on artificial intelligence (Vol. 37, No. 9, pp. 11121-11128).