IDEAS home Printed from https://ideas.repec.org/h/spr/prbchp/978-3-032-13388-5_4.html

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

In: Embracing Technological Agility in Accounting and Business – Vol. 3

Author

Listed:
  • Olumide Sunday Adesina

    (University of Johannesburg)

  • Lawrence Ogechukwu Obokoh

    (University of Johannesburg)

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.

Suggested Citation

  • Olumide Sunday Adesina & Lawrence Ogechukwu Obokoh, 2026. "Predicting the South African Stock Market Using the Hybrid of LSTM-ARFIMA Model," Springer Proceedings in Business and Economics, in: Tankiso Moloi (ed.), Embracing Technological Agility in Accounting and Business – Vol. 3, pages 41-53, Springer.
  • Handle: RePEc:spr:prbchp:978-3-032-13388-5_4
    DOI: 10.1007/978-3-032-13388-5_4
    as

    Download full text from publisher

    To our knowledge, this item is not available for download. To find whether it is available, there are three options:
    1. Check below whether another version of this item is available online.
    2. Check on the provider's web page whether it is in fact available.
    3. Perform a
    for a similarly titled item that would be available.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:prbchp:978-3-032-13388-5_4. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.