Predicting the Bankruptcy of Companies Listed on the Tehran Stock Exchange using Machine Learning Models

Document Type : Research Paper

Authors

1 Assistant Professor, Department of Accounting, Ragheb Isfahani Higher Education Institute, Isfahan, Iran

2 Professor, Department of Financial Management, Faculty of Accounting and Financial Sciences, College of Management, Tehran University, Tehran, Iran

3 Professor, Department of Accounting, Faculty of Social Sciences and Economic , Alzahra University, Tehran, Iran.

4 Department of Biomedical Engineering, Faculty of Engineering, Isfahan University, Isfahan, Iran

Abstract

Predicting the bankruptcy of firms is one of the most important topics that helps investors to make the best investment and optimal allocation of their resources The purpose of this research is to present and explain the bankruptcy prediction pattern using machine learning models (logistic regression, support vector machines, K-nearest neighbor, random forest and Extreme Gradient Boosting). The statistical population of this research was all manufacturing firms admitted to the Tehran Stock Exchange between 1389 and 1400. The results show that the Extreme Gradient Boosting algorithm makes correct predictions with maximum accuracy of 97.8%. The random forest model is ranked next with 95.5%. The support vector machine model has the weakest performance among other models. By using grid search technique for Hyperparameter tuning, all the parameters in the machine learning methods used in this research have been optimized; This has resulted in a significant improvement of the evaluation criteria compared to similar methods in other researches as well as traditional bankruptcy prediction methods. The findings showed that due to the nature of the variables used for each firm, the use of machine learning algorithms based on several decision trees that somehow make a tree of these variables and the relationships between them, produce better results. In fact, the use of Extreme Gradient Boosting model and random forest model have been more successful than other models in correctly predicting bankrupt firms.

Keywords

Main Subjects


References
Altman, N. S. (1992). An introduction to kernel and nearest-neighbor nonparametric regression. The American Statistician, 46(3), 175-185.
Barboza, F; Herbert, K; & Edward, A. (2017). Machine learning models and bankruptcy prediction. Expert Systems with Applications, 83, 405-417.
Bayat, A; Ahmadi, S. A. R; & Mohamadi, M. (2018). The Bankruptcy prediction of Tehran Stock Exchange Using Firefly Algorithm (FA). Financial Engineering and Portfolio Management, 9(37), 234-262. (In Persian)
Beaver, W. H. (1966). Financial ratios as predictors of failure. Empir Res Account Sel Stud, 4, 71–111. https://doi.org/10.2307/2490171
Bertomeu, J; Cheynel, E; Floyd, E; & Pan, W. (2021). Using machine learning to detect misstatements. Review of Accounting Studies, 26, 468-519.
Chen, C; Ke, B; & Zhao, Q. (2023). Measuring Firm Quality Using Machine Learning. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4434498 4434498.
Chen, X; Cho, Y. H; Dou, Y; & Lev, B. (2022). Predicting future earnings changes using machine learning and detailed financial data. Journal of Accounting Research, 60(2), 467-515.
Fawcett, T. (2006). An introduction to ROC analysis. Pattern recognition letters, 27, 861-874. doi:10.1016/j.patrec.2005.10.010
Haghparast, A; Momeni, A; Gord, A; & Mansoori, F. (2021). The Role of Visual Financial Ratios in Predicting Corporate Bankruptcy Using Convolutional Neural Network Models and Comparing them with Traditional Models. Accounting and Auditing Review, 28(3), 553-573. (In Persian)
Iturriaga, F. J. L; & Sanz, I. P. (2015). Bankruptcy visualization and prediction using neural networks: A study of US commercial banks. Expert Systems with applications, 42(6), 2857-2869.
Karami, G, & Seyed Hosseini, S.M. (2012). Usefulness of Accounting Information VS. Market Information in Bankruptcy Prediction. Journal of Accounting Knowledge, 3(10), 93-116. (In Persian)
Kheradyar, S; Gholizadeh, M. H; & Lotfi, F. (2018). Hybrid PCA-ANFIS approach and Dove Swarm Optimization for predicting Financial Distress. Financial Engineering and Portfolio Management, 9(37), 133-157. (In Persian)
Lennox, C. (1999). Identifying failing companies: a re-evaluation of the logit, probit and DA approaches. Journal of economics and Business, 51(4), 347-364.
Mason, L; Baxter, J; Bartlett, P. L; & Frean, M. (1999). Boosting Algorithms as Gradient Descent. MIT.512-518. https://dl.acm.org/doi/10.5555/3009657.3009730
Mehrani, S; Mehrani, K; & Monsefi, S.M. (2012). Implication Zmijewski & Shirata Bankruptcy Prediction Models in Tehran stock Exchange. The Iranian Accounting and Auditing Review, 12(41), 105-131. (In Persian)
Mousavi, M. M. & Ouenniche, J. (2018). Multi-criteria ranking of corporate distress prediction models: empirical evaluation and methodological contributions. Annals of Operations Research, 271(2), 853- 886.
Narvekar, A. & Debashis, G. (2021). Bankruptcy prediction using machine learning and an application to the case of the COVID-19 recession. Data Science in Finance and Economics, 1(2), 180-195.
Nazemi Ardakani, M; Zare mehrJardi, V; & Mohammadi-nodooshan, A. (2018). A Firms' Bankruptcy Prediction Model Based on Selected Industries by Using Decision Trees Model. Journal of Asset Management and Financing, 6(2), 121-138. (In Persian)
Nello, C. & Taylor, J. (2000). An Introduction to Support Vector Machines and other kernel-based learning methods. 30(1), 103-115.
Raei, R. & Falahpour, S. (2008). Support Vector Machine Application in Financial Distress Prediction of Companies Using Financial Ratios. The Iranian Accounting and Auditing Review, 15(53), 17-34. (In Persian)
Saha, D; Young, T. M; & Thacker, J. (2023). Predicting firm performance and size using machine learning with a Bayesian perspective. Machine Learning with Applications, 11, 100453. https://doi.org/10.1016/j.mlwa.2023.100453
Shin, K.S. & Lee, L. (2002). A genetic algorithm application in bankruptcy prediction modeling. Expert systems with applications, 23(3), 321-328.
Soufi, M; Homayounfar, M; & Fadaei, M. (2020). Developing an Optimal Method for Financial Distress Prediction of the Firms (Case Study: Tehran Stock Exchange). Journal of Investment Knowledge, 9 (35), 85-100. (In Persian)
Zhou, M & Zhi, Hua. (2021). Machine learning. Springer Nature.
https://link.springer.com/book/10.1007/978-981-15-1967-3