Ranking the Factors Affecting Financial Flexibility Using Artificial Neural Networks and Machine Learning

Authors

    Ebrahim Lotfinia Department of Accounting, Ahv.C., Islamic Azad University, Ahvaz, Iran.
    Vali Khodadadi * Associate Professor, Department of Accounting, Faculty of Economics and Social Sciences, Shahid Chamran University of Ahvaz, Ahvaz, Iran. vkhodadadi@scu.ac.ir
    Alireza Jorjor Zadeh Department of Economic, Ahv.C., Islamic Azad University, Ahvaz, Iran.
    Saeed Nasiri Department of Accounting, Ahv.C., Islamic Azad University, Ahvaz, Iran.

Keywords:

Financial flexibility, default risk, managerial ability, political connections, market power, environmental uncertainty, artificial neural network, XGBoost

Abstract

This study aimed to identify and rank the factors affecting the financial flexibility of companies listed on the Tehran Stock Exchange and Iran Fara Bourse using artificial neural network and XGBoost machine-learning models. This applied, quantitative, retrospective, and correlational study used longitudinal firm-level data from companies listed on the Tehran Stock Exchange and Iran Fara Bourse during 2020–2024. Following the application of the inclusion and exclusion criteria, 143 companies were selected through a census approach. Financial flexibility was assessed based on cash holdings and debt capacity. The predictors included default risk, political connections, market power, managerial ability, environmental uncertainty, managerial overconfidence, chief executive officer power, management turnover, and board financial expertise. After data screening and preprocessing, an artificial neural network and the XGBoost algorithm were trained and evaluated. Model performance was assessed using the coefficient of determination and root mean squared error, while variable importance and the direction of predictor effects were interpreted through normalized importance scores and SHAP values. Both algorithms successfully ranked the determinants of financial flexibility, although the artificial neural network demonstrated superior predictive performance. The neural network achieved an (R^2) of 0.499 and an RMSE of 0.179, whereas XGBoost produced an (R^2) of 0.413 and an RMSE of 0.194. Default risk was the most influential predictor in both models, and lower default risk was associated with greater predicted financial flexibility. In the neural network, managerial ability, market power, political connections, and environmental uncertainty followed default risk in importance. In XGBoost, political connections, environmental uncertainty, managerial ability, and market power received the next highest rankings. Managerial overconfidence had moderate importance, whereas chief executive officer power, management turnover, and board financial expertise made comparatively limited predictive contributions. Training and validation errors converged satisfactorily, indicating acceptable model stability and no severe overfitting. Financial flexibility is primarily determined by credit quality, managerial competence, competitive position, institutional access, and environmental conditions, and artificial neural networks provide a more accurate framework than XGBoost for predicting and ranking these nonlinear determinants.

References

[1] J. Gregory, "Financial Flexibility and Corporate Decision-Making," Journal of Corporate Finance, vol. 62, pp. 101-120, 2020.

[2] L. Mohammadi, "Financial Flexibility and Capital Structure of Firms," Journal of Financial Management, vol. 12, no. 3, pp. 55-78, 2021.

[3] C. Ma and Y. Jin, "What Drives the Relationship Between Financial Flexibility and Firm Performance: Investment Scale or Investment Efficiency? Evidence from China," Emerging Markets Finance and Trade, vol. 52, no. 9, pp. 2043-2055, 2016, doi: 10.1080/1540496X.2015.1098036.

[4] R. Fahlenbrach, K. Rageth, and R. M. Stulz, "How Valuable Is Financial Flexibility When Revenue Stops? Evidence from the COVID-19 Crisis," Review of Financial Studies, vol. 34, no. 11, pp. 5474-5521, 2021, doi: 10.1093/rfs/hhaa134.

[5] K. Park, "Financial Flexibility or Financial Constraints? Debt-Free Firms During the COVID-19 Pandemic," Research in International Business and Finance, vol. 71, p. 102472, 2024.

[6] S. Byoun, "Financial Flexibility Demand and Corporate Financial Decisions," The Financial Review, vol. 56, no. 3, pp. 481-509, 2021, doi: 10.1111/fire.12258.

[7] M. A. Almomani, A. N. Obaidat, F. F. Alathamneh, M. A. Almomani, and N. Darkal, "Understanding Firm-Specific Determinants of Financial Flexibility: Evidence from Jordanian Listed Manufacturing Firms," International Journal of Economics and Financial Issues, vol. 15, no. 1, pp. 96-104, 2025, doi: 10.32479/ijefi.17373.

[8] M. Hashemi-Gohar, S. Mohebbali, and M. Bazrafkan, "Analysis of the Moderating Role of Liquidity in the Relationship Between Financial Leverage, Firm Size, and Profitability," Dynamic Management and Business Analysis, 2025.

[9] M. Jafari, "Default Risk and Access to Credit in Corporate Finance," Financial Review, vol. 17, no. 1, pp. 90-112, 2023.

[10] E. Rabiei, F. Jamshidi, and S. Karimpour, "Market Power and Corporate Financial Stability," Industrial Economics Journal, vol. 13, no. 3, pp. 92-115, 2022.

[11] P. Demerjian, B. Lev, and S. McVay, "Quantifying Managerial Ability: A New Measure and Validity Tests," Management Science, vol. 58, no. 7, pp. 1229-1248, 2012, doi: 10.1287/mnsc.1110.1487.

[12] A. Ebrahimi and S. Karimi, "Managerial Characteristics and Financial Flexibility: Evidence from Emerging Markets," International Journal of Management Studies, vol. 14, no. 2, pp. 77-102, 2022.

[13] M. Abrahimi, "Long-Term Managerial Vision and Financial Resilience in Firms," Journal of Strategic Finance, vol. 10, no. 3, pp. 45-68, 2022.

[14] U. Malmendier and G. Tate, "CEO Overconfidence and Corporate Investment," The Journal of Finance, vol. 60, no. 6, pp. 2661-2700, 2005, doi: 10.1111/j.1540-6261.2005.00813.x.

[15] G. V. Krishnan and G. Visvanathan, "Does the SOX Definition of an Accounting Expert Matter? The Association Between Audit Committee Directors' Accounting Expertise and Accounting Conservatism," Contemporary Accounting Research, vol. 25, no. 3, pp. 827-858, 2008, doi: 10.1506/car.25.3.7.

[16] C. J. P. Chen, Z. Li, X. Su, and Z. Sun, "Rent-Seeking Incentives, Corporate Political Connections, and the Control Structure of Private Firms: Chinese Evidence," Journal of Corporate Finance, vol. 17, no. 2, pp. 229-243, 2011, doi: 10.1016/j.jcorpfin.2010.09.009.

[17] R. Hashemi, "Political Connections and Firm Performance Under Uncertainty," Journal of Political Economy, vol. 12, no. 4, pp. 115-138, 2021.

[18] D. Ghosh and L. Olsen, "Environmental Uncertainty and Managers' Use of Discretionary Accruals," Accounting, Organizations and Society, vol. 34, no. 2, pp. 188-205, 2009, doi: 10.1016/j.aos.2008.07.001.

[19] M. Radfar, M. A. Raei Ezabadi, and A. Farrokhi, "The Effect of Organizational Readiness on Financial Flexibility with the Mediating Role of Digital Financial Innovation and the Moderating Role of Business Strategy Alignment," Strategic Studies in Financial and Insurance Management, vol. 2, no. 3, pp. 224-234, 2025.

Downloads

Published

2027-09-01

Submitted

2026-04-16

Revised

2026-07-15

Accepted

2026-07-22

Issue

Section

Articles

How to Cite

Lotfinia , . E. ., Khodadadi, V., Jorjor Zadeh , . A., & Nasiri , S. . (2027). Ranking the Factors Affecting Financial Flexibility Using Artificial Neural Networks and Machine Learning. Business, Marketing, and Finance Open, 1-24. https://bmfopen.com/index.php/bmfopen/article/view/542

Similar Articles

11-20 of 274

You may also start an advanced similarity search for this article.