Predicting the Risk of MSME Bankruptcy in Kupang City: Integrating the Altman Z-Score, Macroeconomic Impact, Machine Learning, and Explainable AI (SHAP and LIME)

Authors

  • Olaf Tri Wilopo Simanjuntak Universitas Nusa Cendana, Indonesia
  • Fajri Adha Universitas Nusa Cendana, Indonesia
  • Theddy Baskhara Foenale Universitas Nusa Cendana, Indonesia
  • Septimus Adrianus Mali Universitas Nusa Cendana, Indonesia
  • Nur Muhlis Universitas Nusa Cendana, Indonesia
  • James Miguel Danielo Universitas Nusa Cendana, Indonesia
  • Rahmat Joshua Setia Benu Universitas Nusa Cendana, Indonesia
  • Kayleen RI Bale Doto Universitas Nusa Cendana, Indonesia
  • Ilham Samuel Silahooy Universitas Nusa Cendana, Indonesia

DOI:

https://doi.org/10.55681/economina.v5i10.4818

Keywords:

MSME Bankruptcy, Altman Z-Score, Macroeconomics, Gradient Boosting, Explainable AI, Kupang City

Abstract

This study aims to assess the financial health and predict the bankruptcy risk of 100 micro, small, and medium enterprises (MSMEs) in Kupang City by integrating the Altman Z′′ score, testing the impact of macroeconomic variables, machine learning modeling , and explainable artificial intelligence (XAI). Data completeness was tested with Little's MCAR test, the impact of macroeconomics (inflation, deposit interest rates, and rupiah exchange rates) on the Z′′ score was tested with the Wilcoxon Signed-Rank Test, and four classification algorithms (Gradient Boosting, Random Forest, Logistic Regression, and Naive Bayes) were compared on 11 selected features, then the best model was explained with SHAP and LIME. The results showed that missing data was perfectly random (Sig. 0.587) and all MSMEs experienced a decrease in health scores after macroeconomic factors were included (Z = −8.697; Sig. 0.000). Gradient Boosting provides the best performance in accuracy, precision, recall , and F1-score (80%; 0.83; 0.71; 0.77) with an AUC of 0.85. SHAP analysis places D2, total current assets, and D1 indicators as global determinants, while LIME on three MSMEs shows that low D2 and limited total current assets drive the prediction of bankruptcy risk in MSME #2. These findings confirm that assessments based on internal data alone tend to be overly optimistic and that the combination of predictive models with transparent explanations can be the basis of an early warning system for businesses, banks, and local governments.

Downloads

Download data is not yet available.

References

Altman, E. I. (1968). Financial ratios, discriminant analysis and the prediction of corporate bankruptcy. The Journal of Finance, 23(4), 589–609. https://doi.org/10.2307/2325319

Altman, E. I. (2005). An emerging market credit scoring system for corporate bonds. Emerging Markets Review, 6(4), 311–323.

Altman, E. I. (2018). Applications of distress prediction models: What have we learned after 50 years from the Z-score models? International Journal of Financial Studies, 6(3), 70. https://doi.org/10.3390/ijfs6030070

Altman, E. I., Iwanicz-Drozdowska, M., Laitinen, E. K., & Suvas, A. (2017). Financial distress prediction in an international context: A review and empirical analysis of Altman’s Z-score model. Journal of International Financial Management & Accounting, 28(2), 131–171. https://doi.org/10.1111/jifm.12053

Barboza, F., Kimura, H., & Altman, E. (2017). Machine learning models and bankruptcy prediction. Expert Systems with Applications, 83, 405–417. https://doi.org/10.1016/j.eswa.2017.04.006

Barredo Arrieta, A., Díaz-Rodríguez, N., Del Ser, J., Bennetot, A., Tabik, S., Barbado, A., García, S., Gil-López, S., Molina, D., Benjamins, R., Chatila, R., & Herrera, F. (2020). Explainable artificial intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Information Fusion, 58, 82–115. https://doi.org/10.1016/j.inffus.2019.12.012

Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324

Bussmann, N., Giudici, P., Marinelli, D., & Papenbrock, J. (2021). Explainable machine learning in credit risk management. Computational Economics, 57(1), 203–216. https://doi.org/10.1007/s10614-020-10042-0

Correa, A. (2023). Predicting business bankruptcy in Colombian SMEs: A machine learning approach. Journal of International Commerce, Economics and Policy, 14(3). https://doi.org/10.1142/S1793993323500278

Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. The Annals of Statistics, 29(5), 1189–1232. https://doi.org/10.1214/aos/1013203451

Gramegna, A., & Giudici, P. (2021). SHAP and LIME: An evaluation of discriminative power in credit risk. Frontiers in Artificial Intelligence, 4, 752558. https://doi.org/10.3389/frai.2021.752558

Káčer, M., & Alexy, M. (2025). SMEs’ failure prediction: Are machine learning models superior? Studies in Economics and Finance, 42(5), 908–944. https://doi.org/10.1108/SEF-09-2024-0629

Kou, G., Xu, Y., Peng, Y., Shen, F., Chen, Y., Chang, K., & Kou, S. (2021). Bankruptcy prediction for SMEs using transactional data and two-stage multiobjective feature selection. Decision Support Systems, 140, 113429. https://doi.org/10.1016/j.dss.2020.113429

Little, R. J. A. (1988). A test of missing completely at random for multivariate data with missing values. Journal of the American Statistical Association, 83(404), 1198–1202. https://doi.org/10.1080/01621459.1988.10478722

Lundberg, S. M., Erion, G., Chen, H., DeGrave, A., Prutkin, J. M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N., & Lee, S.-I. (2020). From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2(1), 56–67. https://doi.org/10.1038/s42256-019-0138-9

Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30, 4765–4774.

Nguyen, H. H., Viviani, J.-L., & Ben Jabeur, S. (2025). Bankruptcy prediction using machine learning and Shapley additive explanations. Review of Quantitative Finance and Accounting, 65(1), 107–148. https://doi.org/10.1007/s11156-023-01192-x

Park, M. S., Son, H., Hyun, C., & Hwang, H. J. (2021). Explainability of machine-learning models for bankruptcy prediction. IEEE Access, 9, 124887–124899. https://doi.org/10.1109/ACCESS.2021.3110270

Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, É. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830.

Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). “Why should I trust you?” Explaining the predictions of any classifier. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 1135–1144. https://doi.org/10.1145/2939672.2939778

Romaniyah, & Alfian, N. (2024). Analisis prediksi financial distress dengan menggunakan model Altman Z-Score pada UMKM di Pamekasan. KRISNA: Kumpulan Riset Akuntansi, 15(2), 309–316. https://doi.org/10.22225/kr.15.2.2024.309-316

Shetty, S., Musa, M., & Brédart, X. (2022). Bankruptcy prediction using machine learning techniques. Journal of Risk and Financial Management, 15(1), 35. https://doi.org/10.3390/jrfm15010035

Tambunan, T. T. H. (2019). Recent evidence of the development of micro, small and medium enterprises in Indonesia. Journal of Global Entrepreneurship Research, 9, 18. https://doi.org/10.1186/s40497-018-0140-4

Tinoco, M. H., & Wilson, N. (2013). Financial distress and bankruptcy prediction among listed companies using accounting, market and macroeconomic variables. International Review of Financial Analysis, 30, 394–419. https://doi.org/10.1016/j.irfa.2013.02.013

Wahlstrøm, R. R., Becker, L.-K., & Fornes, T. N. (2024). Enhancing credit risk assessments of SMEs with non-financial information. Cogent Economics & Finance, 12(1), 2418910. https://doi.org/10.1080/23322039.2024.2418910

Wilcoxon, F. (1945). Individual comparisons by ranking methods. Biometrics Bulletin, 1(6), 80–83. https://doi.org/10.2307/3001968

Yeo, W. J., et al. (2025). A comprehensive review on financial explainable AI. Artificial Intelligence Review, 58(6), 189. https://doi.org/10.1007/s10462-024-11077-7

Downloads

Published

2026-10-30

How to Cite

Simanjuntak, O. T. W., Adha, F., Foenale, T. B., Mali, S. A., Muhlis, N., Danielo, J. M., Benu, R. J. S., Doto, K. R. B., & Silahooy, I. S. (2026). Predicting the Risk of MSME Bankruptcy in Kupang City: Integrating the Altman Z-Score, Macroeconomic Impact, Machine Learning, and Explainable AI (SHAP and LIME). JURNAL ECONOMINA, 5(10), 9126–9141. https://doi.org/10.55681/economina.v5i10.4818