Modelling Quality of Life among Adults in Gauteng Province, South Africa: A Machine Learning Approach

Authors

  • Muhammad Hoque Department of Public Health, Sefako Makgatho Health Sciences University, Pretoria, South Africa

DOI:

https://doi.org/10.6000/1929-6029.2026.15.32

Keywords:

Quality of Life, Machine Learning, Logistic Regression, Socio-economic Predictors

Abstract

Background: Quality of Life (QoL) is a complex construct determined by a complex set of health, socio-economic and environmental determinants. Identifying the principal determinants of QoL and determinants that differ between subgroups of the population helps inform population-targeted intervention policies. This work sought to model QoL for adults in the Gauteng Province of South Africa using machine learning methods.

Methods: The cross-sectional analytical study used the QoL Survey (QoL 2023–2024, Round 7) secondary data from the Gauteng City-Region Observatory with more than 14,000 adult resident responses. Five supervised machine algorithms—Logistic Regression, Random Forest, Support Vector Machine (SVM), Extreme Gradient Boosting (XGBoost), and Artificial Neural Networks (ANN), were trained and tested on accuracy, precision, recall, F1-score, and AUC-ROC.

Results: Logistic Regression performed the best with 81% accuracy followed by SVM and XGBoost. In all the analyses the individual's health, perceived safety, work status appeared to be the most significant QoL predictors using the application of SHAP. Subgroup analysis results indicated model performance variability across levels of schooling, category of dwellings used etc. Prediction accuracy gender-wise differences remained not significant.

Conclusion: Tlevel of satisfaction with the National Government, access to piped water, and toilet type possess the most influential effect on QoL in Gauteng Province. Logistic Regression is still a strong and interpretable QoL predicting model, with the assistance of the support of SHAP-based interpretation. The research suggests the necessity of health-oriented and place-oriented responses in policies to elevate the life quality of the South African cities' populations.

References

Wang X, Li Y. Correlates of quality of life, happiness and life satisfaction among European adults older than 50 years: A machine-learning approach. Psychogeriatrics 2023; 22: 523-31.

Graham C, Nikolova M. Bentham or Aristotle in the development process? An empirical investigation of capabilities and subjective well-being. World Dev 2015; 68: 163-79. DOI: https://doi.org/10.1016/j.worlddev.2014.11.018

Veenhoven R. The four qualities of life: ordering concepts and measures of the good life. J Happiness Stud 2000; 1(1): 1-39. DOI: https://doi.org/10.1023/A:1010072010360

Pinquart M, Sörensen S. Influences of socioeconomic status, social network, and competence on subjective well-being in later life: a meta-analysis. Psychol Aging 2000; 15(2): 187-224. DOI: https://doi.org/10.1037/0882-7974.15.2.187

Prati G. Correlates of quality of life, happiness and life satisfaction among European adults older than 50 years: a machine-learning approach. Arch Gerontol Geriatr 2022; 103: 104781. DOI: https://doi.org/10.1016/j.archger.2022.104791

Kim EJ, Kang HW, Park SM. Leisure and happiness of the elderly: a machine learning approach. Sustainability 2024; 16(7): 3229. DOI: https://doi.org/10.3390/su16072730

Lee SH, Choi I, Ahn WY, Shin E, Cho SI, Kim S, et al. Estimating quality of life with biomarkers among older Korean adults: a machine-learning approach. Arch Gerontol Geriatr 2020; 87: 103992. DOI: https://doi.org/10.1016/j.archger.2019.103966

Gómez-Olivé FX, Thorogood M, Clark BD, Kahn K, Tollman SM. Assessing health and well-being among older people in rural South Africa. Glob Health Action 2010; 3: 2126. DOI: https://doi.org/10.3402/gha.v3i0.2126

Ralston M, Schatz E, Menken J, Gómez-Olivé FX, Tollman S. Policy shift: South Africa’s old age pensions’ influence on perceived quality of life. J Aging Soc Policy 2019; 31(2): 138-54. DOI: https://doi.org/10.1080/08959420.2018.1542243

Van Biljon L, Nel P, Roos V. A partial validation of the WHOQOL-OLD in a sample of older people in South Africa. Glob Health Action 2015; 8: 25820. DOI: https://doi.org/10.3402/gha.v8.28209

Kabiru G, Zainab S, Kingsley G, Abubakar W, Zayyanu S, Adam BA, et al. Harnessing machine learning for predictive healthcare: a path to efficient health systems in Africa. Health Inform Inf Manag 2025; 1(1): 1-10. DOI: https://doi.org/10.17352/hiim.000001

Tshimula JM, Kalengayi M, Makenga D, Lilonge D, Asumani M. Artificial intelligence for public health surveillance in Africa: applications and opportunities. arXiv 2024. DOI: https://doi.org/10.53555/rtfqps06

Asiedu M, Dieng A, Haykel I, Rostamzadeh N, Pfohl S, Nagpal C, et al. The case for globalizing fairness: a mixed methods study on colonialism, AI, and health in Africa. arXiv 2024.

World Bank. South Africa economic update: towards inclusive growth. Washington, DC: World Bank 2021. Available from: https://www.worldbank.org/en/country/ southafrica/report/economic-update2021

Asiedu MN, Dieng A, Oppong A, Nagawa M, Koyejo S, Heller K. Globalizing fairness attributes in machine learning: a case study on health in Africa. Fairness in Global Health, 2023; 1-14. DOI: https://doi.org/10.1145/3689904.3694708

Christodoulou E, Ma J, Collins G, Steyerberg E, Verbakel J, Van Calster B. A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models. J Clin Epidemiol 2019; 110: 12-22. DOI: https://doi.org/10.1016/j.jclinepi.2019.02.004

Rajkomar A, Dean J, Kohane I. Machine learning in medicine. N Engl J Med 2019; 380(14): 1347-58. DOI: https://doi.org/10.1056/NEJMra1814259

The WHOQOL Group. The World Health Organization Quality of Life assessment (WHOQOL). Soc Sci Med 1995; 41(10): 1403-9. DOI: https://doi.org/10.1016/0277-9536(95)00112-K

Ramlagan S, Peltzer K, Phaswana-Mafuya N. Quality of life and associated factors among older adults in South Africa. Glob Health Action 2021; 14(1): 1868700.

Dolan P, Metcalfe R. The relationship between innovation and subjective wellbeing. Res Policy 2012; 41(8): 1489-98. DOI: https://doi.org/10.1016/j.respol.2012.04.001

Diez Roux AV. Complex systems thinking and current impasses in health disparities research. Am J Public Health 2011; 101(9): 1627-34. DOI: https://doi.org/10.2105/AJPH.2011.300149

Sen A. Development as freedom. Oxford: Oxford University Press; 1999.

Cummins RA. Subjective wellbeing as a social indicator. Soc Indic Res 2018; 135: 879-91. DOI: https://doi.org/10.1007/s11205-016-1496-x

Gough KV, Langevang T, Namatovu R. Researching entrepreneurship in low-income settlements: the strengths and challenges of participatory methods. Environ Urban 2014; 26(1): 297-311. DOI: https://doi.org/10.1177/0956247813512250

Organisation for Economic Co-operation and Development (OECD). How’s life? Measuring well-being. Paris: OECD Publishing 2020.

Roberts B, Struwig J, Gordon S. Quality of life and public services in South Africa: the public perception gap. HSRC Rev 2021; 19(1): 6-9.

Downloads

Published

2026-08-12

How to Cite

Hoque, M. . (2026). Modelling Quality of Life among Adults in Gauteng Province, South Africa: A Machine Learning Approach. International Journal of Statistics in Medical Research, 15(3), 366–377. https://doi.org/10.6000/1929-6029.2026.15.32

Issue

Section

General Articles