A Comparative Analysis of LSTM, ARIMA, XGBoost Algorithms in Predicting Stock Price Direction

This research report presents a comprehensive investigation into the prediction of Google's stock prices using advanced machine-learning techniques. The study focuses on assessing the predictive capabilities of three distinct algorithms: XGBoost, LSTM, and ARIMA, applied to historical stock price data with a specific emphasis on close prices. The primary goal is to develop accurate univariate models to forecast the closing stock price for the next day, a crucial aspect of financial decision-making. The evaluation of model performance utilizes a range of metrics including R-squared, Mean Absolute Error (MAE), and Root Mean Square Error (RMSE) to provide insights into predictive accuracy. Furthermore, the study explores the effectiveness of hyperparameter tuning and ensemble methods in optimizing model performance. The findings highlight the strong performance of the XGBoost model, which achieves a notable R-squared value and effectively minimizes error metrics. While ensemble techniques exhibit potential, they do not consistently outperform all individual models. The subsequent hyperparameter tuning of the XGBoost algorithm achieves a higher R-squared value of 99.47%, accompanied by an MAE of 15.98 and an RMSE of 27.34. This research contributes valuable insights into the potential of machine learning for stock price prediction, emphasizing the importance of thoughtful model selection and parameter optimization.

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2024-08-31
DOI
https://doi.org/10.5281/zenodo.13623246
Primary Topic
Image Processing and 3D Reconstruction
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparative Analysis of LSTM, ARIMA, XGBoost Algorithms in Predicting Stock Price Direction

Zenodo (CERN European Organization for Nuclear Research)
Image Processing and 3D Reconstruction
article

A Comparative Analysis of LSTM, ARIMA, XGBoost Algorithms in Predicting Stock Price Direction

article en

Abstract

This research report presents a comprehensive investigation into the prediction of Google's stock prices using advanced machine-learning techniques. The study focuses on assessing the predictive capabilities of three distinct algorithms: XGBoost, LSTM, and ARIMA, applied to historical stock price data with a specific emphasis on close prices. The primary goal is to develop accurate univariate models to forecast the closing stock price for the next day, a crucial aspect of financial decision-making. The evaluation of model performance utilizes a range of metrics including R-squared, Mean Absolute Error (MAE), and Root Mean Square Error (RMSE) to provide insights into predictive accuracy. Furthermore, the study explores the effectiveness of hyperparameter tuning and ensemble methods in optimizing model performance. The findings highlight the strong performance of the XGBoost model, which achieves a notable R-squared value and effectively minimizes error metrics. While ensemble techniques exhibit potential, they do not consistently outperform all individual models. The subsequent hyperparameter tuning of the XGBoost algorithm achieves a higher R-squared value of 99.47%, accompanied by an MAE of 15.98 and an RMSE of 27.34. This research contributes valuable insights into the potential of machine learning for stock price prediction, emphasizing the importance of thoughtful model selection and parameter optimization.

Zenodo (CERN European Organization for Nuclear Research)
University of East London (GB)
Peace, Justice and strong institutions
Openalex Percentile: Top 63%
Image Processing and 3D Reconstruction
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.