Next Article in Journal
Crude Oil Shocks and Saudi Stock Returns: An Integrated Granger–LSTM–XGBoost Analysis
Previous Article in Journal
Satellite Data and Artificial Intelligence for FINtech
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forecasting Municipal Financial Distress in South Africa: A Machine Learning Approach

by
Nkosinathi Emmanuel Radebe
*,
Bomi Cyril Nomlala
and
Frank Ranganai Matenda
School of Accounting, Economics and Finance, College of Law and Management Studies, University of KwaZulu-Natal, Durban 4041, South Africa
*
Author to whom correspondence should be addressed.
Forecasting 2026, 8(1), 18; https://doi.org/10.3390/forecast8010018
Submission received: 25 January 2026 / Revised: 12 February 2026 / Accepted: 12 February 2026 / Published: 14 February 2026
(This article belongs to the Section Forecasting in Economics and Management)

Abstract

Persistent fiscal stress in South African municipalities undermines service delivery, yet practical tools for early detection remain limited. This study predicts one-year-ahead municipal financial distress to support risk-based prioritisation. We develop machine learning models using a 2018/19–2022/23 municipality panel, combining 13 financial health indicators from State of Local Government (SoLG) reports with selected socio-economic variables. Penalised logistic regression is benchmarked against random forest and XGBoost under a leakage-aware, time-ordered split into training, validation, and an out-of-time test year; class imbalance is handled through class weighting. Performance is evaluated using PR-AUC, ROC-AUC, calibration, and a capacity-constrained Top-30 rule. All models outperform a naïve last-year baseline on the out-of-time test (PR-AUC 0.934–0.954; ROC-AUC 0.886–0.923), with bootstrap intervals supporting robustness. Random forest performs best overall, while penalised logistic regression remains competitive. Under the Top-30 rule (12.3% workload), precision is high (precision@30 0.967–1.000) while recall is modest (recall@30 0.186–0.192). SHAP values and logistic odds ratios identify liquidity, solvency, cash coverage, and employment deprivation as key drivers. The Top-30 rule corresponds to an annual intensive monitoring portfolio that is reasonable under constrained staffing and budget capacity in national and provincial oversight units, while probability thresholds are reported as conventional benchmarks rather than as policy triggers.
Keywords: forecasting; municipal finance; financial distress; early warning; machine learning; calibration; precision–recall; South Africa forecasting; municipal finance; financial distress; early warning; machine learning; calibration; precision–recall; South Africa

Share and Cite

MDPI and ACS Style

Radebe, N.E.; Nomlala, B.C.; Matenda, F.R. Forecasting Municipal Financial Distress in South Africa: A Machine Learning Approach. Forecasting 2026, 8, 18. https://doi.org/10.3390/forecast8010018

AMA Style

Radebe NE, Nomlala BC, Matenda FR. Forecasting Municipal Financial Distress in South Africa: A Machine Learning Approach. Forecasting. 2026; 8(1):18. https://doi.org/10.3390/forecast8010018

Chicago/Turabian Style

Radebe, Nkosinathi Emmanuel, Bomi Cyril Nomlala, and Frank Ranganai Matenda. 2026. "Forecasting Municipal Financial Distress in South Africa: A Machine Learning Approach" Forecasting 8, no. 1: 18. https://doi.org/10.3390/forecast8010018

APA Style

Radebe, N. E., Nomlala, B. C., & Matenda, F. R. (2026). Forecasting Municipal Financial Distress in South Africa: A Machine Learning Approach. Forecasting, 8(1), 18. https://doi.org/10.3390/forecast8010018

Article Metrics

Back to TopTop