Hybridizing Structural Credit Risk and Machine Learning for Corporate Distress Prediction: Evidence from Indonesian Non-Financial Public Firms
DOI:
https://doi.org/10.38035/jafm.v7i2.3266Keywords:
Corporate Distress, XGBoost, Distance-to-Default, SHAP, Emerging MarketsAbstract
This study develops an explainable early-warning framework for predicting corporate distress among non-financial firms listed on the Indonesia Stock Exchange. Using a firm-month panel of 107,448 observations from 2014 to 2024, the study constructs a 12-month forward distress label based on PKPU and bankruptcy events. The analysis compares Logistic Regression, Random Forest, XGBoost, and a hybrid XGBoost model incorporating Merton-based structural indicators, evaluated using ROC-AUC, PR-AUC, precision, recall, and F1-score under a time-based split. The results show that tree-ensemble models outperform Logistic Regression, with XGBoost achieving the strongest standalone rare-event performance, including PR-AUC of 0.151 and F1-score of 0.217. Adding Merton structural indicators does not improve aggregate ROC-AUC or PR-AUC, but improves recall and F1-score, indicating incremental detection value at the operational threshold. SHAP analysis shows that distress predictions are mainly driven by solvency, leverage, retained earnings, debt-servicing capacity, profitability, asset structure, and market signals. The model captures 66.7% of distress events with an average lead time of 8.5 months. The study contributes an interpretable hybrid framework for corporate distress early warning in an emerging-market setting.
References
Alanis, E., Chava, S., & Shah, A. (2022). Benchmarking machine learning models to predict corporate bankruptcy (SSRN Scholarly Paper No. 4249412). Social Science Research Network. https://doi.org/10.2139/ssrn.4249412
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/2978933
Bank Indonesia. (2024). BI rate. Bank Indonesia.
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
Bauer, J., & Agarwal, V. (2014). Are hazard models superior to traditional bankruptcy prediction approaches? A comprehensive test. Journal of Banking & Finance, 40, 432-442. https://doi.org/10.1016/j.jbankfin.2013.12.013
Beaver, W. H. (1966). Financial ratios as predictors of failure. Journal of Accounting Research, 4, 71-111. https://doi.org/10.2307/2490171
Bharath, S. T., & Shumway, T. (2008). Forecasting default with the Merton Distance to Default model. The Review of Financial Studies, 21(3), 1339-1369. https://doi.org/10.1093/rfs/hhn044
Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5-32. https://doi.org/10.1023/A:1010933404324
Campbell, J. Y., Hilscher, J., & Szilagyi, J. (2008). In search of distress risk. The Journal of Finance, 63(6), 2899-2939. https://doi.org/10.1111/j.1540-6261.2008.01416.x
Credit Guarantee and Investment Facility. (2024). ASEAN+3 corporate bond market research 2024. Asian Development Bank.
Direktorat Jenderal Badan Peradilan Umum. (2024). Laporan pelaksanaan kegiatan Direktorat Jenderal Badan Peradilan Umum. Mahkamah Agung Republik Indonesia.
Hosmer, D. W., & Lemeshow, S. (2000). Applied logistic regression (2nd ed.). John Wiley & Sons. https://doi.org/10.1002/0471722146
Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In I. Guyon, U. von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, & R. Garnett (Eds.), Advances in neural information processing systems (Vol. 30, pp. 4765-4774). Curran Associates.
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, 56-67. https://doi.org/10.1038/s42256-019-0138-9
Mahkamah Agung Republik Indonesia. (n.d.). Sistem Informasi Penelusuran Perkara Pengadilan Niaga. Retrieved from Sistem Informasi Penelusuran Perkara websites of Indonesian commercial courts.
Merton, R. C. (1974). On the pricing of corporate debt: The risk structure of interest rates. The Journal of Finance, 29(2), 449-470. https://doi.org/10.2307/2978814
Ohlson, J. A. (1980). Financial ratios and the probabilistic prediction of bankruptcy. Journal of Accounting Research, 18(1), 109-131. https://doi.org/10.2307/2490395
Peykani, P., Salehi, M., & Karimi, A. (2023). The application of structural and machine learning models to predict the default risk of listed companies in Iranian capital market. Financial Innovation, 9(1), Article 70. https://doi.org/10.1186/s40854-023-00494-3
Powers, D. M. W. (2011). Evaluation: From precision, recall and F-measure to ROC, informedness, markedness and correlation. Journal of Machine Learning Technologies, 2(1), 37-63.
PT Bursa Efek Indonesia. (2024). IDX market data. Indonesia Stock Exchange.
PT Pemeringkat Efek Indonesia. (2024). The default study: Period of 2007-2024. PEFINDO.
S&P Global Market Intelligence. (2024). S&P Capital IQ database.
Saito, T., & Rehmsmeier, M. (2015). The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLoS ONE, 10(3), Article e0118432. https://doi.org/10.1371/journal.pone.0118432
Shumway, T. (2001). Forecasting bankruptcy more accurately: A simple hazard model. The Journal of Business, 74(1), 101-124. https://doi.org/10.1086/209665
Youden, W. J. (1950). Index for rating diagnostic tests. Cancer, 3(1), 32-35. https://doi.org/10.1002/1097-0142(1950)3:1%3C32::AID-CNCR2820030106%3E3.0.CO;2-3
Zmijewski, M. E. (1984). Methodological issues related to the estimation of financial distress prediction models. Journal of Accounting Research, 22, 59-82. https://doi.org/10.2307/2490859
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Nakula Senchaki, Rofikoh Rokhim

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish their manuscripts in this journal agree to the following conditions:
- The copyright on each article belongs to the author(s).
- The author acknowledges that the Journal of Accounting and Finance Management (JAFM) has the right to be the first to publish with a Creative Commons Attribution 4.0 International license (Attribution 4.0 International (CC BY 4.0).
- Authors can submit articles separately, arrange for the non-exclusive distribution of manuscripts that have been published in this journal into other versions (e.g., sent to the author's institutional repository, publication into books, etc.), by acknowledging that the manuscript has been published for the first time in the Journal of Accounting and Finance Management (JAFM).
























