Short-Term Forecasting of the JSE All-Share Index Using Gradient Boosting Machines
Mueletshedzi Mukhaninga,
Thakhani Ravele () and
Caston Sigauke
Additional contact information
Mueletshedzi Mukhaninga: Department of Mathematical and Computational Sciences, University of Venda, Private Bag X5050, Thohoyandou 0950, South Africa
Thakhani Ravele: Department of Mathematical and Computational Sciences, University of Venda, Private Bag X5050, Thohoyandou 0950, South Africa
Caston Sigauke: Department of Mathematical and Computational Sciences, University of Venda, Private Bag X5050, Thohoyandou 0950, South Africa
Economies, 2025, vol. 13, issue 8, 1-25
Abstract:
This study applies Gradient Boosting Machines (GBMs) and principal component regression (PCR) to forecast the closing price of the Johannesburg Stock Exchange (JSE) All-Share Index (ALSI), using daily data from 2009 to 2024, sourced from the Wall Street Journal. The models are evaluated under three training–testing split ratios to assess short-term forecasting performance. Forecast accuracy is assessed using standard error metrics: mean absolute error (MAE), root mean square error (RMSE), mean absolute percentage error (MAPE), and mean absolute scaled error (MASE). Across all test splits, the GBM consistently achieves lower forecast errors than PCR, demonstrating superior predictive accuracy. To validate the significance of this performance difference, the Diebold–Mariano (DM) test is applied, confirming that the forecast errors from the GBM are statistically significantly lower than those of PCR at conventional significance levels. These findings highlight the GBM’s strength in capturing nonlinear relationships and complex interactions in financial time series, particularly when using features such as the USD/ZAR exchange rate, oil, platinum, and gold prices, the S&P 500 index, and calendar-based variables like month and day. Future research should consider integrating additional macroeconomic indicators and exploring alternative or hybrid forecasting models to improve robustness and generalisability across different market conditions.
Keywords: all-share index; financial market; Gradient Boosting Machines; Johannesburg Stock Exchange; machine learning; time-series predictions (search for similar items in EconPapers)
JEL-codes: E F I J O Q (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2227-7099/13/8/219/pdf (application/pdf)
https://www.mdpi.com/2227-7099/13/8/219/ (text/html)
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:gam:jecomi:v:13:y:2025:i:8:p:219-:d:1711772
Access Statistics for this article
Economies is currently edited by Ms. Hongyan Zhang
More articles in Economies from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().