Author
Listed:
- Nkosinathi Emmanuel Radebe
(School of Accounting, Economics and Finance, College of Law and Management Studies, University of KwaZulu-Natal, Durban 4041, South Africa)
- Bomi Cyril Nomlala
(School of Accounting, Economics and Finance, College of Law and Management Studies, University of KwaZulu-Natal, Durban 4041, South Africa)
- Frank Ranganai Matenda
(School of Accounting, Economics and Finance, College of Law and Management Studies, University of KwaZulu-Natal, Durban 4041, South Africa)
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.
Suggested Citation
Nkosinathi Emmanuel Radebe & Bomi Cyril Nomlala & Frank Ranganai Matenda, 2026.
"Forecasting Municipal Financial Distress in South Africa: A Machine Learning Approach,"
Forecasting, MDPI, vol. 8(1), pages 1-34, February.
Handle:
RePEc:gam:jforec:v:8:y:2026:i:1:p:18-:d:1865145
Download full text from publisher
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:gam:jforec:v:8:y:2026:i:1:p:18-:d:1865145. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.