Random forest model for predicting business success for micro, small and medium enterprises in Kakamega County, Kenya

https://doi.org/10.51867/ajernet.6.3.24

Authors

Keywords:

Business Success, Machine Learning, MSMEs, Predictive Modeling, Random Forest Algorithm

Abstract

The Micro, Small, and Medium Enterprises (MSMEs) are an important part of the economy of Kenya, yet they have a high rate of uncertainty and failure because of complicated, poorly comprehended reasons. This paper has come up with a machine learning model based on the Random Forest algorithm to forecast the success of MSMEs in Kakamega County, Kenya, based on historical data provided by the county government.  The study was guided by resource-based view theory which posits that a business’s success and sustainability hinge on its ability to acquire, control and utilize valuable internal resources. The traditional approaches that limit themselves to linear financial indicators have been inadequate in describing the multidimensional risks experienced by MSMEs. The study adopted simulation research design to develop a predictive model based on the Random Forest algorithm to predict the success of MSMEs. Random Forest model has shown outstanding predictive accuracy with a precision of 99.72 percent in predicting the success of businesses. The major predictors were found to be the availability of financial access, business characteristics and government support factors. A binary logistic regression model was also used to confirm the results and explained 99.64 percent of the variance in business outcomes. The findings provide a solid basis of evidence-based policy-making and interventions in support. The research is an addition to the existing evidence on the applicability of machine learning in enterprise sustainability and offers a scalable solution to enhancing the resilience of MSMEs in comparable settings. The study successfully developed highly accurate machine learning model for predicting MSME success. It was able to identify critical factors for MSME success, financial access and government support. The study recommends that policy makers and stake-holders should utilize data-driven insights for targeted interventions to enhance MSME resilience and growth. To foster growth and development, MSMEs are advised to focus on improving financial management and leveraging government support programs.

Dimensions

Barney, J. B. (1991). Firm resources and sustained competitive advantage. Journal of Management, 17(1), 99-120. https://doi.org/10.1177/014920639101700108 DOI: https://doi.org/10.1177/014920639101700108

Beck, T., & Demirguc-Kunt, A. (2006). Small and medium-size enterprises: Access to finance as a growth constraint. Journal of Banking & Finance, 30(11), 2931-2943. https://doi.org/10.1016/j.jbankfin.2006.05.009 DOI: https://doi.org/10.1016/j.jbankfin.2006.05.009

Berger, A. N., & Udell, G. F. (2006). A more complete conceptual framework for SME finance. Journal of Banking & Finance, 30(11), 2945-2966.

https://doi.org/10.1016/j.jbankfin.2006.05.008 DOI: https://doi.org/10.1016/j.jbankfin.2006.05.008

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

Cutler, D. R., Edwards Jr, T. C., Beard, K. H., Cutler, A., Hess, K. T., Gibson, J., & Lawler, J. J. (2007). Random forests for classification in ecology. Ecology, 88(11), 2783-2792. https://doi.org/10.1890/07-0539.1 DOI: https://doi.org/10.1890/07-0539.1

De Mel, S., McKenzie, D. J., & Woodruff, C. (2009). Measuring microenterprise profits: Must we ask how the sausage is made? Journal of Development Economics, 88(1), 19-31. https://doi.org/10.1016/j.jdeveco.2008.01.007 DOI: https://doi.org/10.1016/j.jdeveco.2008.01.007

Gichuki, J. A., Njeru, A., & Tirimba, O. I. (2014). Access to credit facilities challenges of micro and small enterprises in Kangemi Harambee Market in Nairobi City County, Kenya. International Journal of Scientific and Research Publications, 4(12), 1-25.

Hastie, T., Tibshirani, R., & Friedman, J. (2009). Elements of statistical learning: Data mining, inference, and prediction (2nd ed.). Springer.

https://doi.org/10.1007/978-0-387-84858-7 DOI: https://doi.org/10.1007/978-0-387-84858-7

KNBS. (2016). Basic report of micro, small and medium establishments (MSME) survey. Nairobi: Kenya National Bureau of Statistics.

KNBS. (2022). Economic survey 2022. Nairobi: Kenya National Bureau of Statistics.

Kinyanjui, M. N. (2014). Women and the informal economy in urban Africa: From the margins to the centre. Zed Books Ltd.

https://doi.org/10.5040/9781350224032 DOI: https://doi.org/10.5040/9781350224032

Mwania, J., & Muganda, R. (2019). The impact of access to finance and government policies on MSME growth in Kenya. Journal of Small Business Studies, 2(1), 45-53.

Siggelkow, C., & Fernandez, R. M. (2024). Random forest prediction of SME default with nonfinancial variables: An empirical study of German firms. Journal of the International Council for Small Business, 5(2), 129-147. https://doi.org/10.1080/26437015.2023.2224108 DOI: https://doi.org/10.1080/26437015.2023.2224108

Published

2025-07-21

How to Cite

Khagayi, S., Odoyo, C., & Rambim, D. (2025). Random forest model for predicting business success for micro, small and medium enterprises in Kakamega County, Kenya. African Journal of Empirical Research, 6(3), 279–287. https://doi.org/10.51867/ajernet.6.3.24