Skip to main content
Top
Published in: Human Resources for Health 1/2018

Open Access 01-12-2018 | Research

Application of machine learning models in predicting length of stay among healthcare workers in underserved communities in South Africa

Authors: Sangiwe Moyo, Tuan Nguyen Doan, Jessica Ann Yun, Ndumiso Tshuma

Published in: Human Resources for Health | Issue 1/2018

Login to get access

Abstract

Background

Human resource planning in healthcare can employ machine learning to effectively predict length of stay of recruited health workers who are stationed in rural areas. While prior studies have identified a number of demographic factors related to general health practitioners’ decision to stay in public health practice, recruitment agencies have no validated methods to predict how long these health workers will commit to their placement. We aim to use machine learning methods to predict health professional’s length of practice in the rural public healthcare sector based on their demographic information.

Methods

Recruitment and retention data from Africa Health Placements was used to develop machine-learning models to predict health workers’ length of practice. A cross-validation technique was used to validate the models, and to evaluate which model performs better, based on their respective aggregated error rates of prediction. Length of stay was categorized into four groups for classification (less than 1 year, less than 2 years, less than 3 years, and more than 3 years). R, a statistical computing language, was used to train three machine learning models and apply 10-fold cross validation techniques in order to attain evaluative statistics.

Results

The three models attain almost identical results, with negligible difference in accuracy. The “best”-performing model (Multinomial logistic classifier) achieved a 47.34% [SD 1.63] classification accuracy while the decision tree model achieved an almost comparable 45.82% [SD 1.69]. The three models achieved an average AUC of approximately 0.66 suggesting sufficient predictive signal at the four categorical variables selected.

Conclusions

Machine-learning models give us a demonstrably effective tool to predict the recruited health workers’ length of practice. These models can be adapted in future studies to incorporate other information beside demographic details such as information about placement location and income. Beyond the scope of predicting length of practice, this modelling technique will also allow strategic planning and optimization of public healthcare recruitment.
Literature
1.
go back to reference Bangdiwala IS, Fonn S, Okoye O, Tollman S. Workforce resources for health in developing countries. Public Heal Rev. 2010;32(1):296–318.CrossRef Bangdiwala IS, Fonn S, Okoye O, Tollman S. Workforce resources for health in developing countries. Public Heal Rev. 2010;32(1):296–318.CrossRef
2.
go back to reference Viscomi M, Larkins S, Sen Gupta T. Recruitment and retention of general practitioners in rural Canada and Australia: a review of the literature. Can J Rural Med. 2013;18(1):13–24.PubMed Viscomi M, Larkins S, Sen Gupta T. Recruitment and retention of general practitioners in rural Canada and Australia: a review of the literature. Can J Rural Med. 2013;18(1):13–24.PubMed
3.
6.
go back to reference Habte D, Dussault G, Dovlo D. Challenges confronting the health workforce in sub-Saharan Africa. World Hosp Heal Serv. 2004;40(2):23–6. Habte D, Dussault G, Dovlo D. Challenges confronting the health workforce in sub-Saharan Africa. World Hosp Heal Serv. 2004;40(2):23–6.
7.
go back to reference Dovlo D. The brain drain and retention of health professionals in Africa. In: A case study Prep a Reg Train Conf Improv Tert Educ sub-Saharan Africa Things that Work; 2003. p. 23–5. Dovlo D. The brain drain and retention of health professionals in Africa. In: A case study Prep a Reg Train Conf Improv Tert Educ sub-Saharan Africa Things that Work; 2003. p. 23–5.
10.
go back to reference Mills A, Brugha R, Hanson K, McPake B. What can be done about the private health sector in low-income countries? Bull World Health Organ. 2002;80:325–30.PubMedPubMedCentral Mills A, Brugha R, Hanson K, McPake B. What can be done about the private health sector in low-income countries? Bull World Health Organ. 2002;80:325–30.PubMedPubMedCentral
13.
go back to reference Steinmetz S, De Vries DH, Tijdens KG. Should I stay or should I go? The impact of working time and wages on retention in the health workforce; 2014. p. 1–12. Steinmetz S, De Vries DH, Tijdens KG. Should I stay or should I go? The impact of working time and wages on retention in the health workforce; 2014. p. 1–12.
16.
19.
20.
go back to reference Hand DJ. A simple generalisation of the area under the ROC curve for multiple class classification problems. Mach Learn. 2001;45:171–86.CrossRef Hand DJ. A simple generalisation of the area under the ROC curve for multiple class classification problems. Mach Learn. 2001;45:171–86.CrossRef
Metadata
Title
Application of machine learning models in predicting length of stay among healthcare workers in underserved communities in South Africa
Authors
Sangiwe Moyo
Tuan Nguyen Doan
Jessica Ann Yun
Ndumiso Tshuma
Publication date
01-12-2018
Publisher
BioMed Central
Published in
Human Resources for Health / Issue 1/2018
Electronic ISSN: 1478-4491
DOI
https://doi.org/10.1186/s12960-018-0329-1

Other articles of this Issue 1/2018

Human Resources for Health 1/2018 Go to the issue