EconPapers    
Economics at your fingertips  
 

Predicting the South African Stock Market Using the Hybrid of LSTM-ARFIMA Model

Olumide Sunday Adesina () and Lawrence Ogechukwu Obokoh ()
Additional contact information
Olumide Sunday Adesina: University of Johannesburg
Lawrence Ogechukwu Obokoh: University of Johannesburg

A chapter in Embracing Technological Agility in Accounting and Business – Vol. 3, 2026, pp 41-53 from Springer

Abstract: Abstract Stock price forecasting is a fundamental challenge for traders and investors who rely on historical price patterns for decision-making. In this study, we forecast the Financial Times Stock Exchange (FTSE) South Africa index from March 1, 2023, to May 3, 2025, based on three-time series models: Long Short-Term Memory (LSTM), Auto-Regressive Fractionally Integrated Moving Average (ARFIMA), and Auto-Regressive Integrated Moving Average (ARIMA) and the hybrid of LSTM-ARIMA. This study compares the performance of these models to identify the most accurate approach for forecasting the South African stock market. The models were evaluated based on percentage changes in historical daily price data of the FTSE South Africa index obtained from publicly available sources. The dataset was cleaned, normalized, and split into training (80%) and testing (20%) subsets. The LSTM model, which can capture long-term dependencies in time-series data, was implemented using TensorFlow and trained on normalized data. Traditional statistical models such as ARFIMA and ARIMA were also trained using the same dataset. Forecasting measures—Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE)—were utilized for model performance comparison. The results revealed that LSTM, and the hybrid of deep learning and traditional model was statistically much better than the ARFIMA and ARIMA models in prediction, overall lesser values of MAE and RMSE quantifying its superior performance in capturing the underlying trends of stock market data. The model exhibited more stability and handled sequential dependence and nonlinearity in stock market data. The findings demonstrate that the hybrid LSTM-ARFIMA model outperforms traditional time-series models (ARIMA and ARFIMA) in stock market forecasting, making it a valuable tool for future investment decisions.

Keywords: Stock exchange; Deep learning; TensorFlow; Time series; Forecast performance; South Africa (search for similar items in EconPapers)
Date: 2026
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:prbchp:978-3-032-13388-5_4

Ordering information: This item can be ordered from
http://www.springer.com/9783032133885

DOI: 10.1007/978-3-032-13388-5_4

Access Statistics for this chapter

More chapters in Springer Proceedings in Business and Economics from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-05-11
Handle: RePEc:spr:prbchp:978-3-032-13388-5_4