Predicting Non-successful Ageing in Rural South Africa: A Prospective Cohort Study using Machine-Learning Analysis of the HAALSI Cohort | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Predicting Non-successful Ageing in Rural South Africa: A Prospective Cohort Study using Machine-Learning Analysis of the HAALSI Cohort Lawrence Ejike Ugwu, Bruno Basil, Uzoamaka Francisca Ugwoke, Ekenna Chiedozie Okonkwo This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-9524228/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Later-life risk in rural South Africa unfolds under conditions of multimorbidity, socioeconomic inequality and uneven access to care, making it difficult to identify who is most vulnerable to adverse ageing trajectories. Using three waves of Health and Aging in Africa: A Longitudinal Study of an INDEPTH Community (HAALSI) data and a cleaned survivor subset of 1,435 adults, we developed an interpretable machine-learning framework to predict non-successful ageing, defined by functional limitation or psychological distress at Wave 3. In repeated 10-fold cross-validation (5 repeats), discrimination increased from 0.774 ± 0.038 in a baseline model to 0.846 ± 0.031 with longitudinal change scores and 0.860 ± 0.029 in the full proximal model; a constrained artificial neural network (ANN) benchmark achieved 0.841 ± 0.042. SHapley Additive exPlanations identified baseline household assets and BMI change as the strongest contributors to prediction, with age and Wave 2 depressive symptoms contributing secondarily. Although rank discrimination was strong, calibration slope and intercept (3.661 and − 1.242) indicated compressed predicted probabilities. These findings suggest that later-life risk in rural South Africa is better captured by multidomain longitudinal information than by baseline characteristics alone and that community health screenings should prioritize monitoring household asset stability and BMI trends as early warning indicators of declining functional health, and that interpretable machine learning may support relative risk stratification, although absolute risk estimation and generalisability remain limited. Non-successful ageing Rural South Africa HAALSI Interpretable Machine Learning SHAP (SHapley Additive exPlanations). Figures Figure 1 Figure 2 Figure 3 Introduction South Africa provides a particularly important setting for studying later-life vulnerability in Sub-Saharan Africa because population ageing is unfolding alongside persistent socioeconomic inequality, multimorbidity and uneven access to supportive health and social systems [ 1 , 2 ]. Findings from the Health and Aging in Africa: A Longitudinal Study of an INDEPTH Community in South Africa (HAALSI) indicate that ageing outcomes in rural South Africa are shaped not only by disease burden, but also by the combined influence of functional health, mental health and material conditions across the life course [ 1 , 3 ]. As a result, older adults in this setting do not follow a single or stable ageing trajectory, and approaches derived primarily from high-income contexts may miss important variation in risk. This makes rural South Africa a critical context for developing locally-adaptable tools to identify individuals at elevated risk of poorer ageing outcomes over time. This study is primarily informed by cumulative disadvantage theory, which holds that inequalities in social conditions, material resources and health exposures accumulate across the life course and contribute to divergence in later-life outcomes [ 4 , 5 ]. This perspective is especially relevant in South Africa, where many older adults age under conditions shaped by long-term structural inequality, household vulnerability and uneven access to protective resources. Within this broader explanatory framework, successful ageing is used as the outcome-oriented gerontological lens for distinguishing more favourable from less favourable ageing statuses in later life [ 6 ]. Successful ageing has long been influential in gerontology, commonly emphasizing the avoidance of disease and disability, maintenance of physical and cognitive function and continued engagement with life [ 6 ]. However, this framework has also been criticized for relying heavily on evidence from Western, Educated, Industrialized, Rich and Democratic populations and for insufficiently accounting for the social and structural conditions that shape ageing across the life course [ 7 , 8 ]. Recent meta-analytic and conceptual work further suggests that successful ageing remains relatively uncommon globally and that contemporary frameworks increasingly emphasize subjective and context-sensitive dimensions of ageing alongside objective functioning [ 9 , 10 ]. In settings such as rural South Africa, later-life well-being may therefore be less accurately captured by idealized models of ageing developed elsewhere. The present study adopts a pragmatic operationalization of later-life outcomes for longitudinal risk prediction while interpreting those outcomes within a cumulative disadvantage perspective. Despite the growing availability of longitudinal ageing data in Africa, much of the existing literature remains cross-sectional, and recent reviews have highlighted the relatively limited use of longitudinal ageing studies across Sub-Saharan Africa [ 11 ]. This limitation is especially relevant in the present setting, where ageing outcomes are likely shaped by the interplay of functional capacity, depressive symptoms, body composition and material resources across time. Machine-learning methods offer a useful complement because they can model complex, non-linear patterns and higher-order interactions without requiring strong a priori functional assumptions [ 12 , 13 ]. Recent ageing-focused reviews further suggest that explainable machine-learning approaches may be particularly useful when prediction models seek to capture multidomain later-life vulnerability while retaining interpretability [ 14 , 15 ]. However, predictive performance alone is insufficient if model behaviour remains opaque. SHapley Additive exPlanations (SHAP) provide a framework for examining how individual predictors contribute to both overall model behaviour and person-level predictions, thereby supporting interpretable risk modelling [ 16 ]. Using three waves of HAALSI data, the present study evaluates an interpretable machine-learning framework for predicting non-successful ageing in rural South Africa. Specifically, the study aims to quantify the incremental predictive gain associated with adding longitudinal change and proximal follow-up indicators beyond baseline characteristics alone, identify the most influential functional, psychological and socioeconomic predictors of non-successful ageing using SHAP-based interpretation, and assess whether a parsimonious artificial neural network (ANN) benchmark retains meaningful predictive signal in a resource-constrained setting. Materials and Methods Study design and data source This study was a prospective cohort analysis using data from the Health and Ageing in Africa: A Longitudinal Study of an INDEPTH Community in South Africa (HAALSI), a population-based cohort of adults aged 40 years and older residing in the Agincourt sub-district of Mpumalanga Province, South Africa. Data from three waves were used: Wave 1 (2014–2015), Wave 2 (2018–2019), and Wave 3 (2021–2022). The present analysis examined whether baseline characteristics, longitudinal change, and proximal follow-up indicators improved prediction of non-successful ageing at Wave 3. The reporting of this study follows the Transparent Reporting of a multivariable prediction model for Individual Prognosis or Diagnosis–Artificial Intelligence (TRIPOD + AI) statement. Participants and analytical sample The initial Wave 1 cohort comprised 5,059 participants. For inclusion in the present analysis, participants were required to contribute a valid Wave 3 ageing outcome and to have complete data on the principal Wave 1 to Wave 2 predictors used to estimate longitudinal change. A staged exclusion process was applied. First, 1,731 participants were excluded because of attrition or mortality before Wave 3. Second, 962 participants were excluded because of missing data on key Wave 1→Wave 2 predictors, principally body mass index (BMI) and gait speed. Third, 931 participants were excluded during data hygiene screening because of physiologically implausible changes in BMI or mental-health scores between Waves 1 and 2 exceeding ± 15 units. These values were considered likely to reflect recording artifacts or placeholder values rather than plausible biological change. The final analytical sample therefore comprised 1,435 participants. Comparative analysis showed that excluded participants were significantly older and more functionally limited at baseline (p < .01), indicating potential healthy-survivor bias. Accordingly, the final sample should be interpreted as a cleaned survivor subset rather than as fully representative of the baseline cohort. Complete-case analysis was used because the primary objective was to estimate interpretable longitudinal change metrics, and key repeated-measure predictors were unavailable for a substantial proportion of excluded cases. Outcome definition The primary outcome was non-successful ageing at Wave 3, coded as a binary variable (1 = non-successful ageing, 0 = successful ageing). Successful ageing was defined as the simultaneous absence of both functional limitation and psychological distress. Non-successful ageing was coded when either criterion was present. Functional limitation was defined as gait speed below 0.6 m/s or self-reported walking difficulty. Psychological distress was defined as a Center for Epidemiologic Studies Depression Scale (CES-D) score of 9 or higher. Predictor definition Predictors were grouped into three nested tiers to evaluate the incremental contribution of baseline characteristics, longitudinal change, and proximal status indicators. Tier 1 comprised baseline variables (age, sex, and Wave 1 household asset index). Tier 2 comprised longitudinal trajectories, operationalized as Wave 1→Wave 2 change scores for BMI and CES-D. Tier 3 comprised proximal Wave 2 status indicators for depressive symptoms and functional difficulty. Data cleaning and missing data To improve interpretability of longitudinal change estimation, data were screened for implausible transitions between Waves 1 and 2. BMI and mental-health shifts greater than ± 15 units were excluded as likely artifacts. No multiple imputation was undertaken because the key repeated-measure predictors required for velocity estimation were unavailable for a substantial proportion of excluded observations. For model fitting, predictors entered into XGBoost were analysed on their original scale, whereas ANN inputs were standardized as appropriate for neural-network training. Statistical analysis XGBoost was used as the primary learner because of its capacity to model non-linear relationships and higher-order interactions. A constrained artificial neural network (ANN), comprising a single hidden layer with five neurons and ReLU activation, was retained as a secondary benchmark. To assess potential temporal overlap and proximity bias, three nested model architectures were evaluated: (1) a baseline model containing age, sex, and Wave 1 household asset index; (2) a longitudinal model adding Wave 1→Wave 2 changes in BMI and CES-D; and (3) a full proximal model adding Wave 2 depressive symptoms and functional difficulty. Internal validation was conducted using repeated 10-fold cross-validation with five repeats. Mean area under the receiver operating characteristic curve (AUC) and standard deviation were reported across folds to quantify performance stability. Calibration was assessed using slope and intercept estimates derived from logistic regression of observed outcomes on predicted log-odds. SHapley Additive exPlanations (SHAP) were used to summarize the relative contribution of predictors to model classification. Model development, validation, and reporting followed established best practices for multivariable prediction modelling, including transparent interpretation of machine-learning outputs [ 17 ]. Results Attrition Flow and Final Analytical Sample Of the initial 5,059 participants in the Wave 1 cohort, 1,731 were excluded due to attrition or mortality by Wave 3. Missingness in W1 → W2 predictors resulted in the removal of another 962 individuals. Following the data hygiene screening for implausible physiological transitions, a further 931 participants were excluded. The final analytical sample comprised a cleaned survivor subset of 1,435 adults (Table 1 ). Comparative analysis revealed that excluded participants were significantly older and more functionally limited at baseline compared to those retained in the final subset (p < .01). These differences indicate a potential healthy-survivor bias within the analytical sample. Table 1 Sample selection and staged exclusions. Stage N excluded Remaining sample Reason Initial HAALSI cohort — 5,059 Wave 1 participants Loss to follow-up / mortality 1,731 3,328 Did not contribute Wave 3 outcome Missing W1→W2 predictors 962 2,366 Missing BMI and/or gait-speed predictors Data hygiene screening 931 1,435 Implausible BMI or mental-health changes ( > ± 15 units) Final analytical subset — 1,435 Cleaned survivor subset used for modelling Nested Model Performance and Proximity Bias Cross-validated performance estimates from repeated 10-fold cross-validation (5 repeats) showed stable discrimination across the nested models (Fig. 1 ). The Baseline Model achieved an AUC of 0.774 ± 0.038, the Longitudinal Model achieved 0.846 ± 0.031, and the Full Proximal Model achieved 0.860 ± 0.029. The modest gain of + 0.014 AUC units from adding proximal Wave 2 status indicators suggests that predictive performance was driven primarily by longitudinal trajectories rather than by near-term status indicators that overlap conceptually with the Wave 3 outcome. The constrained ANN benchmark performed similarly to the XGBoost model (AUC = 0.841 ± 0.042), indicating that a meaningful portion of the predictive signal was retained across different algorithmic architectures. Table 2 Cross-validated nested model performance. Model Feature set Mean AUC SD Baseline Age, sex, Wave 1 asset index 0.774 0.038 Longitudinal Baseline + BMI change + CES-D change 0.846 0.031 Full proximal Longitudinal + Wave 2 depressive symptoms + functional difficulty 0.860 0.029 ANN benchmark Reduced four-feature model 0.841 0.042 Feature Contribution SHAP analysis (Fig. 2 ) identified baseline household assets and BMI change as the strongest contributors to the predictive risk score. Lower baseline asset levels and sharper declines in BMI between Waves 1 and 2 were associated with increased predicted risk of non-successful ageing. Age and Wave 2 depressive symptoms also contributed meaningfully, whereas sex and proximal functional status contributed comparatively less. Calibration and Probability Alignment Although the model demonstrated strong rank discrimination (AUC = 0.860), calibration analysis yielded a slope of 3.661 and an intercept of − 1.242, indicating substantial probability compression. In practical terms, this means that while the model effectively distinguished higher- from lower-risk individuals, predicted probabilities were insufficiently spread relative to observed outcome frequencies. The model is therefore better suited to relative risk stratification than to precise absolute risk estimation. Discussion This study evaluated whether later-life risk in rural South Africa is better predicted by baseline characteristics alone or by a combination of baseline conditions, longitudinal change and proximal follow-up information. Three findings are central. First, discrimination improved substantially when longitudinal trajectories were added to the baseline model, indicating that repeated observation captured important risk information not available from baseline status alone. Second, the additional gain from proximal Wave 2 status indicators was comparatively modest, suggesting that the predictive signal was driven primarily by longer-term trajectories rather than by short-term temporal overlap with the Wave 3 outcome. Third, baseline household assets and BMI change emerged as the strongest contributors to prediction, whereas proximal functional status played a smaller role than expected. The overall pattern of findings is interpretable through a cumulative disadvantage lens. The strongest contributors to model classification were not confined to a single biomedical marker; instead, they reflected the joint importance of material conditions, bodily change and psychological status. This is consistent with the view that later-life vulnerability in South Africa is shaped by the cumulative consequences of unequal resources and uneven resilience across the life course rather than by one dominant risk factor alone [ 4 , 5 ]. At the same time, the present results should be read as compatible with cumulative disadvantage rather than as a direct empirical test of that theory. The analysis is predictive rather than causal, and the outcome was deliberately operationalized for risk classification. A second interpretive point concerns the meaning of non-successful ageing in this study. The outcome was operationalized pragmatically as the presence of either functional limitation or psychological distress at Wave 3. This approach is useful for prediction and stratification, but it does not capture the full multidimensional range often associated with broader successful-ageing frameworks, including cognition, social engagement and subjective well-being [ 6 , 8 – 10 ]. The present model therefore classifies a specific adverse ageing profile rather than the entirety of later-life well-being. The nested analysis is especially important for interpreting reviewer concerns about temporal overlap. The increase from 0.774 to 0.846 when longitudinal trajectories were added suggests that dynamic change between Waves 1 and 2 contains substantial information about later non-successful ageing. By contrast, the smaller increment from 0.846 to 0.860 after the addition of proximal Wave 2 status indicators suggests that the model’s performance is not driven mainly by near-term carryover from variables that mirror the Wave 3 outcome. In that sense, the results support the interpretation that longer-term change processes (not only near-term status) carry the dominant predictive signal in this cleaned survivor subset. The prominence of household assets is consistent with prior South African work showing persistent socioeconomic gradients in later-life health and functional vulnerability [ 18 ]. In the present study, household assets likely capture more than material wealth alone; they may also index buffering capacity, access to care and the cumulative effects of structural inequality. Likewise, the strong role of BMI change suggests that bodily trajectories may function as a sensitive marker of nutritional, metabolic and frailty-related processes that are difficult to capture through cross-sectional snapshots alone. The emergence of BMI decline as a leading contributor indicates that change itself may be more informative than static body size in this setting. Wave 2 depressive symptoms also contributed meaningfully, although they were not the dominant predictor once assets and BMI change were taken into account. This is still substantively important. Prior studies in South Africa have shown that depressive symptoms in older adults are closely linked to disability, functional limitation and wider social vulnerability [ 19 , 20 ]. The present findings extend that literature by showing that depressive symptoms remain relevant even in a multivariable longitudinal model, but that their contribution is embedded within a broader configuration of material and bodily vulnerability rather than acting as a singular risk determinant. The constrained ANN benchmark performed similarly to the XGBoost model, indicating that a meaningful portion of the predictive signal was retained across different algorithmic architectures. However, this comparison should be interpreted narrowly. The ANN was intentionally simplified and included as a benchmark rather than as a fully optimized alternative. Its performance therefore suggests that the observed signal was not unique to the boosting framework, but it does not establish equivalence between model classes or imply that neural-network methods were exhaustively tested in this application. From a methodological perspective, the study demonstrates both the value and the limits of interpretable machine learning in ageing research. On the one hand, the model achieved strong rank discrimination after rigorous data cleaning, and SHAP helped clarify that the principal contributors to classification were baseline socioeconomic conditions and longitudinal BMI change. On the other hand, calibration remained poor despite strong ranking performance. The slope and intercept indicate that predicted risks were compressed and not well aligned with observed outcome frequencies. Accordingly, the framework is more appropriate for relative risk stratification than for precise individual-level probability estimation. This interpretation is consistent with emerging work showing that explainable machine-learning approaches can improve classification of healthy-ageing outcomes, while recent reviews also stress the need for cautious interpretation, transparent reporting and further validation in older-adult populations [ 14 , 15 ]. These results also have practical implications. Later-life risk assessment in rural South Africa may be better approached as a multidomain task that integrates material vulnerability, bodily decline and psychological status rather than focusing narrowly on disease burden alone. In particular, the findings suggest that mental health should not be treated as secondary, but they also indicate that longer-term socioeconomic and nutritional trajectories may be at least as important for identifying who is at elevated risk. This implies that multidomain surveillance approaches may be more useful than single-indicator screening in resource-constrained settings. Some limitations should be acknowledged. First, the final analytical sample was heavily restricted through attrition, missing-data exclusion and outlier screening, resulting in a cleaned survivor subset that was younger and functionally healthier than those excluded. This likely limit generalisability and may inflate observed performance relative to the full cohort. Second, the outlier-removal strategy, although justified by implausible transitions, may also have excluded some true but extreme changes. Third, the operationalization of non-successful ageing was intentionally narrow and did not include cognition or social engagement. Finally, despite strong discrimination, the model has not been externally validated and calibration remained weak for absolute probability estimation. Conclusion This analysis suggests that non-successful ageing in rural South Africa is better captured by multidomain longitudinal information than by baseline characteristics alone. The strongest predictive signal was derived from baseline household assets and BMI change, with only modest additional gain from proximal Wave 2 indicators. These findings suggest that community health screenings in rural South Africa should prioritize monitoring household asset stability and BMI trends as early warning signs of declining functional health. Collectively, the results support the use of interpretable machine-learning approaches for relative risk stratification in ageing research, while also underscoring the importance of sample selection, data hygiene, and calibration in evaluating model performance. Declarations Ethical Approval and Consent to Participate: This study is a secondary analysis of de-identified data from the HAALSI cohort. The original HAALSI study was approved by the University of the Witwatersrand Human Research Ethics Committee (Ref: M141159), the Harvard T.H. Chan School of Public Health Office of Human Research Administration (Ref: C13-1608-02), and the Mpumalanga Provincial Research and Ethics Committee. Informed consent was obtained from all participants at each wave of data collection. The present analysis was conducted in accordance with the data use agreement provided by the HAALSI project. Consent for Publication: Not applicable. Data availability: The data that support the findings of this study are available from the Harvard Center for Population and Development Studies / MRC/Wits Rural Public Health and Health Transitions Research Unit (Agincourt) HAALSI study, but restrictions apply to the availability of these data, which were used under license for the current study and are therefore not publicly available. Data are, however, available to researchers upon reasonable request and with permission from the HAALSI investigators. Interested researchers can apply for access through the HAALSI data access process via the study website: https://haalsi.org. Competing interests: The authors declare that they have no competing interests. Funding: This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors. Authors' Contributions: LEU and UFU conceived and designed the study. LEU and BB performed the machine-learning analysis and model validation. LEU, BB and ECO drafted the manuscript. All authors have read and approved the final version of the manuscript. Patient and Public Involvement: Patients or the public were not involved in the design, conduct, reporting, or dissemination plans of our research. Acknowledgements: The authors acknowledge the Health and Aging in Africa: A Longitudinal Study of an INDEPTH Community (HAALSI) team for providing access to the dataset used in this study. We are grateful to the study participants and the field and data management staff of the MRC/Wits Rural Public Health and Health Transitions Research Unit (Agincourt) for their invaluable contributions. We also recognize the support of the Harvard Center for Population and Development Studies and collaborating institutions involved in the design, implementation, and maintenance of the HAALSI cohort. References Gómez-Olivé FX, Montana L, Wagner RG, Kabudula CW, Rohr JK, Kahn K, et al. Cohort profile: Health and Ageing in Africa: a longitudinal study of an INDEPTH community in South Africa (HAALSI). Int J Epidemiol. 2018;47(3):689–j690. 10.1093/ije/dyx247 . Payne CF, Houle B, Chinogurei C, Riumallo-Herl C, Kabudula CW, Kobayashi LC, et al. Differences in healthy longevity by HIV status and viral load among older South African adults: an observational cohort modelling study. Lancet HIV. 2022;9(10):e709–16. 10.1016/S2352-3018(22)00198-9 . Bassil DT, Farrell MT, Wagner RG, Brickman AM, Glymour MM, Langa KM, et al. Cohort profile update: cognition and dementia in the Health and Aging in Africa Longitudinal Study of an INDEPTH community in South Africa (HAALSI dementia). Int J Epidemiol. 2022;51(4):e217–26. 10.1093/ije/dyab250 . Dannefer D. Cumulative advantage/disadvantage and the life course: cross-fertilizing age and social science theory. J Gerontol B Psychol Sci Soc Sci. 2003;58(6):S327–37. 10.1093/geronb/58.6.S327 . Ferraro KF, Shippee TP. Aging and cumulative inequality: how does inequality get under the skin? Gerontologist. 2009;49(3):333–43. 10.1093/geront/gnp034 . Rowe JW, Kahn RL. Successful aging. Gerontologist. 1997;37(4):433–40. 10.1093/geront/37.4.433 . Henrich J, Heine SJ, Norenzayan A. The weirdest people in the world? Behav Brain Sci. 2010;33(2–3):61–83. 10.1017/S0140525X0999152X . Stowe JD, Cooney TM. Examining Rowe and Kahn's concept of successful aging: importance of taking a life course perspective. Gerontologist. 2015;55(1):43–50. 10.1093/geront/gnu055 . Zhou Y, Sun Y, Pan Y, Dai Y, Xiao Y, Yu Y. Prevalence of successful aging in older adults: a systematic review and meta-analysis. Arch Gerontol Geriatr. 2025;128:105604. 10.1016/j.archger.2024.105604 . Sabatini S, Rupprecht F, Kaspar R, Wahl H-W, Diehl M, Clare L, et al. Successful aging and subjective aging: toward a framework to research a neglected connection. Gerontologist. 2025;65(1):gnae051. 10.1093/geront/gnae051 . Akinrolie O, Iwuagwu AO, Kalu ME, Rayner D, Oyinlola O, Ezulike CD, et al. Longitudinal studies of aging in Sub-Saharan Africa: review, limitations, and recommendations in preparation of projected aging population. Innov Aging. 2024;8(4):igae002. 10.1093/geroni/igae002 . Topol EJ. High-performance medicine: the convergence of human and artificial intelligence. Nat Med. 2019;25(1):44–56. 10.1038/s41591-018-0300-7 . Wiemken TL, Kelley RR. Machine learning in epidemiology and health outcomes research. Annu Rev Public Health. 2020;41:21–36. 10.1146/annurev-publhealth-040119-094437 . Gašperlin Stepančič K, Ramovš A, Ramovš J, Košir A. A novel explainable machine learning-based healthy ageing scale. BMC Med Inf Decis Mak. 2024;24:317. 10.1186/s12911-024-02714-w . Nopour R. Machine learning models in enhancing prediction of health-related indices among older adults: a scoping review. Heliyon. 2025;11(12):e43510. 10.1016/j.heliyon.2025.e43510 . Lundberg SM, Lee S-I. A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems 30. Red Hook (NY): Curran Associates; 2017. pp. 4765–74. Collins GS, Moons KGM, Dhiman P, Riley RD, Beam AL, Van Calster B, et al. TRIPOD + AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ. 2024;385:e078378. 10.1136/bmj-2023-078378 . Riumallo-Herl C, Canning D, Kabudula CW. Health inequalities in the South African elderly: the importance of the measure of social-economic status. J Econ Ageing. 2019;14:100191. 10.1016/j.jeoa.2019.01.005 . Peltzer K, Phaswana-Mafuya N. Depression and associated factors in older adults in South Africa. Glob Health Action. 2013;6(1):18871. 10.3402/gha.v6i0.18871 . Tomita A, Burns JK. Depression, disability and functional status among community-dwelling older adults in South Africa: evidence from the first South African National Income Dynamics Study. Int J Geriatr Psychiatry. 2013;28(12):1270–9. 10.1002/gps.3954 . Additional Declarations No competing interests reported. Supplementary Files TRIPODAIChecklist.docx Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-9524228","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":629402397,"identity":"86b7fd6a-2856-4e49-9a92-af8bab2c9a38","order_by":0,"name":"Lawrence Ejike Ugwu","email":"","orcid":"","institution":"Centre for Applied Psychology and Public Health Research in Africa (CAPPHRA)","correspondingAuthor":false,"prefix":"","firstName":"Lawrence","middleName":"Ejike","lastName":"Ugwu","suffix":""},{"id":629402398,"identity":"04e0257e-9de6-4dd3-8089-43612091d4fd","order_by":1,"name":"Bruno Basil","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA50lEQVRIie2PMQrCQBBFJwRis2qrSO4QWEgUxLO4CLGxFsutrIK13mIrsRwIxEa0FSw0WGhhoV06nWhnsSSdyD4YGAYe8z+AwfCDeDSYyq4lbXTygyULKUKGlnT6JRQQMi6hBJV1imK1c1XC/DSDrquwGl91SicaeSg2B05KwBmEXGEtbGuD4Yi6TA9CHSO/BRALhcz3tMruciJlK/JgzQyeBZR9n4JN8a00GH0khZ+0Xea3vMuALxJn3GIeLTHzdQYE9eH5/lj13FliL5vZhJZ1xO9a5ysnjQ1Oo4TywS7zxWAwGP6fF5m4VN0JQjDuAAAAAElFTkSuQmCC","orcid":"","institution":"International Institute for Pathology and Forensic Science Research, David Umahi Federal University of Health Sciences","correspondingAuthor":true,"prefix":"","firstName":"Bruno","middleName":"","lastName":"Basil","suffix":""},{"id":629402399,"identity":"3a3b928f-2765-498d-91f3-676a652bbf78","order_by":2,"name":"Uzoamaka Francisca Ugwoke","email":"","orcid":"","institution":"Enugu State University of Science and Technology","correspondingAuthor":false,"prefix":"","firstName":"Uzoamaka","middleName":"Francisca","lastName":"Ugwoke","suffix":""},{"id":629402400,"identity":"e2f8184a-e599-48a3-acdc-b803f534e51c","order_by":3,"name":"Ekenna Chiedozie Okonkwo","email":"","orcid":"","institution":"Royal Bournemouth Hospital","correspondingAuthor":false,"prefix":"","firstName":"Ekenna","middleName":"Chiedozie","lastName":"Okonkwo","suffix":""}],"badges":[],"createdAt":"2026-04-25 09:24:28","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-9524228/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-9524228/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":108007307,"identity":"07f0a4b9-900c-45dc-b0f1-9d49829f3148","added_by":"auto","created_at":"2026-04-28 12:59:27","extension":"png","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":26020,"visible":true,"origin":"","legend":"\u003cp\u003e\u003cem\u003eNested model ROC comparison showing discrimination for baseline, longitudinal and full proximal models.\u003c/em\u003e\u003c/p\u003e","description":"","filename":"floatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-9524228/v1/232694fdd51a3f13d3db88f3.png"},{"id":107979377,"identity":"3b8acae8-5522-4550-84fa-93647c4f7eb4","added_by":"auto","created_at":"2026-04-28 08:11:05","extension":"png","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":53253,"visible":true,"origin":"","legend":"\u003cp\u003e\u003cem\u003eSHAP beeswarm plot showing the relative contribution and direction of major predictors in the final model.\u003c/em\u003e\u003c/p\u003e","description":"","filename":"floatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-9524228/v1/5474d14ade3bc8421fd228f6.png"},{"id":107979386,"identity":"45b5e321-75db-47b0-bbb0-cab0b437a81b","added_by":"auto","created_at":"2026-04-28 08:11:06","extension":"png","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":21997,"visible":true,"origin":"","legend":"\u003cp\u003e\u003cem\u003eCalibration plot for the final model. Strong ranking performance is accompanied by compressed probability estimates.\u003c/em\u003e\u003c/p\u003e","description":"","filename":"floatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-9524228/v1/24990f1c8457c56a3561b506.png"},{"id":108502187,"identity":"0a995088-ed82-4306-8839-f710f2ac63a2","added_by":"auto","created_at":"2026-05-05 10:57:35","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":297103,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-9524228/v1/01e06968-6079-4b96-bb45-b858d4e29721.pdf"},{"id":107979374,"identity":"4f515009-f7ef-463a-b90c-5df8cd25b8f3","added_by":"auto","created_at":"2026-04-28 08:11:05","extension":"docx","order_by":0,"title":"","display":"","copyAsset":false,"role":"supplement","size":32073,"visible":true,"origin":"","legend":"","description":"","filename":"TRIPODAIChecklist.docx","url":"https://assets-eu.researchsquare.com/files/rs-9524228/v1/64a230f5da510a674c031848.docx"}],"financialInterests":"No competing interests reported.","formattedTitle":"Predicting Non-successful Ageing in Rural South Africa: A Prospective Cohort Study using Machine-Learning Analysis of the HAALSI Cohort","fulltext":[{"header":"Introduction","content":"\u003cp\u003eSouth Africa provides a particularly important setting for studying later-life vulnerability in Sub-Saharan Africa because population ageing is unfolding alongside persistent socioeconomic inequality, multimorbidity and uneven access to supportive health and social systems [\u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e1\u003c/span\u003e, \u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2\u003c/span\u003e]. Findings from the Health and Aging in Africa: A Longitudinal Study of an INDEPTH Community in South Africa (HAALSI) indicate that ageing outcomes in rural South Africa are shaped not only by disease burden, but also by the combined influence of functional health, mental health and material conditions across the life course [\u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e1\u003c/span\u003e, \u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e3\u003c/span\u003e]. As a result, older adults in this setting do not follow a single or stable ageing trajectory, and approaches derived primarily from high-income contexts may miss important variation in risk. This makes rural South Africa a critical context for developing locally-adaptable tools to identify individuals at elevated risk of poorer ageing outcomes over time.\u003c/p\u003e \u003cp\u003eThis study is primarily informed by cumulative disadvantage theory, which holds that inequalities in social conditions, material resources and health exposures accumulate across the life course and contribute to divergence in later-life outcomes [\u003cspan citationid=\"CR4\" class=\"CitationRef\"\u003e4\u003c/span\u003e, \u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e5\u003c/span\u003e]. This perspective is especially relevant in South Africa, where many older adults age under conditions shaped by long-term structural inequality, household vulnerability and uneven access to protective resources. Within this broader explanatory framework, successful ageing is used as the outcome-oriented gerontological lens for distinguishing more favourable from less favourable ageing statuses in later life [\u003cspan citationid=\"CR6\" class=\"CitationRef\"\u003e6\u003c/span\u003e].\u003c/p\u003e \u003cp\u003eSuccessful ageing has long been influential in gerontology, commonly emphasizing the avoidance of disease and disability, maintenance of physical and cognitive function and continued engagement with life [\u003cspan citationid=\"CR6\" class=\"CitationRef\"\u003e6\u003c/span\u003e]. However, this framework has also been criticized for relying heavily on evidence from Western, Educated, Industrialized, Rich and Democratic populations and for insufficiently accounting for the social and structural conditions that shape ageing across the life course [\u003cspan citationid=\"CR7\" class=\"CitationRef\"\u003e7\u003c/span\u003e, \u003cspan citationid=\"CR8\" class=\"CitationRef\"\u003e8\u003c/span\u003e]. Recent meta-analytic and conceptual work further suggests that successful ageing remains relatively uncommon globally and that contemporary frameworks increasingly emphasize subjective and context-sensitive dimensions of ageing alongside objective functioning [\u003cspan citationid=\"CR9\" class=\"CitationRef\"\u003e9\u003c/span\u003e, \u003cspan citationid=\"CR10\" class=\"CitationRef\"\u003e10\u003c/span\u003e]. In settings such as rural South Africa, later-life well-being may therefore be less accurately captured by idealized models of ageing developed elsewhere. The present study adopts a pragmatic operationalization of later-life outcomes for longitudinal risk prediction while interpreting those outcomes within a cumulative disadvantage perspective.\u003c/p\u003e \u003cp\u003eDespite the growing availability of longitudinal ageing data in Africa, much of the existing literature remains cross-sectional, and recent reviews have highlighted the relatively limited use of longitudinal ageing studies across Sub-Saharan Africa [\u003cspan citationid=\"CR11\" class=\"CitationRef\"\u003e11\u003c/span\u003e]. This limitation is especially relevant in the present setting, where ageing outcomes are likely shaped by the interplay of functional capacity, depressive symptoms, body composition and material resources across time. Machine-learning methods offer a useful complement because they can model complex, non-linear patterns and higher-order interactions without requiring strong a priori functional assumptions [\u003cspan citationid=\"CR12\" class=\"CitationRef\"\u003e12\u003c/span\u003e, \u003cspan citationid=\"CR13\" class=\"CitationRef\"\u003e13\u003c/span\u003e]. Recent ageing-focused reviews further suggest that explainable machine-learning approaches may be particularly useful when prediction models seek to capture multidomain later-life vulnerability while retaining interpretability [\u003cspan citationid=\"CR14\" class=\"CitationRef\"\u003e14\u003c/span\u003e, \u003cspan citationid=\"CR15\" class=\"CitationRef\"\u003e15\u003c/span\u003e].\u003c/p\u003e \u003cp\u003eHowever, predictive performance alone is insufficient if model behaviour remains opaque. SHapley Additive exPlanations (SHAP) provide a framework for examining how individual predictors contribute to both overall model behaviour and person-level predictions, thereby supporting interpretable risk modelling [\u003cspan citationid=\"CR16\" class=\"CitationRef\"\u003e16\u003c/span\u003e]. Using three waves of HAALSI data, the present study evaluates an interpretable machine-learning framework for predicting non-successful ageing in rural South Africa. Specifically, the study aims to quantify the incremental predictive gain associated with adding longitudinal change and proximal follow-up indicators beyond baseline characteristics alone, identify the most influential functional, psychological and socioeconomic predictors of non-successful ageing using SHAP-based interpretation, and assess whether a parsimonious artificial neural network (ANN) benchmark retains meaningful predictive signal in a resource-constrained setting.\u003c/p\u003e"},{"header":"Materials and Methods","content":"\u003cdiv id=\"Sec3\" class=\"Section2\"\u003e \u003ch2\u003eStudy design and data source\u003c/h2\u003e \u003cp\u003eThis study was a prospective cohort analysis using data from the Health and Ageing in Africa: A Longitudinal Study of an INDEPTH Community in South Africa (HAALSI), a population-based cohort of adults aged 40 years and older residing in the Agincourt sub-district of Mpumalanga Province, South Africa. Data from three waves were used: Wave 1 (2014\u0026ndash;2015), Wave 2 (2018\u0026ndash;2019), and Wave 3 (2021\u0026ndash;2022). The present analysis examined whether baseline characteristics, longitudinal change, and proximal follow-up indicators improved prediction of non-successful ageing at Wave 3. The reporting of this study follows the Transparent Reporting of a multivariable prediction model for Individual Prognosis or Diagnosis\u0026ndash;Artificial Intelligence (TRIPOD\u0026thinsp;+\u0026thinsp;AI) statement.\u003c/p\u003e \u003c/div\u003e\n\u003ch3\u003eParticipants and analytical sample\u003c/h3\u003e\n\u003cp\u003eThe initial Wave 1 cohort comprised 5,059 participants. For inclusion in the present analysis, participants were required to contribute a valid Wave 3 ageing outcome and to have complete data on the principal Wave 1 to Wave 2 predictors used to estimate longitudinal change. A staged exclusion process was applied. First, 1,731 participants were excluded because of attrition or mortality before Wave 3. Second, 962 participants were excluded because of missing data on key Wave 1\u0026rarr;Wave 2 predictors, principally body mass index (BMI) and gait speed. Third, 931 participants were excluded during data hygiene screening because of physiologically implausible changes in BMI or mental-health scores between Waves 1 and 2 exceeding\u0026thinsp;\u0026plusmn;\u0026thinsp;15 units. These values were considered likely to reflect recording artifacts or placeholder values rather than plausible biological change. The final analytical sample therefore comprised 1,435 participants.\u003c/p\u003e \u003cp\u003eComparative analysis showed that excluded participants were significantly older and more functionally limited at baseline (p \u0026lt; .01), indicating potential healthy-survivor bias. Accordingly, the final sample should be interpreted as a cleaned survivor subset rather than as fully representative of the baseline cohort. Complete-case analysis was used because the primary objective was to estimate interpretable longitudinal change metrics, and key repeated-measure predictors were unavailable for a substantial proportion of excluded cases.\u003c/p\u003e\n\u003ch3\u003eOutcome definition\u003c/h3\u003e\n\u003cp\u003eThe primary outcome was non-successful ageing at Wave 3, coded as a binary variable (1\u0026thinsp;=\u0026thinsp;non-successful ageing, 0\u0026thinsp;=\u0026thinsp;successful ageing). Successful ageing was defined as the simultaneous absence of both functional limitation and psychological distress. Non-successful ageing was coded when either criterion was present. Functional limitation was defined as gait speed below 0.6 m/s or self-reported walking difficulty. Psychological distress was defined as a Center for Epidemiologic Studies Depression Scale (CES-D) score of 9 or higher.\u003c/p\u003e\n\u003ch3\u003ePredictor definition\u003c/h3\u003e\n\u003cp\u003ePredictors were grouped into three nested tiers to evaluate the incremental contribution of baseline characteristics, longitudinal change, and proximal status indicators. Tier 1 comprised baseline variables (age, sex, and Wave 1 household asset index). Tier 2 comprised longitudinal trajectories, operationalized as Wave 1\u0026rarr;Wave 2 change scores for BMI and CES-D. Tier 3 comprised proximal Wave 2 status indicators for depressive symptoms and functional difficulty.\u003c/p\u003e\n\u003ch3\u003eData cleaning and missing data\u003c/h3\u003e\n\u003cp\u003eTo improve interpretability of longitudinal change estimation, data were screened for implausible transitions between Waves 1 and 2. BMI and mental-health shifts greater than \u0026plusmn;\u0026thinsp;15 units were excluded as likely artifacts. No multiple imputation was undertaken because the key repeated-measure predictors required for velocity estimation were unavailable for a substantial proportion of excluded observations. For model fitting, predictors entered into XGBoost were analysed on their original scale, whereas ANN inputs were standardized as appropriate for neural-network training.\u003c/p\u003e \u003cdiv id=\"Sec8\" class=\"Section2\"\u003e \u003ch2\u003eStatistical analysis\u003c/h2\u003e \u003cp\u003eXGBoost was used as the primary learner because of its capacity to model non-linear relationships and higher-order interactions. A constrained artificial neural network (ANN), comprising a single hidden layer with five neurons and ReLU activation, was retained as a secondary benchmark. To assess potential temporal overlap and proximity bias, three nested model architectures were evaluated: (1) a baseline model containing age, sex, and Wave 1 household asset index; (2) a longitudinal model adding Wave 1\u0026rarr;Wave 2 changes in BMI and CES-D; and (3) a full proximal model adding Wave 2 depressive symptoms and functional difficulty.\u003c/p\u003e \u003cp\u003eInternal validation was conducted using repeated 10-fold cross-validation with five repeats. Mean area under the receiver operating characteristic curve (AUC) and standard deviation were reported across folds to quantify performance stability. Calibration was assessed using slope and intercept estimates derived from logistic regression of observed outcomes on predicted log-odds. SHapley Additive exPlanations (SHAP) were used to summarize the relative contribution of predictors to model classification. Model development, validation, and reporting followed established best practices for multivariable prediction modelling, including transparent interpretation of machine-learning outputs [\u003cspan citationid=\"CR17\" class=\"CitationRef\"\u003e17\u003c/span\u003e].\u003c/p\u003e \u003c/div\u003e"},{"header":"Results","content":"\u003cdiv id=\"Sec10\" class=\"Section2\"\u003e \u003ch2\u003eAttrition Flow and Final Analytical Sample\u003c/h2\u003e \u003cp\u003eOf the initial 5,059 participants in the Wave 1 cohort, 1,731 were excluded due to attrition or mortality by Wave 3. Missingness in W1 \u0026rarr; W2 predictors resulted in the removal of another 962 individuals. Following the data hygiene screening for implausible physiological transitions, a further 931 participants were excluded.\u003c/p\u003e \u003cp\u003eThe final analytical sample comprised a cleaned survivor subset of 1,435 adults (Table\u0026nbsp;\u003cspan refid=\"Tab1\" class=\"InternalRef\"\u003e1\u003c/span\u003e). Comparative analysis revealed that excluded participants were significantly older and more functionally limited at baseline compared to those retained in the final subset (p \u0026lt; .01). These differences indicate a potential healthy-survivor bias within the analytical sample.\u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab1\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 1\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eSample selection and staged exclusions.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"4\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"char\" char=\".\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003eStage\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eN excluded\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eRemaining sample\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003eReason\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eInitial HAALSI cohort\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u0026mdash;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e5,059\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003eWave 1 participants\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eLoss to follow-up / mortality\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e1,731\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e3,328\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003eDid not contribute Wave 3 outcome\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eMissing W1\u0026rarr;W2 predictors\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e962\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e2,366\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003eMissing BMI and/or gait-speed predictors\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eData hygiene screening\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e931\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e1,435\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003eImplausible BMI or mental-health changes (\u0026thinsp;\u0026gt;\u0026thinsp;\u0026plusmn;\u0026thinsp;15 units)\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eFinal analytical subset\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u0026mdash;\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e1,435\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003eCleaned survivor subset used for modelling\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec11\" class=\"Section2\"\u003e \u003ch2\u003eNested Model Performance and Proximity Bias\u003c/h2\u003e \u003cp\u003eCross-validated performance estimates from repeated 10-fold cross-validation (5 repeats) showed stable discrimination across the nested models (Fig.\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e). The Baseline Model achieved an AUC of 0.774\u0026thinsp;\u0026plusmn;\u0026thinsp;0.038, the Longitudinal Model achieved 0.846\u0026thinsp;\u0026plusmn;\u0026thinsp;0.031, and the Full Proximal Model achieved 0.860\u0026thinsp;\u0026plusmn;\u0026thinsp;0.029. The modest gain of +\u0026thinsp;0.014 AUC units from adding proximal Wave 2 status indicators suggests that predictive performance was driven primarily by longitudinal trajectories rather than by near-term status indicators that overlap conceptually with the Wave 3 outcome. The constrained ANN benchmark performed similarly to the XGBoost model (AUC\u0026thinsp;=\u0026thinsp;0.841\u0026thinsp;\u0026plusmn;\u0026thinsp;0.042), indicating that a meaningful portion of the predictive signal was retained across different algorithmic architectures.\u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab2\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 2\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eCross-validated nested model performance.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"4\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"char\" char=\".\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"char\" char=\".\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003eModel\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eFeature set\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eMean AUC\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003eSD\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eBaseline\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eAge, sex, Wave 1 asset index\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e0.774\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e \u003cp\u003e0.038\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eLongitudinal\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eBaseline\u0026thinsp;+\u0026thinsp;BMI change\u0026thinsp;+\u0026thinsp;CES-D change\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e0.846\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e \u003cp\u003e0.031\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eFull proximal\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eLongitudinal\u0026thinsp;+\u0026thinsp;Wave 2 depressive symptoms\u0026thinsp;+\u0026thinsp;functional difficulty\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e0.860\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e \u003cp\u003e0.029\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eANN benchmark\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eReduced four-feature model\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c3\"\u003e \u003cp\u003e0.841\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e \u003cp\u003e0.042\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec12\" class=\"Section2\"\u003e \u003ch2\u003eFeature Contribution\u003c/h2\u003e \u003cp\u003eSHAP analysis (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e) identified baseline household assets and BMI change as the strongest contributors to the predictive risk score. Lower baseline asset levels and sharper declines in BMI between Waves 1 and 2 were associated with increased predicted risk of non-successful ageing. Age and Wave 2 depressive symptoms also contributed meaningfully, whereas sex and proximal functional status contributed comparatively less.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec13\" class=\"Section2\"\u003e \u003ch2\u003eCalibration and Probability Alignment\u003c/h2\u003e \u003cp\u003eAlthough the model demonstrated strong rank discrimination (AUC\u0026thinsp;=\u0026thinsp;0.860), calibration analysis yielded a slope of 3.661 and an intercept of \u0026minus;\u0026thinsp;1.242, indicating substantial probability compression. In practical terms, this means that while the model effectively distinguished higher- from lower-risk individuals, predicted probabilities were insufficiently spread relative to observed outcome frequencies. The model is therefore better suited to relative risk stratification than to precise absolute risk estimation.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e"},{"header":"Discussion","content":"\u003cp\u003eThis study evaluated whether later-life risk in rural South Africa is better predicted by baseline characteristics alone or by a combination of baseline conditions, longitudinal change and proximal follow-up information. Three findings are central. First, discrimination improved substantially when longitudinal trajectories were added to the baseline model, indicating that repeated observation captured important risk information not available from baseline status alone. Second, the additional gain from proximal Wave 2 status indicators was comparatively modest, suggesting that the predictive signal was driven primarily by longer-term trajectories rather than by short-term temporal overlap with the Wave 3 outcome. Third, baseline household assets and BMI change emerged as the strongest contributors to prediction, whereas proximal functional status played a smaller role than expected.\u003c/p\u003e \u003cp\u003eThe overall pattern of findings is interpretable through a cumulative disadvantage lens. The strongest contributors to model classification were not confined to a single biomedical marker; instead, they reflected the joint importance of material conditions, bodily change and psychological status. This is consistent with the view that later-life vulnerability in South Africa is shaped by the cumulative consequences of unequal resources and uneven resilience across the life course rather than by one dominant risk factor alone [\u003cspan citationid=\"CR4\" class=\"CitationRef\"\u003e4\u003c/span\u003e, \u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e5\u003c/span\u003e]. At the same time, the present results should be read as compatible with cumulative disadvantage rather than as a direct empirical test of that theory. The analysis is predictive rather than causal, and the outcome was deliberately operationalized for risk classification.\u003c/p\u003e \u003cp\u003eA second interpretive point concerns the meaning of non-successful ageing in this study. The outcome was operationalized pragmatically as the presence of either functional limitation or psychological distress at Wave 3. This approach is useful for prediction and stratification, but it does not capture the full multidimensional range often associated with broader successful-ageing frameworks, including cognition, social engagement and subjective well-being [\u003cspan citationid=\"CR6\" class=\"CitationRef\"\u003e6\u003c/span\u003e, \u003cspan additionalcitationids=\"CR9\" citationid=\"CR8\" class=\"CitationRef\"\u003e8\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR10\" class=\"CitationRef\"\u003e10\u003c/span\u003e]. The present model therefore classifies a specific adverse ageing profile rather than the entirety of later-life well-being.\u003c/p\u003e \u003cp\u003eThe nested analysis is especially important for interpreting reviewer concerns about temporal overlap. The increase from 0.774 to 0.846 when longitudinal trajectories were added suggests that dynamic change between Waves 1 and 2 contains substantial information about later non-successful ageing. By contrast, the smaller increment from 0.846 to 0.860 after the addition of proximal Wave 2 status indicators suggests that the model\u0026rsquo;s performance is not driven mainly by near-term carryover from variables that mirror the Wave 3 outcome. In that sense, the results support the interpretation that longer-term change processes (not only near-term status) carry the dominant predictive signal in this cleaned survivor subset.\u003c/p\u003e \u003cp\u003eThe prominence of household assets is consistent with prior South African work showing persistent socioeconomic gradients in later-life health and functional vulnerability [\u003cspan citationid=\"CR18\" class=\"CitationRef\"\u003e18\u003c/span\u003e]. In the present study, household assets likely capture more than material wealth alone; they may also index buffering capacity, access to care and the cumulative effects of structural inequality. Likewise, the strong role of BMI change suggests that bodily trajectories may function as a sensitive marker of nutritional, metabolic and frailty-related processes that are difficult to capture through cross-sectional snapshots alone. The emergence of BMI decline as a leading contributor indicates that change itself may be more informative than static body size in this setting.\u003c/p\u003e \u003cp\u003eWave 2 depressive symptoms also contributed meaningfully, although they were not the dominant predictor once assets and BMI change were taken into account. This is still substantively important. Prior studies in South Africa have shown that depressive symptoms in older adults are closely linked to disability, functional limitation and wider social vulnerability [\u003cspan citationid=\"CR19\" class=\"CitationRef\"\u003e19\u003c/span\u003e, \u003cspan citationid=\"CR20\" class=\"CitationRef\"\u003e20\u003c/span\u003e]. The present findings extend that literature by showing that depressive symptoms remain relevant even in a multivariable longitudinal model, but that their contribution is embedded within a broader configuration of material and bodily vulnerability rather than acting as a singular risk determinant.\u003c/p\u003e \u003cp\u003eThe constrained ANN benchmark performed similarly to the XGBoost model, indicating that a meaningful portion of the predictive signal was retained across different algorithmic architectures. However, this comparison should be interpreted narrowly. The ANN was intentionally simplified and included as a benchmark rather than as a fully optimized alternative. Its performance therefore suggests that the observed signal was not unique to the boosting framework, but it does not establish equivalence between model classes or imply that neural-network methods were exhaustively tested in this application.\u003c/p\u003e \u003cp\u003eFrom a methodological perspective, the study demonstrates both the value and the limits of interpretable machine learning in ageing research. On the one hand, the model achieved strong rank discrimination after rigorous data cleaning, and SHAP helped clarify that the principal contributors to classification were baseline socioeconomic conditions and longitudinal BMI change. On the other hand, calibration remained poor despite strong ranking performance. The slope and intercept indicate that predicted risks were compressed and not well aligned with observed outcome frequencies. Accordingly, the framework is more appropriate for relative risk stratification than for precise individual-level probability estimation. This interpretation is consistent with emerging work showing that explainable machine-learning approaches can improve classification of healthy-ageing outcomes, while recent reviews also stress the need for cautious interpretation, transparent reporting and further validation in older-adult populations [\u003cspan citationid=\"CR14\" class=\"CitationRef\"\u003e14\u003c/span\u003e, \u003cspan citationid=\"CR15\" class=\"CitationRef\"\u003e15\u003c/span\u003e].\u003c/p\u003e \u003cp\u003eThese results also have practical implications. Later-life risk assessment in rural South Africa may be better approached as a multidomain task that integrates material vulnerability, bodily decline and psychological status rather than focusing narrowly on disease burden alone. In particular, the findings suggest that mental health should not be treated as secondary, but they also indicate that longer-term socioeconomic and nutritional trajectories may be at least as important for identifying who is at elevated risk. This implies that multidomain surveillance approaches may be more useful than single-indicator screening in resource-constrained settings.\u003c/p\u003e \u003cp\u003eSome limitations should be acknowledged. First, the final analytical sample was heavily restricted through attrition, missing-data exclusion and outlier screening, resulting in a cleaned survivor subset that was younger and functionally healthier than those excluded. This likely limit generalisability and may inflate observed performance relative to the full cohort. Second, the outlier-removal strategy, although justified by implausible transitions, may also have excluded some true but extreme changes. Third, the operationalization of non-successful ageing was intentionally narrow and did not include cognition or social engagement. Finally, despite strong discrimination, the model has not been externally validated and calibration remained weak for absolute probability estimation.\u003c/p\u003e"},{"header":"Conclusion","content":"\u003cp\u003eThis analysis suggests that non-successful ageing in rural South Africa is better captured by multidomain longitudinal information than by baseline characteristics alone. The strongest predictive signal was derived from baseline household assets and BMI change, with only modest additional gain from proximal Wave 2 indicators. These findings suggest that community health screenings in rural South Africa should prioritize monitoring household asset stability and BMI trends as early warning signs of declining functional health. Collectively, the results support the use of interpretable machine-learning approaches for relative risk stratification in ageing research, while also underscoring the importance of sample selection, data hygiene, and calibration in evaluating model performance.\u003c/p\u003e"},{"header":"Declarations","content":"\u003cp\u003e\u003cem\u003eEthical Approval and Consent to Participate:\u003c/em\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eThis study is a secondary analysis of de-identified data from the HAALSI cohort. The original HAALSI study was approved by the University of the Witwatersrand Human Research Ethics Committee (Ref: M141159), the Harvard T.H. Chan School of Public Health Office of Human Research Administration (Ref: C13-1608-02), and the Mpumalanga Provincial Research and Ethics Committee. Informed consent was obtained from all participants at each wave of data collection. The present analysis was conducted in accordance with the data use agreement provided by the HAALSI project.\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eConsent for Publication:\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003eNot applicable.\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eData availability:\u003c/em\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eThe data that support the findings of this study are available from the Harvard Center for Population and Development Studies / MRC/Wits Rural Public Health and Health Transitions Research Unit (Agincourt) HAALSI study, but restrictions apply to the availability of these data, which were used under license for the current study and are therefore not publicly available. Data are, however, available to researchers upon reasonable request and with permission from the HAALSI investigators. Interested researchers can apply for access through the HAALSI data access process via the study website: https://haalsi.org.\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eCompeting interests:\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003eThe authors declare that they have no competing interests.\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eFunding:\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003eThis research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eAuthors' Contributions:\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003eLEU and UFU conceived and designed the study. LEU and BB performed the machine-learning analysis and model validation. LEU, BB and ECO drafted the manuscript. All authors have read and approved the final version of the manuscript.\u003c/p\u003e\n\u003cp\u003e\u003cem\u003ePatient and Public Involvement:\u003c/em\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003ePatients or the public were not involved in the design, conduct, reporting, or dissemination plans of our research.\u003c/p\u003e\n\u003cp\u003e\u003cem\u003eAcknowledgements:\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003eThe authors acknowledge the Health and Aging in Africa: A Longitudinal Study of an INDEPTH Community (HAALSI) team for providing access to the dataset used in this study. We are grateful to the study participants and the field and data management staff of the MRC/Wits Rural Public Health and Health Transitions Research Unit (Agincourt) for their invaluable contributions. We also recognize the support of the Harvard Center for Population and Development Studies and collaborating institutions involved in the design, implementation, and maintenance of the HAALSI cohort.\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\u003cli\u003e\u003cspan\u003eG\u0026oacute;mez-Oliv\u0026eacute; FX, Montana L, Wagner RG, Kabudula CW, Rohr JK, Kahn K, et al. Cohort profile: Health and Ageing in Africa: a longitudinal study of an INDEPTH community in South Africa (HAALSI). Int J Epidemiol. 2018;47(3):689\u0026ndash;j690. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1093/ije/dyx247\u003c/span\u003e\u003cspan address=\"10.1093/ije/dyx247\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003ePayne CF, Houle B, Chinogurei C, Riumallo-Herl C, Kabudula CW, Kobayashi LC, et al. Differences in healthy longevity by HIV status and viral load among older South African adults: an observational cohort modelling study. Lancet HIV. 2022;9(10):e709\u0026ndash;16. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/S2352-3018(22)00198-9\u003c/span\u003e\u003cspan address=\"10.1016/S2352-3018(22)00198-9\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBassil DT, Farrell MT, Wagner RG, Brickman AM, Glymour MM, Langa KM, et al. Cohort profile update: cognition and dementia in the Health and Aging in Africa Longitudinal Study of an INDEPTH community in South Africa (HAALSI dementia). Int J Epidemiol. 2022;51(4):e217\u0026ndash;26. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1093/ije/dyab250\u003c/span\u003e\u003cspan address=\"10.1093/ije/dyab250\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eDannefer D. Cumulative advantage/disadvantage and the life course: cross-fertilizing age and social science theory. J Gerontol B Psychol Sci Soc Sci. 2003;58(6):S327\u0026ndash;37. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1093/geronb/58.6.S327\u003c/span\u003e\u003cspan address=\"10.1093/geronb/58.6.S327\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eFerraro KF, Shippee TP. Aging and cumulative inequality: how does inequality get under the skin? Gerontologist. 2009;49(3):333\u0026ndash;43. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1093/geront/gnp034\u003c/span\u003e\u003cspan address=\"10.1093/geront/gnp034\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eRowe JW, Kahn RL. Successful aging. Gerontologist. 1997;37(4):433\u0026ndash;40. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1093/geront/37.4.433\u003c/span\u003e\u003cspan address=\"10.1093/geront/37.4.433\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eHenrich J, Heine SJ, Norenzayan A. The weirdest people in the world? Behav Brain Sci. 2010;33(2\u0026ndash;3):61\u0026ndash;83. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1017/S0140525X0999152X\u003c/span\u003e\u003cspan address=\"10.1017/S0140525X0999152X\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eStowe JD, Cooney TM. Examining Rowe and Kahn's concept of successful aging: importance of taking a life course perspective. Gerontologist. 2015;55(1):43\u0026ndash;50. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1093/geront/gnu055\u003c/span\u003e\u003cspan address=\"10.1093/geront/gnu055\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZhou Y, Sun Y, Pan Y, Dai Y, Xiao Y, Yu Y. Prevalence of successful aging in older adults: a systematic review and meta-analysis. Arch Gerontol Geriatr. 2025;128:105604. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/j.archger.2024.105604\u003c/span\u003e\u003cspan address=\"10.1016/j.archger.2024.105604\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSabatini S, Rupprecht F, Kaspar R, Wahl H-W, Diehl M, Clare L, et al. Successful aging and subjective aging: toward a framework to research a neglected connection. Gerontologist. 2025;65(1):gnae051. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1093/geront/gnae051\u003c/span\u003e\u003cspan address=\"10.1093/geront/gnae051\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eAkinrolie O, Iwuagwu AO, Kalu ME, Rayner D, Oyinlola O, Ezulike CD, et al. Longitudinal studies of aging in Sub-Saharan Africa: review, limitations, and recommendations in preparation of projected aging population. Innov Aging. 2024;8(4):igae002. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1093/geroni/igae002\u003c/span\u003e\u003cspan address=\"10.1093/geroni/igae002\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eTopol EJ. High-performance medicine: the convergence of human and artificial intelligence. Nat Med. 2019;25(1):44\u0026ndash;56. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41591-018-0300-7\u003c/span\u003e\u003cspan address=\"10.1038/s41591-018-0300-7\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eWiemken TL, Kelley RR. Machine learning in epidemiology and health outcomes research. Annu Rev Public Health. 2020;41:21\u0026ndash;36. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1146/annurev-publhealth-040119-094437\u003c/span\u003e\u003cspan address=\"10.1146/annurev-publhealth-040119-094437\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGašperlin Stepančič K, Ramovš A, Ramovš J, Košir A. A novel explainable machine learning-based healthy ageing scale. BMC Med Inf Decis Mak. 2024;24:317. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1186/s12911-024-02714-w\u003c/span\u003e\u003cspan address=\"10.1186/s12911-024-02714-w\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eNopour R. Machine learning models in enhancing prediction of health-related indices among older adults: a scoping review. Heliyon. 2025;11(12):e43510. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/j.heliyon.2025.e43510\u003c/span\u003e\u003cspan address=\"10.1016/j.heliyon.2025.e43510\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLundberg SM, Lee S-I. A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems 30. Red Hook (NY): Curran Associates; 2017. pp. 4765\u0026ndash;74.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eCollins GS, Moons KGM, Dhiman P, Riley RD, Beam AL, Van Calster B, et al. TRIPOD\u0026thinsp;+\u0026thinsp;AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ. 2024;385:e078378. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1136/bmj-2023-078378\u003c/span\u003e\u003cspan address=\"10.1136/bmj-2023-078378\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eRiumallo-Herl C, Canning D, Kabudula CW. Health inequalities in the South African elderly: the importance of the measure of social-economic status. J Econ Ageing. 2019;14:100191. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/j.jeoa.2019.01.005\u003c/span\u003e\u003cspan address=\"10.1016/j.jeoa.2019.01.005\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003ePeltzer K, Phaswana-Mafuya N. Depression and associated factors in older adults in South Africa. Glob Health Action. 2013;6(1):18871. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.3402/gha.v6i0.18871\u003c/span\u003e\u003cspan address=\"10.3402/gha.v6i0.18871\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eTomita A, Burns JK. Depression, disability and functional status among community-dwelling older adults in South Africa: evidence from the first South African National Income Dynamics Study. Int J Geriatr Psychiatry. 2013;28(12):1270\u0026ndash;9. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1002/gps.3954\u003c/span\u003e\u003cspan address=\"10.1002/gps.3954\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Non-successful ageing, Rural South Africa, HAALSI, Interpretable Machine Learning, SHAP (SHapley Additive exPlanations).","lastPublishedDoi":"10.21203/rs.3.rs-9524228/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-9524228/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eLater-life risk in rural South Africa unfolds under conditions of multimorbidity, socioeconomic inequality and uneven access to care, making it difficult to identify who is most vulnerable to adverse ageing trajectories. Using three waves of Health and Aging in Africa: A Longitudinal Study of an INDEPTH Community (HAALSI) data and a cleaned survivor subset of 1,435 adults, we developed an interpretable machine-learning framework to predict non-successful ageing, defined by functional limitation or psychological distress at Wave 3. In repeated 10-fold cross-validation (5 repeats), discrimination increased from 0.774\u0026thinsp;\u0026plusmn;\u0026thinsp;0.038 in a baseline model to 0.846\u0026thinsp;\u0026plusmn;\u0026thinsp;0.031 with longitudinal change scores and 0.860\u0026thinsp;\u0026plusmn;\u0026thinsp;0.029 in the full proximal model; a constrained artificial neural network (ANN) benchmark achieved 0.841\u0026thinsp;\u0026plusmn;\u0026thinsp;0.042. SHapley Additive exPlanations identified baseline household assets and BMI change as the strongest contributors to prediction, with age and Wave 2 depressive symptoms contributing secondarily. Although rank discrimination was strong, calibration slope and intercept (3.661 and \u0026minus;\u0026thinsp;1.242) indicated compressed predicted probabilities. These findings suggest that later-life risk in rural South Africa is better captured by multidomain longitudinal information than by baseline characteristics alone and that community health screenings should prioritize monitoring household asset stability and BMI trends as early warning indicators of declining functional health, and that interpretable machine learning may support relative risk stratification, although absolute risk estimation and generalisability remain limited.\u003c/p\u003e","manuscriptTitle":"Predicting Non-successful Ageing in Rural South Africa: A Prospective Cohort Study using Machine-Learning Analysis of the HAALSI Cohort","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-04-28 08:10:58","doi":"10.21203/rs.3.rs-9524228/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"9685c7cf-3f7d-4912-8e76-f8727330cad3","owner":[],"postedDate":"April 28th, 2026","published":true,"recentEditorialEvents":[{"type":"decision","content":"Rejected","date":"2026-05-05T10:37:52+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2026-04-30T10:15:56+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2026-04-30T10:15:10+00:00","index":"","fulltext":""}],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2026-05-05T10:57:10+00:00","versionOfRecord":[],"versionCreatedAt":"2026-04-28 08:10:58","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-9524228","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-9524228","identity":"rs-9524228","version":["v1"]},"buildId":"XKTyCvWXoU3ODBz1xrDgd","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.