Stock Prediction of Google based on ARIMA, XGBoost and LSTM
DOI:
https://doi.org/10.54691/bcpbm.v44i.4850Keywords:
Google; ARIMA; XGBOOST; LSTM.Abstract
In the recent years, google has become one of the most powerful companies in the world, due to its big market dominance. More and more people want to predict the stock price of google, however changes in the stock price are hard to find because they combine with social and economic development. Therefore, many different models which can be divided into traditional-based model, machine learning and deep learning models are designed to improve the accuracy of stock price prediction. This paper firstly compared three high-frequency used different models based on different aspects: autoregressive integrated moving average (ARIMA) model, eXtreme Gradient Boosting (XGBOOST) model and Long short-term memory (LSTM) model. mean absolute error (MAE), mean squared error (MSE), rooted mean squared error (RMSE), r-squared(R2) are presented due to the performance of models. Empirical results show that XGboost model provide more accurate approximation than ARIMA and LSTM models. In addition, the accuracy of LSTM is the worst.
Downloads
References
Adebiyi A A, Adewumi A O, Ayo C K. Comparison of ARIMA and artificial neural networks models for stock price prediction. Journal of Applied Mathematics, 2014. DOI: https://doi.org/10.1155/2014/614342
Giustini D. How Google is changing medicine. BMJ, 2005, 331 (7531), 1487 - 1488. DOI: https://doi.org/10.1136/bmj.331.7531.1487
Siami-Namini S, Tavakoli N, Namin A S. A comparison of ARIMA and LSTM in forecasting time series. In 2018 17th IEEE international conference on machine learning and applications (ICMLA) (pp. 1394-1401). IEEE. 2018. DOI: https://doi.org/10.1109/ICMLA.2018.00227
Yun K K, Yoon S W, Won D. Prediction of stock price direction using a hybrid GA-XGBoost algorithm with a three-stage feature engineering process. Expert Systems with Applications, 2021, 186, 115716. DOI: https://doi.org/10.1016/j.eswa.2021.115716
Chollet F. Deep learning with Python. Simon and Schuster. 2021.
Chen T, Guestrin C. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining. 2016, 785 - 794. DOI: https://doi.org/10.1145/2939672.2939785
Yang Y, Wu Y, Wang P, Jiali X. Stock price prediction based on xgboost and lightgbm. In E3S Web of Conferences (Vol. 275, p. 01040). EDP Sciences. 2021. DOI: https://doi.org/10.1051/e3sconf/202127501040
Nobre J, Neves R F. Combining principal component analysis, discrete wavelet transforms and XGBoost to trade in the financial markets. Expert Systems with Applications,2019, 125, 181 - 194. DOI: https://doi.org/10.1016/j.eswa.2019.01.083
Alim M, Ye G H, Guan P, Huang D S, Zhou B S, Wu W. Comparison of ARIMA model and XGBoost model for prediction of human brucellosis in mainland China: a time-series study. BMJ open, 2020, 10 (12), e039676. DOI: https://doi.org/10.1136/bmjopen-2020-039676
Gao T, Chai Y, Liu Y. Applying long short term momory neural networks for predicting stock closing price. In 2017 8th IEEE international conference on software engineering and service science (ICSESS) IEEE. 2017, 575 - 578. DOI: https://doi.org/10.1109/ICSESS.2017.8342981
Cheng L C, Huang Y H, Wu M E, Applied attention-based LSTM neural networks in stock prediction. 2018 IEEE International Conference on Big Data (Big Data), 2018, pp. 4716 - 4718, doi: 10.1109/BigData.2018.8622541. DOI: https://doi.org/10.1109/BigData.2018.8622541
Roondiwala M, Patel H, Varma S. Predicting stock prices using LSTM. International Journal of Science and Research (IJSR), 2017, 6 (4), 1754 - 1756.






