Forecasting South Africa’s Consumer Price Index Using Seasonal ARIMA, LSTM, Support Vector Regression, and Gradient Boosting Models
Naledi Blessing Mokoena, Johannes Tshepiso Tsoku, Martin Chanza
Key points
From the paper's conclusion- Overall, the results demonstrate the potential of ML-based approaches, particularly LSTM and GBT, for capturing the complex dynamics of South African CPI.
Abstract
Accurate forecasting of the Consumer Price Index (CPI) is essential for effective monetary policy, inflation targeting, and macroeconomic planning. This study evaluates the forecasting performance of a traditional statistical model, Seasonal Autoregressive Integrated Moving Average with exogenous variables (SARIMAX), alongside three machine learning (ML) models: Long Short-Term Memory (LSTM), Support Vector Regression (SVR), and Gradient Boosting Trees (GBT) for forecasting South Africa’s CPI. Monthly data spanning February 2012 to January 2026 are used, incorporating CPI and key macroeconomic predictors, namely the Producer Price Index (PPI), Gross Loan Debt, Foreign Debt, Total Exports, Total Imports, and the Foreign Exchange Rate. Forecasting accuracy is assessed using MSE, RMSE, and MAPE. The empirical results show that the LSTM model achieves the lowest forecast errors, with an out-of-sample MAPE of 1.192% and an RMSE of 1.4177, followed by the GBT model with a MAPE of 1.320%. The SARIMAX and SVR models exhibit comparatively higher forecast errors. The Diebold–Mariano test indicates that the difference in predictive accuracy between the LSTM and GBT models is not statistically significant, suggesting statistically comparable forecasting performance. Overall, the results demonstrate the potential of ML-based approaches, particularly LSTM and GBT, for capturing the complex dynamics of South African CPI. The study contributes to the economic forecasting literature by providing empirical evidence on the application and comparative performance of statistical and ML models for CPI forecasting in an emerging economy. The findings provide useful insights for central banks, policymakers, economists, and financial institutions seeking improved CPI forecasts to support monetary policy formulation, economic planning, and financial decision-making.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Evaluating machine learning and econometric models for inflation forecasting: evidence from a Sub-Saharan African panelFuture Business Journal · 2026
- Research on Algorithm Improvement of ARIMA-LSTM Hybrid Model in Time Series Prediction of Inflation RateInternational Scientific Technical and Economic Research · 2026
- Semiparametric Panel Generalized Additive Models for Separate Forecasting of GDP Growth and Inflation in African EconomiesForecasting · 2026
- A Retrospective Forecast Audit of Recorded LSTM and ARIMA Inflation Projection Paths for Vietnam, October 2024 to September 2025Computation · 2026
- Forecasting Gold–Brent–U.S. Dollar Return Connectedness: Persistence Versus Macro-Financial InformationForecasting · 2026
- Hybrid Deep Learning Techniques Integrated with Machine Learning for Foreign Exchange Rate ForecastingElectronics · 2026