Predicting Financial Distress with XGBoost: Evidence in the Latin American Public Utility Sector

Authors

DOI:

https://doi.org/10.11606/issn.1982-6486.rco.2026.243777

Keywords:

Risk management, Credit risk, Machine learning, Emerging markets, Insolvency

Abstract

This study investigates the effectiveness of the XGBoost machine learning algorithm for forecasting financial distress (FD) in Latin American utility firms using financial data from 2000 to 2019. The dataset comprises firms from six Latin American countries, with FD defined through accounting indicators, such as negative Earnings Before Interest, Taxes, Depreciation, and Amortization (EBITDA), and market indicators based on declines in market value. The model was trained using undersampled data to address class imbalance and evaluated using metrics including Area Under the Curve (AUC), accuracy, Type I and Type II errors, and Brier Score. The results show that, within the sector-specific sample analyzed, the XGBoost model outperformed logistic regression and achieved performance comparable to or superior to that of Random Forest, whose reference results were obtained from a multi-sector sample. Overall, XGBoost achieved accuracy ranging from 88% to 95.5% and Type II error rates between 0% and 12%, surpassing the reference model. The most relevant variables differed according to the type of financial distress. For accounting-based FD, profitability indicators, especially earnings per share, were predominant. For market-based FD, variables associated with investor perceptions became more prominent, including year-over-year changes in the price-to-book ratio and location-related factors (country-level variables). The study confirms the potential of XGBoost both for forecasting financial difficulties with a one-year lead time and for interpreting the underlying factors, which evidences a potentially useful tool for analysts, regulators, and investors. More broadly, the results contribute to the ongoing discussion of forecasting performance in finance.

Downloads

Download data is not yet available.

Author Biography

  • Flavio Luiz de Moraes Barboza, Universidade Federal de Uberlândia (UFU)

    Professor da UFU-Faculdade de Gestão e Negócios (FAGEN), possui graduação em Matemática pela UNESP, mestrado em Biofísica Molecular pela UNESP, doutorado em Finanças Estratégicas pela Universidade Presbiteriana Mackenzie com período sanduíche na Leonard Stern School of Business - New York University, apoiado pelo PDSE-CAPES, dois pós-doutorados e Livre Docência pela USP. Tem experiência na área de Matemática aplicada em Finanças, com ênfase em Gestão de Riscos, Risco de Crédito, Desempenho Financeiro e Análise de Investimentos. Ainda, desenvolve projetos de pesquisa envolvendo machine learning aplicado a Finanças.

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/2978933

Araújo, M. M. N., Sousa, A. B. V., Parente, P. H. N., & Santos, J. G. C. dos. (2025). Subsídios governamentais e risco de insolvência nas instituições financeiras brasileiras. Revista de Contabilidade e Organizações, 19, e232628. https://doi.org/10.11606/issn.1982-6486.rco.2025.232628

Barboza, F. (2023). Data and Code (in R) for predicting Financial Distress in Latin America (Versão 1) [Conjunto de dados]. Harvard Dataverse. https://doi.org/10.7910/DVN/ODLGNJ

Barboza, F., & Altman, E. (2024). Predicting financial distress in Latin American companies: A comparative analysis of logistic regression and random forest models. The North American Journal of Economics and Finance, 72, 102158. https://doi.org/10.1016/j.najef.2024.102158

Beaver, W. H. (1966). Financial Ratios As Predictors of Failure. Journal of Accounting Research, 4(3), 71–111. https://doi.org/10.2307/2490171

Canton, C., Müller, M., da Silva, T. P., & da Rocha Armada, M. J. (2021). Dificultad financiera y rendimiento de mercado de organizaciones latinoamericanas. Revista Facultad de Ciencias Económicas, 29(1), 11–26. https://doi.org/10.18359/rfce.4450

Cardona, L., Gutiérrez, M., & Agudelo, D. A. (2017). Volatility transmission between US and Latin American stock markets: Testing the decoupling hypothesis. Research in International Business and Finance, 39, 115–127. https://doi.org/10.1016/j.ribaf.2016.07.008

Chen, M.-Y. (2011). Predicting corporate financial distress based on integration of decision tree classification and logistic regression. Expert Systems with Applications, 38(9), 11261–11272. https://doi.org/10.1016/j.eswa.2011.02.173

Chou, J. S., & Pham, N. N. H. (2026). Boosting ensembles and deep vision networks optimized by forensic-based investigation algorithm for financial distress prediction in construction firms. Journal of Big Data, 13(1), 25. https://doi.org/10.1186/s40537-025-01345-w

Eça, J. P. A., Albanez, T., & Valle, M. R. do. (2025). Um panorama da renegociação de dívidas de empresas brasileiras de capital aberto no período 2010-2021. Revista De Contabilidade E Organizações, 19, e218938. https://doi.org/10.11606/issn.1982-6486.rco.2025.218938

Gabrielli, G., Melioli, A., & Bertini, F. (2026). Corporate financial distress prediction: a machine learning approach in the era of big data. Journal of Accounting & Organizational Change, 22(7), 31-65. https://doi.org/10.1108/JAOC-05-2025-0166

Geng, R., Bose, I., & Chen, X. (2015). Prediction of financial distress: An empirical study of listed Chinese companies using data mining. European Journal of Operational Research, 241(1), 236–247. https://doi.org/10.1016/j.ejor.2014.08.016

Gepp, A., & Kumar, K. (2015). Predicting Financial Distress: A Comparison of Survival Analysis and Decision Tree Techniques. Procedia Computer Science, 54, 396–404. https://doi.org/10.1016/j.procs.2015.06.046

Huang, Y.-P., & Yen, M.-F. (2019). A new perspective of performance comparison among machine learning algorithms for financial distress prediction. Applied Soft Computing, 83, 105663. https://doi.org/10.1016/j.asoc.2019.105663

Kristanti, F. T., Salim, D. F., & Ihsan, A. F. (2025). Financial distress prediction in emerging markets by using a machine learning approach for financial sustainability. Discover Sustainability, 6(1), 1296. https://doi.org/10.1007/s43621-025-02199-1

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

Pindado, J., Rodrigues, L., & de la Torre, C. (2008). Estimating financial distress likelihood. Journal of Business Research, 61(9), 995–1003. https://doi.org/10.1016/j.jbusres.2007.10.006

Poffo, R. F., Bubeck, S. K. & Hein, N. (2025). Habilidade gerencial e financial distress: uma análise de empresas listadas na B3. Revista de Contabilidade e Organizações, 19:e230114. https://doi.org/10.11606/issn.1982-6486.rco.2026.230114

Vu, K. M., & Gurtoo, A. (2014). Utility Sector Performance Post Reforms: Investigating the South Asian Economies. Poverty & Public Policy, 6(2), 157–175. https://doi.org/10.1002/POP4.68

Yang, H., Li, E., Cai, Y. F., Li, J., & Yuan, G. X. (2021). The extraction of early warning features for predicting financial distress based on XGBoost model and shap framework. International Journal of Financial Engineering, 08(03), 2141004. https://doi.org/10.1142/s2424786321410048

Published

2026-11-04

Issue

Section

Paper

How to Cite

Mendes, J. P. S., Garruti, D. V. T., & Barboza, F. L. de M. (2026). Predicting Financial Distress with XGBoost: Evidence in the Latin American Public Utility Sector. Revista De Contabilidade E Organizações, 20, e243777. https://doi.org/10.11606/issn.1982-6486.rco.2026.243777