Predicting childhood anaemia in Ghana with explainable machine learning: A national survey analysis
DIGITAL HEALTH 12
Abstract
Childhood anaemia remains a major public health problem in Ghana, with marked regional and socioeconomic disparities. Conventional regression may not fully capture complex, non-linear relationships among biological, maternal, and household factors. We used supervised machine learning to predict anaemia among children aged 6–59 months using nationally representative survey data. We analysed the 2022 Ghana Demographic and Health Survey, including de facto children aged 6–59 months with valid haemoglobin and complete covariates (weighted N = 3,382). Anaemia was defined as altitude-adjusted haemoglobin <11.0 g/dL. Twenty-one predictors were included. Data were split into training (80%) and testing (20%) sets using stratified sampling. Six models (logistic regression, decision tree, random forest, gradient boosting, support vector machine, and artificial neural network) were tuned via grid search with 10-fold cross-validation. The weighted prevalence of childhood anaemia was 48.95% (n = 1,655). Gradient boosting showed the best overall discrimination (AUC = 0.72; F1 = 68.99%; accuracy = 66.27%). Support vector machine and logistic regression achieved the highest sensitivity (recall = 72.73% and 71.74%). Random forest showed overfitting (100% training accuracy; test accuracy = 65.23%). Decision tree and neural network performed poorly (AUC = 0.57 and 0.63). Key predictors across models and SHAP were child age, malaria status, maternal anaemia, region, and household wealth (with feature rankings varying by algorithm). Machine learning models achieved moderate predictive performance for childhood anaemia in Ghana. Gradient boosting provided the strongest discrimination, while support vector machine and logistic regression offered higher sensitivity for screening. However, these sensitivities imply that approximately 28–30% of anaemic children may be missed, which should be considered when applying these models in public health screening. Identified determinants support targeted, malaria-integrated nutrition and maternal–child interventions in high-risk groups.
DOI / External Link
Publication Details
Authors
Yahye Sheikh Abdulle Hassan; Mohamed Abdirahim Omar; Julius Kwabena Karikari; Abdirasak Sharif Ali; Mohamed Mustaf Ahmed
Salaam University: Mohamed Abdirahim · Fellow
Published
February 2026
Journal
DIGITAL HEALTH 12
Indexed in
Scopus
Subject area
Maternal, Newborn & Child HealthCite this paper
Yahye Sheikh Abdulle Hassan; Mohamed Abdirahim Omar; Julius Kwabena Karikari; Abdirasak Sharif Ali; Mohamed Mustaf Ahmed. (2026). Predicting childhood anaemia in Ghana with explainable machine learning: A national survey analysis. DIGITAL HEALTH 12. https://doi.org/10.1177/20552076261437179
Related Publications
View all →Frequency and associated clinical factors of echocardiographic abnormalities in critically ill neonates: A retrospective hospital-based cross-sectional study
Said Abdirahman Ahmed · 2026
Handwashing practices and associated factors among public primary schoolchildren in the Benadir Region, Somalia
Abdifatah Afyare · 2026
Coverage without continuity: Midwifery-led care and newborn survival in fragile health systems
Yakub Burhan Abdullahi · 2026