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

Article


Gifty, A. and Li, Y. 2024. A Comparative Analysis of LSTM, ARIMA, XGBoost Algorithms in Predicting Stock Price Direction. Engineering And Technology Journal. 9 (8), p. 4978–4986. https://doi.org/10.47191/etj/v9i08.50
AuthorsGifty, A. and Li, Y.
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.

JournalEngineering And Technology Journal
Journal citation9 (8), p. 4978–4986
ISSN2456-3358
Year2024
PublisherEverant
Publisher's version
License
File Access Level
Anyone
Digital Object Identifier (DOI)https://doi.org/10.47191/etj/v9i08.50
Web address (URL)https://everant.org/index.php/etj/article/view/1495
Publication dates
OnlineOct 2024
Publication process dates
Accepted29 Aug 2024
Deposited08 Jan 2025
Copyright holder© 2024, ETJ
Permalink -

https://repository.uel.ac.uk/item/8ywv5

Download files


Publisher's version
Gifty and Yang paper 2024.pdf
License: CC BY 4.0
File access level: Anyone

  • 12
    total views
  • 8
    total downloads
  • 12
    views this month
  • 8
    downloads this month

Export as

Related outputs

AI-Enhanced Prediction of Multi Organ Failure in COVID-19 Patients
Rajakaruna, I., Amirhosseini, M. H., Li, Y. and Arachcillage, D. J. 2024. AI-Enhanced Prediction of Multi Organ Failure in COVID-19 Patients. IS'24: 12th IEEE International Conference on Intelligent Systems. Varna, Bulgaria 29 - 31 Aug 2024 IEEE. https://doi.org/10.1109/IS61756.2024.10705181
What Goes Up……: modelling the Bitcoin rollercoaster ride
Li, Y. 2024. What Goes Up……: modelling the Bitcoin rollercoaster ride. ELEKTRO 2024: 15th International Conference. Zakopane, Poland 20 - 22 May 2024 IEEE. https://doi.org/10.1109/ELEKTRO60337.2024.10557119
Credit Rating Prediction Using Different Machine Learning Techniques. International
Aiyegbeni, G., Li, Y., Annan, J. and Adebayo, F. 2023. Credit Rating Prediction Using Different Machine Learning Techniques. International. International Journal of Data Science and Advanced Analytics. 5 (5), pp. 219-238.
Improving data quality assessment of connected vehicles data with machine learning and statistical methods
Wall, J., Wondie, M. and Li, Y. 2022. Improving data quality assessment of connected vehicles data with machine learning and statistical methods. Pan African Conference on Artifical Intelligence 2022. 04 - 05 Oct 2022
Evidencing the impacts of the Olympic Games: The view from London 2012
Brimicombe, A. and Li, Y. 2020. Evidencing the impacts of the Olympic Games: The view from London 2012. in: Neri, M. (ed.) Evaluating the Local Impacts of the Rio Olympics Routledge.
A New Variable for Spatial Accessibility Measurement in Social Infrastructure Planning
Li, Y. and Brimicombe, A. 2011. A New Variable for Spatial Accessibility Measurement in Social Infrastructure Planning. in: Proceedings of the 11th International Conference on GeoComputation London University College London.
A New Approach on Rapid Appraisal of Green Roof Potential in Urban Area
Li, Y. and Brimicombe, A. 2015. A New Approach on Rapid Appraisal of Green Roof Potential in Urban Area. LIDAR Magazine. 5 (5), pp. 55-57.
Measuring and assessing the impacts of London 2012
Li, Y. 2015. Measuring and assessing the impacts of London 2012. in: Poynter, Gavin, Viehoff, Valerie and Li, Yang (ed.) The London Olympics and Urban Development: The Mega-Event City Abingdon, Oxon. Routledge. pp. 35-47
Spatial Analysis for Equitable Accessibility in Social Infrastructure Planning
Li, Y. 2016. Spatial Analysis for Equitable Accessibility in Social Infrastructure Planning. in: Timmermans, Harry (ed.) Design & Decision Support Systems in Architecture and Urban Planning Eindhoven University of Technology.
Mobile Geographic Information Systems
Li, Y. and Brimicombe, A. 2012. Mobile Geographic Information Systems. in: Chen, Ruizhi (ed.) Ubiquitous Positioning and Mobile Location-Based Services in Smart Phones IGI Global. pp. 230-253
Road traffic accident hotspot identification using modified Voronoi Process
Ladi, S., Wijeyesekera, D.Chitral, Brimicombe, A. and Li, Y. 2009. Road traffic accident hotspot identification using modified Voronoi Process. Proceedings of Advances in Computing and Technology. (AC&T) The School of Computing and Technology 4th Annual Conference University of East London pp. 189-198
Spatial Discretisation Technology in Coastal Oil Spill Modelling
Li, Y. 2008. Spatial Discretisation Technology in Coastal Oil Spill Modelling. Proceedings of Advances in Computing and Technology. (AC&T) The School of Computing and Technology 3rd Annual Conference University of East London pp. 128-136
Improving Geocoding Rates in Preparation for Crime Data Analysis
Brimicombe, A., Brimicombe, Lily C. and Li, Y. 2007. Improving Geocoding Rates in Preparation for Crime Data Analysis. International Journal of Police Science & Management. 9 (1), pp. 80-92.
Control of spatial discretisation in coastal oil spill modelling
Li, Y. 2007. Control of spatial discretisation in coastal oil spill modelling. International Journal of Applied Earth Observation and Geoinformation. 9 (4), pp. 392-402.
Scenario-based Small Area Population Modelling for Social Infrastructure Planning
Li, Y. and Brimicombe, A. 2008. Scenario-based Small Area Population Modelling for Social Infrastructure Planning. in: Lambrick, David (ed.) Proceedings of GIS Research UK 16th Annual conference GISRUK 2008 pp. 348-353
Agent-based services for the validation and calibration of multi-agent models
Li, Y., Brimicombe, A. and Chao, Li 2008. Agent-based services for the validation and calibration of multi-agent models. Computers, Environment and Urban Systems. 32 (6), pp. 464-473.