From Data to Decisions: Role of Machine Learning in Predicting Cash Holdings of Manufacturing Firms in Pakistan

Keywords: cash holdings, machine learning algorithms, manufacturing firms

Abstract

Effective cash management is essential to maintain a firm's financial health and sustainability. Hence, this study evaluates the prediction performance of various machine learning (ML) algorithms in identifying firm-specific determinants of cash holdings among the manufacturing firms of an emerging market, namely Pakistan. Using secondary data, the analysis employs ML techniques such as multiple linear regression, LASSO regression, ridge regression, elastic net regression, as well as random forest, gradient boosting, support vector regression, and decision tree models. The findings reveal that random forest and gradient boosting models outperformed others in predicting cash holdings, while the decision tree model exhibited the poorest performance. These insights are valuable for managers and decision-makers in optimizing cash retention, capital allocation, and investment planning. Additionally, policymakers can leverage these findings to develop policies that enhance financial resilience and foster growth in the manufacturing sector of Pakistan.

Downloads

Download data is not yet available.

References

Aftab, U., Javid, A. Y., & Akhter, W. (2018). The determinants of cash holdings around different regions of the world. Business and Economic Review, 10(2), 151–181. https://doi.org/10.22547/BER/10.2.7

Ahmad, W., & Adaoglu, C. (2019). Cash management in the travel and leisure sector: Evidence from the United Kingdom. Applied Economics Letters, 26(7), 618–621. https://doi.org/10.1080/13504851.2018.1488050

Ahn, M. J., Bae, E., & Zhou, J. (2024). The role of corporate cash holdings in the transmission of monetary policy tightening (Working Paper No. 2024/245). International Monetary Fund. https://doi.org/10.5089/9798400296321.001

Ajiga, D. I., Adeleye, R. A., Tubokirifuruar, T. S., Bello, B. G., Ndubuisi, N. L., Asuzu, O. F., & Owolabi, O. R. (2024). Machine learning for stock market forecasting: A review of models and accuracy. Finance & Accounting Research Journal, 6(2), 112–124. https://doi.org/10.51594/farj.v6i2.783

Aldoseri, M. M., Albaz, M. M., & Ghali, A. A. (2022). The impact of organizational characteristics on corporate cash holdings: Evidence from Saudi Arabia during COVID-19 period. Information Sciences Letters, 11(4), 1131–1136.

Ali, Z. H., & Burhan, A. M. (2023). Hybrid machine learning approach for construction cost estimation: An evaluation of extreme gradient boosting model. Asian Journal of Civil Engineering, 24(7), 2427–2442. https://doi.org/10.1007/s42107-023-00651-z

Ali, H., Kumar, S., Sajjad, W., & Asim, M. (2024). Liquidity management in Pakistani firms: An empirical analysis. iRASD Journal of Economics, 6(2), 269–284. https://doi.org/10.52131/joe.2024.0602.0207

Al-Najjar, B., & Clark, E. (2017). Corporate governance and cash holdings in MENA: Evidence from internal and external governance practices. Research in International Business and Finance, 39, 1–12. https://doi.org/10.1016/j.ribaf.2016.07.030

Angelovska, M., & Valentinčič, A. (2020). Determinants of cash holdings in private firms: The case of the Slovenian SMEs. Economic and Business Review, 22(1), 5–36. https://doi.org/10.15458/ebr95

Arturo, D.-M. S., & Rodriguez-Aguilar, R. (2023, November 16–17). Dimensions related to NCD in developing countries during working age using ridge, lasso, and elastic net regressions [Paper presentation]. 7th International Conference on Computer Science and Health Engineering, Mexico City, Mexico.

Bhuiyan, M. B. U., & Hooks, J. (2019). Cash holding and over-investment behavior in firms with problem directors. International Review of Economics & Finance, 61, 35–51. https://doi.org/10.1016/j.iref.2019.01.005

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

Cambrea, D. R., Calabrò, A., La Rocca, M., & Paolone, F. (2022). The impact of boards of directors’ characteristics on cash holdings in uncertain times. Journal of Management and Governance, 26, 189–221. https://doi.org/10.1007/s10997-020-09557-3

Chen, D., Li, S., Xiao, J. Z., & Zou, H. (2014). The effect of government quality on corporate cash holdings. Journal of Corporate Finance, 27, 384–400. https://doi.org/10.1016/j.jcorpfin.2014.05.008

Chen, M., Dautais, Y., Huang, L., & Ge, J. (2017, July 5–7). Data driven credit risk management process: A machine learning approach [Paper presentation]. International Conference on Software and System Process, Paris, France.

Diaw, A. (2021). Corporate cash holdings in emerging markets. Borsa Istanbul Review, 21(2), 139–148. https://doi.org/10.1016/j.bir.2020.09.005

Dittmar, A., & Mahrt-Smith, J. (2007). Corporate governance and the value of cash holdings. Journal of Financial Economics, 83(3), 599–634. https://doi.org/10.1016/j.jfineco.2005.12.006

D'Mello, R., Krishnaswami, S., & Larkin, P. J. (2005). An analysis of the corporate cash holding decision. The University of New Orléans. https://scholarworks.uno.edu/econ_wp/35/

Farinha, J., Mateus, C., & Soares, N. (2018). Cash holdings and earnings quality: Evidence from the main and alternative UK markets. International Review of Financial Analysis, 56, 238–252. https://doi.org/10.1016/j.irfa.2018.01.012

Fawzi, N. S., Kamaluddin, A., & Sanusi, Z. M. (2015). Monitoring distressed companies through cash flow analysis. Procedia Economics and Finance, 28, 136–144. https://doi.org/10.1016/S2212-5671(15)01092-8

Ferreira, M. A., & Vilela, A. S. (2004). Why do firms hold cash? Evidence from EMU countries. European Financial Management, 10(2), 295–319. https://doi.org/10.1111/j.1354-7798.2004.00251.x

Foley, C. F., Hartzell, J. C., Titman, S., & Twite, G. (2007). Why do firms hold so much cash? A tax-based explanation. Journal of Financial Economics, 86(3), 579–607. https://doi.org/10.1016/j.jfineco.2006.11.006

Gao, H., Kou, G., Liang, H., Zhang, H., Chao, X., Li, C. C., & Dong, Y. (2024). Machine learning in business and finance: A literature review and research opportunities. Financial Innovation, 10(1), Article e86. https://doi.org/10.1186/s40854-024-00629-z

Government of Pakistan. (2024). Pakistan economic survey 2023-24: Manufacturing and mining. https://finance.gov.pk/survey/chapter_24/3_manufacturing%20and%20mining.pdf

Gupta, R. D., & Pathak, R. (2021). Does the legal origin affect corporate cash holding? International Journal of Emerging Markets, 16(8), 1964–1983. https://doi.org/10.1108/IJOEM-01-2020-0109

Hasan, S. S., & Chishty, B. A. (2024). Unraveling the post covid19 challenges: A comprehensive study of Pakistan's textile industry. GISRAS Journal of Management & Islamic Finance, 4(2), 17–37.

Hoerl, A. E., & Kennard, R. W. (1970). Ridge regression: Biased estimation for nonorthogonal problems. Technometrics, 12(1), 55–67. https://doi.org/10.1080/00401706.1970.10488634

Horioka, C. Y., & Terada‐Hagiwara, A. (2014). Corporate cash holding in A sia. Asian Economic Journal, 28(4), 323–345. https://doi.org/10.1111/asej.12039

Juliana, R., & Budiono, S. (2024). Cash holding, economic uncertainty and investment: Evidence from ASEAN countries. Jurnal Ekonomi dan Bisnis, 27(1), 143–162. https://doi.org/10.24914/jeb.v27i1.9887

Jumah, Z., Younas, Z. I., Safdar, N., & Al-Faryan, M. A. S. (2023). Economic policy uncertainty and corporate leverage-does cash holdings matter? Evidence from the US. Cogent Economics & Finance, 11(1), Article e2223809. https://doi.org/10.1080/23322039.2023.2223809

Khuong, N. V., Liem, N. T., & Minh, M. T. H. (2020). Earnings management and cash holdings: Evidence from energy firms in Vietnam. Journal of International Studies, 13(1), 247–261.

Kim, H., Cho, H., & Ryu, D. (2022). Corporate bankruptcy prediction using machine learning methodologies with a focus on sequential data. Computational Economics, 59(3), 1231–1249. https://doi.org/10.1007/s10614-021-10126-5

Lozano, M. B., & Yaman, S. (2020). The European financial crisis and firms' cash holding policy: An analysis of the precautionary motive. Global Policy, 11, 84–94. https://doi.org/10.1111/1758-5899.12768

Manoel, A. A. S., da Costa Moraes, M. B., Santos, D. F. L., & Neves, M. F. (2018). Determinants of corporate cash holdings in times of crisis: Insights from Brazilian sugarcane industry private firms. International Food and Agribusiness Management Review, 21(2), 201–218.

Myers, S. C., & Majluf, N. S. (1984). Corporate financing and investment decisions when firms have information that investors do not have. Journal of Financial Economics, 13, 187–221. https://doi.org/10.1016/0304-405X(84)90023-0

Mihai, I. O., Radu, R. I., & Dragan, B. G. (2018). Determining the factors of cash holdings–the case of Romanian non-financial companies. Forum Scientiae Oeconomia, 6(3), 53–65.

Mohammadi, M., Kardan, B., & Salehi, M. (2018). The relationship between cash holdings, investment opportunities and financial constraint with audit fees. Asian Journal of Accounting Research, 3(1), 15–27. https://doi.org/10.1108/AJAR-07-2018-0016

Moubariki, Z., Beljadid, L., Tirari, M. E. H., Kaicer, M., & Thami, R. O. H. (2019, Octover 3–4). Enhancing cash management using machine learning [Paper presentation]. Proceedings of 1st International Conference on Smart Systems and Data Science, Rabat, Morocco.

Movaghari, H., Tsoukas, S., & Vagenas‐Nanos, E. (2024). Corporate cash policy and double machine learning. International Journal of Finance & Economics. Advance online publication. https://doi.org/10.1002/ijfe.3039

Özlem, Ş., & Tan, O. F. (2022). Predicting cash holdings using supervised machine learning algorithms. Financial Innovation, 8(1), Article e44. https://doi.org/10.1186/s40854-022-00351-8

Pandya, J. B. (2024). Deep learning approach for stock market trend prediction and pattern finding [Unpublished doctoral dissertation]. Gujarat Technological University Ahmedabad.

Safdar, M. N., Lin, T., Tanchangya, P. & Amin, S. (2019). Ownership hierarchy and cash holding: A study from pakistan. International Journal of Financial Research, 10(6), 67–77. https://doi.org/10.5430/ijfr.v10n6p67

Sarfraz, M., Shah, S. G. M., Ivascu, L., & Qureshi, M. A. A. (2022). Explicating the impact of hierarchical CEO succession on small‐medium enterprises' performance and cash holdings. International Journal of Finance & Economics, 27(2), 2600–2614. https://doi.org/10.1002/ijfe.2289

Shabbir, M., Hashmi, S. H., & Chaudhary, G. M. (2016). Determinants of corporate cash holdings in Pakistan. International Journal of Organizational Leadership, 5, 50–62.

Sharma, M. (2025, February 13). Pakistan textile sector in Punjab hit hard as 187 mills shut due to high energy cost. Organiser. Voice of the Organiser https://organiser.org/2025/02/13/277991/world/pakistan-textile-sector-in-punjab-hit-hard-as-187-mills-shut-due-to-high-energy-cost/

State Bank of Pakistan. (2019). Annual report 2019-2020: The state of Pakistan’s economy. https://www.sbp.org.pk/reports/annual/arFY20/Anul-index-eng-20.htm

Sulistiani, I., & Nugraheni, M. (2022, August 23–25). Comparison of bankruptcy prediction models using support vector machine and artificial neural network [Paper presentation]. The 11th Electrical Power, Electronics, Communications, Controls and Informatics Seminar, Malang, Indonesia

Sunmola, P. T. (2021). The use of cash flow ratios for risk evaluation in an organisation [Bachelor’s thesis, Tallinn University of Technology]. Digikogu. https://digikogu.taltech.ee/et/Item/8032843e-d227-4627-805c-41ef876aac88

Tan, Ş. Ö. O. F. (2022, October 19–22). Determinants of cash holdings by applying regularized regression methods: Evidence from listed firms in Borsa Istanbul [Conference presentation]. The 25th Conference on Finans Sempozyumu, Burud, Turkey.

Thai, T. H. A., & Hoang, M. T. (2024). Does ownership matter in corporate cash holdings? Evidence from an emerging market. Journal of Economics and Development, 26(2), 123–138. https://doi.org/10.1108/jed-09-2023-0168

Thi, Q. N. N., Tran, Q. T., & Doan, H. P. (2023). Foreign ownership, state ownership and cash holdings under the global financial crisis: Evidence from the emerging market of Vietnam. International Journal of Emerging Markets, 18(9), 3354–3369. https://doi.org/10.1108/IJOEM-03-2020-0303

Tibshirani, R. (1996). Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society Series B: Statistical Methodology, 58(1), 267–288. https://doi.org/10.1111/j.2517-6161.1996.tb02080.x

Tobin, J. M. (1956). Corporations: Shareholders: Majority liability for improper stock redemption by corporation and for misrepresentations in private stock purchases from minority holders. Michigan Law Review, 54(7), 971–984.

Toochaei, M. R., & Moeini, F. (2023). Evaluating the performance of ensemble classifiers in stock returns prediction using effective features. Expert Systems with Applications, 213, Article e119186. https://doi.org/10.1016/j.eswa.2022.119186

Trading Economics. (2025). Employment in industry (% of total employment) – Pakistan. https://tradingeconomics.com/pakistan/employment-in-industry-percent-of-total-employment-wb-data.html

Uyar, A., & Kuzey, C. (2014). Determinants of corporate cash holdings: Evidence from the emerging market of Turkey. Applied Economics, 46(9), 1035–1048. https://doi.org/10.1080/00036846.2013.866203

Wu, H.-C., Chen, J.-H., & Wang, P.-W. (2021). Cash holdings prediction using decision tree algorithms and comparison with logistic regression model. Cybernetics and Systems, 52(8), 689–704. https://doi.org/10.1080/01969722.2021.1976988

Zhang, W., Wu, C., Zhong, H., Li, Y., & Wang, L. (2021). Prediction of undrained shear strength using extreme gradient boosting and random forest based on Bayesian optimization. Geoscience Frontiers, 12(1), 469–477. https://doi.org/10.1016/j.gsf.2020.03.007

Zhong, S., Zhang, K., Bagheri, M., Burken, J. G., Gu, A., Li, B., Ma, X., Marrone, B. L., Ren, Z.J., Schrier, J., & Shil, W. (2021). Machine learning: New ideas and tools in environmental science and engineering. Environmental Science & Technology, 55(19), 12741–12754. https://doi.org/10.1021/acs.est.1c01339

Published
2025-06-30
How to Cite
Alam, A., Ansar, N., Abbas, S., & Rehman, Z. (2025). From Data to Decisions: Role of Machine Learning in Predicting Cash Holdings of Manufacturing Firms in Pakistan. Journal of Finance and Accounting Research, 7(1), 78-110. https://doi.org/10.32350/jfar.71.04
Section
Articles