Prospective classification of functional dependence: Insights from machine learning and 39,927 participants in the Canadian Longitudinal Study on Aging ======================================================================================================================================================= * Zachary M. van Allen * Nathalie Dionne * Matthieu P. Boisgontier ## ABSTRACT **Objective** Functional dependence is a multifactorial health condition that affects well-being and life expectancy. To better understand the mechanisms underlying functional dependence, we aimed to identify the variables that best prospectively classify adults with and without limitations in basic and instrumental activities of daily living. **Methods** A filtering approach was used to select the best predictors of functional status from 4,248 candidate predictors collected in 39,927 participants aged 44 to 88 years old at baseline. Several machine learning models using the selected baseline variables (2010-2015) were compared for their ability to classify participants by functional status (dependent vs. independent) at follow up (2018-2021) on a training dataset (n = 31,941) of participants from the Canadian Longitudinal Study on Aging. The best performing model was then examined on a test dataset (n = 7,986) to confirm its sensitivity, specificity, and accuracy. **Results** Eighteen baseline variables were identified as the best predictors of functional status at follow up. Logistic regression was the best performing model for classifying participants by functional status and achieved balanced accuracy of 81.9% on the test dataset. Older age, phycological distress, slow walking speed, perceived health, being retired, having a chronic condition, and never going for walks at baseline were associated with greater odds of being functionally dependent at follow-up. In contrast, the absence of functional limitations, greater grip strength, being a female and free of chronic conditions at baseline were associated with lower odds of being functionally dependent at follow-up. **Conclusion** Functional dependence can be best prospectively estimated by age, psychological distress, physical fitness, physical activity, chronic conditions, and sex. These predictors can estimate functional dependence more than 6 years in advance with high accuracy. **Impact** Such early identification of functional dependence allows sufficient time for the implementation of interventions designed to delay or prevent functional decline. **Lay Summary** Whether a patient will be dependent in 6 years can be predicted with good accuracy by 18 variables, including age, psychological distress, physical fitness, physical activity, chronic disease, and sex. Keywords * Aging * Exercise * Frailty * Memory * Pain * Muscle Strength * Physical Activity * Physical Fitness * Visual Acuity ## INTRODUCTION In 2020, the world’s population included 1 billion people aged 60 years or older. This number is expected to double by 2050. During the same period, the population aged 80 years or older is expected to triple.1 These demographic trends are associated with a greater number and proportion of people who experience difficulties with physical functioning2,3, as manifested by a reduced ability to perform basic activities of daily living (ADL) (e.g., dressing, bathing, and walking) and instrumental activities of daily living (IADL) (e.g., shopping, managing one’s medications). These limitations have been shown to be a major contributor to increased early mortality4 and decreased quality-adjusted life years5. In addition, functional dependence is associated with patient financial barriers to care6, caregiver burden7,8, costly hospitalization9, and long-term care home admission10,11. As a result, preventing functional dependence is now considered a key component of healthy aging, which is defined as the process of developing and maintaining the functional ability that enables well-being in older age12. However, while home-based interprofessional programs involving rehabilitation professionals have demonstrated efficacy in reducing ADL and IADL disability13, healthcare systems and payers show only modest interest in the prevention of functional limitations, which may in part be due to the lack of direct reimbursement for preventive care related to physical function. Another possible explanation for this lack of interest is the difficulty in determining who should benefit from this preventive care. The ability to predict which individuals are likely to become functionally dependent in the future is essential for identifying and intervening in high-risk cases. To enable and refine this prediction, studies have identified a range of variables associated with functional dependence. A 2007 systematic review of eight studies investigating early indicators of functional dependence found that age, lower functional status, disability, cognitive impairment, length of hospital stays, and depression were predictors of functional decline14. Other research identified additional predictors such as physical activity (n = 12,860)15, adverse childhood experiences (n = 25,775)16, and disadvantaged childhood socioeconomic circumstances (n = 24,440)17 in a 12-year European longitudinal study, as well as poor chewing ability in a 6-year Japanese study (n = 748)18. In another Japanese sample (n = 1,523), walking speed, one-legged stance time as well as time to rise and walk were associated with a decline in functional independence19. Additionally, lower socioeconomic status, unemployment, low fruit and vegetable consumption, and lower cognitive performance were associated with a greater risk of developing functional dependence over a four-year period in a Brazilian sample (n = 412)20. Finally, age, chronic condition, and VO2max were associated with increased odds of becoming functionally dependent over the course of eight years in a Canadian sample (n = 297)21. However, some of these studies relied on small samples, most of them focused on a reduced number of candidate predictors, and none considered whether alternative modelling strategies would better fit the data. The machine learning approach is well suited to fill this gap, as it allows researchers to compare model performance between several algorithms (e.g., random forests, naive bayes) to select the model that is best able to predict or classify an outcome.22,23,24,25 To our knowledge, machine learning has not yet been applied to investigate the predictors that can prospectively classify functionally dependent and independent adults. However, machine learning has been applied to the prediction and classification of a condition closely related to functional dependence, namely frailty, an age-related state of vulnerability that affects multiple physiological systems.26 In a review that identified 217 frailty measurement tools, 52% included a functional limitation component27, supporting that functional dependence and frailty are highly intertwined. Studies using machine learning to classify frailty28,29,30,31 have produced models with sensitivity (i.e., true positives) ranging from 74% to 99% and specificity (i.e., true negatives) ranging from 70% to 96%. In these models, factors such as income, age, the chair rise test, perceived health, chronic conditions, and balance problems demonstrated the strongest ability to classify frailty. However, it is unclear which indicators best classify functional status. The objective of the present study was to use machine learning on a large cohort study to robustly identify the predictors that best prospectively classify functionally dependent and independent adults. Knowledge of such predictors would help identify individuals at higher risk of developing future functional limitations, inform the development of preventive interventions, and contribute to healthy aging. ## METHODS ### Participants Participants were recruited from the Canadian Longitudinal Study on Aging (CLSA), a nationally representative longitudinal study aimed at measuring the biological, societal, psychosocial, and physical factors related to healthy aging in Canada.32 Baseline data collection was conducted between 2010 and 2015 using two approaches: data collection from a ‘tracking’ cohort of participants was collected via hour-long computer-assisted phone interviews (n = 21,241) and data collection from a ‘comprehensive’ cohort via 90-minute in-person interviews in addition to a data collection site visits (n = 30,097). Additionally, a ‘maintaining contact questionnaire’ was administered by phone to both cohorts. The tracking cohort and comprehensive cohort were used as baseline data in our analyses. A follow-up assessment was from 2018 to 2021. Participants in the CLSA were recruited through Canada’s provincial health registries, random-digit dialing, and the Canadian Community Health Survey on Healthy Aging.33,34 Exclusion criteria included: residents living in Canada’s three territories and First Nations reserves, full-time members of the Canadian Armed Forces, people living with cognitive impairments, and individuals living in institutions, including 24-hour nursing homes.32 Environmental measures from the Canadian Urban Environmental Health Research Consortium (CANUE)34 were linked with the CLSA dataset. The CANUE dataset contains multiple annual measures of greenness (e.g., tree canopy coverage), neighborhood characteristics (e.g., building density, public transportation), air quality (e.g., fine particulate matter, smoke exposure), and weather (e.g., local climate zones, land surface temperatures). Data from 39,927 participants was partitioned into data used to train statistical models (training data, 80%; n = 31,941) and data used to test the predictive ability of the models (testing data, 20%; n = 7,986). Data used for classification was stratified by severity of ADL and IADL limitations so that equal proportions of older adults with low and high limitations at follow-up were present in both the training and the test datasets. All modeling on the training data used 10-fold cross-validation, which is generally considered best practice with machine learning.35 Resampling methods such as cross-validation enable the determination of how well a model works without using the test data. ### Dependent Variable The primary dependent variable was limitations in ADL and IADL at follow-up, as assessed by a modified version of the Older Americans’ Resources and Services Multidimensional Functional Assessment Questionnaire (OARS).36,37 Twenty questions were used to assess participants’ ability to complete seven ADL (i.e., can you dress and undress yourself without help, can you eat without help, can you take care of your own appearance without help, can you walk without help, can you get in and out of bed without any help or aids, can you take a bath or shower without help, do you ever have trouble getting to the bathroom in time). Twenty-one questions were used to assess seven IADL (i.e., can you use the telephone without help, can you get to places out of walking distance without help, can you go shopping for groceries or clothes without help, can you prepare your own meals without help, can you do your housework without help, can you take your own medicine without help, can you handle your own money without help). The CLSA ‘Basic and Instrumental Activities of Daily Living Classification’ is based on the following scores: 1 (no limitation), 2 (mild limitation), 3 (moderate limitation), 4 (severe limitation), and 5 (total limitation) in ADL and IADL. The method used to derive this variable assigns extra weight to the ability to prepare meals and was scored to be similar to variables used in Statistics Canada’s Canadian Community Health Survey. Two binary variables from the Basic and Instrumental Activities of Daily Living Classification were computed. The first dependent variable classified participants with no or mild limitation as functionally independent, and participants with moderate, severe, or total limitation as functionally dependent. The second measure classified participants with no limitation as functionally independent and participants with mild, moderate, severe, or total limitation as functionally dependent. This approach of dichotomising functional limitations has been used in previous research.38,39 ### Predictors Selection Merging the variables from the tracking and comprehensive datasets resulted in an initial set of 4,248 variables, from which 3,574 variables were manually removed because they were single items of summary variables or outside the scope of the study (e.g., biomarkers). A total of 674 summary variables were considered as possible predictors of functional status (independent vs. dependent). Using a filtering approach40, univariate logistic regressions were conducted between candidate predictors and functional status. A total of 630 variables were filtered out due to low associations with functional status. Subsequently, 26 variables were filtered out for containing redundant measures (e.g., multiple measures for age, income), using skip-logic questions, or through Least Absolute Shrinkage and Selection Operator (LASSO) reducing predictor estimates to 0 in logistic regression models, resulting in 18 predictor variables that were measured at baseline (Table 1): age, chronic conditions, driver’s license, grip strength, hip circumference, home care, limitations in ADL and IADL, memory (immediate and delayed recall), pain, perceived health, psychological distress, retirement, sex, urinary incontinence, visual acuity, walking frequency, and walking speed. View this table: [Table 1.](http://medrxiv.org/content/early/2024/07/15/2024.07.15.24310429/T1) Table 1. Descriptive Statistics and Logistic Regression Odds Ratios. ### Statistical Analyses Modeling was conducted using the ‘tidymodels’ package41, a meta-engine for machine learning models in R42, which contains a collection of packages for modeling and machine learning in addition to workflow structures preventing common machine learning errors such as data leakage.43 A series of exploratory models were performed from which the best performing models were selected for subsequent interpretation.35 Only participants with complete data on the dependent variable (n = 39,927) were included in the analyses. Data imputation was performed for all predictor variables using bagged tree models, which can impute missing data for both numeric and categorical variables. In machine learning, hyperparameters are set prior to the training process to guide the learning process. For example, hyperparameters include regularization strength in regression-based models, which prevents overfitting by adding a penalty to the models’ loss function that quantifies the error margin between a model’s prediction and the actual target value. Model/hyperparameter combinations refer to the various possible configurations of a model based on the values of its hyperparameters. Our analysis used a grid search approach to optimize hyperparameters and tested 125 model/hyperparameter combinations for classifying functional status. During the training process, the values of the model parameters are determined. For the classification of functional status, the following packages and models were used: XGBoost44, ranger (random forest)45, klaR (naïve Bayes)46, neural network (nnet)47, and glmnet (logistic regression)48. Numeric predictors for XGBoost, neural networks, and logistic regressions were normalized. Categorical predictors were encoded into numerical data using one-hot encoding. Hyperparameters for each model were determined with a grid search methodology using the ‘tune’ package43 and the best performing models were selected for further fitting and evaluation. During the model training and testing processes, model performance was evaluated through the level of misclassification on out-of-sample data using a standard confusion matrix22, which represents different combinations of predicted and actual values forming the basis of metrics for precision, specificity, and accuracy. In addition, area under the curve (AUC) of the receiver operating characteristic (ROC) curve was used to represent how well the model can distinguish between functional statuses.35 A 50% AUC indicates random guessing, and 100% indicates perfect performance. Here, this score was interpreted as was interpreted as: ≥ 60%, poor; ≥ 70%, fair; ≥ 80% good; ≥ 90%, excellent.49 Specificity refers to the proportion of true negative, sensitivity refers to the proportion of true positives, and accuracy is the proportion of true positive and negative results among the total cases examined. By default, binary classification models use a threshold of 0.50 to predict if a given case should be classified as 0 (functionally independent) or 1 (functionally dependent); the optimal threshold value which balances specificity and sensitivity was computed for each model. ## Results ### Descriptive Results A total of n = 39,927 participants had reported their functional status and were retained in the final sample, which included English (n = 32,298) and French speakers (n = 7,629), 20,620 females (51.6%). Age ranged from 44 to 88 years at baseline. Detailed descriptive statistics of the sample’s characteristics are presented in Table 1. When comparing the baseline characteristics between functionally independent and dependent participants at follow-up, several differences between groups were observed. For example, 92.5% of participants classified as independent at follow-up reported no impairments at baseline while 50.4% of those classified as dependent at follow-up reported no impairments at baseline. Additionally, dependent participants reported a greater rate of chronic conditions at baseline (98.5% vs. 90.6%), greater pain (63.0% vs 36.1%), not having a driver licence (26.7% vs. 4.3%), higher rates of urinary incontinence (25.5% vs. 7.31%), poorer perceived health (8.8% vs. 1.2%), higher retirement rates (75.5% vs. 41.0%), weaker grip strength (26.2 ± 9.8 kg vs. 34.0 ± 11.4 kg), and older age (70.9 ± 10.5 years vs. 61.7 ± 9.7 years). The mean number of years between baseline and follow-up was 6.3 years (range: 3.9 to 9.6 years). ### Model Performance Models classifying participants with no or mild limitation as functionally independent participants and participants with moderate, severe, or total limitation as functionally dependent provided the strongest accuracy. The best two models demonstrated approximately equivalent performance on the training data: logistic regression (AUC = 89.2%, accuracy = 97.3%, specificity = 99.7%, sensitivity = 13.0%) and XGBoost (AUC = 89.1%, accuracy = 97.4%, specificity = 99.8%, sensitivity = 12.8%) (Table 2, Figure 1). When the threshold of 0.50 was adjusted to optimise a balance between sensitivity and specificity, model performance increased to above 80% sensitivity and 80% specificity for each of these two models (Table 2). When considering the overall classification accuracy using balanced sensitivity and specificity, logistic regression was the best performing model with 82.0% accuracy (vs. 81.7% for the XGBoost model). Model performance for logistic regression on the test data was approximately equivalent to the training data (balanced accuracy = 81.9%, specificity = 79.0%, sensitivity = 84.7%), suggesting the model did not overfit on the training data. View this table: [Table 2.](http://medrxiv.org/content/early/2024/07/15/2024.07.15.24310429/T2) Table 2. Model Performance on Training and Test Data ![Figure 1.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2024/07/15/2024.07.15.24310429/F1.medium.gif) [Figure 1.](http://medrxiv.org/content/early/2024/07/15/2024.07.15.24310429/F1) Figure 1. Receiver operating characteristic (ROC) curves of models classifying functional status at follow-up (dependent vs. independent) using data from the 18 baseline predictors of the training dataset (n = 31,941). ### Best Classifiers of Functional Dependence The baseline variables that best classified functionally dependence at follow-up were older age (OR = 1.83), psychological distress (OR = 1.22), slower walking speed (OR = 1.19), being retired (OR = 1.16), having a chronic condition (OR = 1.14), and never going for walks (OR = 1.12) (Figure 2). In contrast, the following baseline variables were associated with lower odds of being dependent at follow-up were the absence of functional limitations at baseline (OR = 0.79), stronger grip strength (OR = 0.81), the absence of chronic conditions (OR = 0.87), being a female (OR = 0.89), having an unrestricted driver’s license (OR = 0.91), and better memory (OR = 0.96 and 0.91) (Figure 2). ![Figure 2.](http://medrxiv.org/https://www.medrxiv.org/content/medrxiv/early/2024/07/15/2024.07.15.24310429/F2.medium.gif) [Figure 2.](http://medrxiv.org/content/early/2024/07/15/2024.07.15.24310429/F2) Figure 2. Forest plot visualizing odds ratios of baseline variables associated with functional dependence at follow-up. Note: confidence intervals are not available for regularized logistic regression models. ## DISCUSSION This study applied machine learning techniques to data from a large cohort study (n = 39,927) to identify the variables from baseline assessments (2011-2015) that best classify functionally dependent and independent adults at follow-up (2018-2021). Eighteen variables were identified as the best predictors of functional status: age, chronic conditions, driver’s license, grip strength, hip circumference, home care, limitations in ADL and IADL, memory (immediate and delayed recall), pain, perceived health, psychological distress, retirement, sex, urinary incontinence, visual acuity, walking frequency, and walking speed. Using these variables, the best model showed a high proportion of true negatives (79%) and true positives (85%), demonstrating high accuracy in correctly identifying functionally dependent and independent adults (82%). The following baseline variables were the best classifiers of functional dependence at the follow-up assessment: age, psychological distress, physical fitness, chronic conditions, and sex. None of the environmental variables from the CANUE dataset (e.g., greenness, neighborhood characteristics, air quality, and weather) showed strong evidence of an association with functional status This was surprising given the hypothesized link between environmental quality and frailty.50 However, it is possible that longer exposures to sub-optimal environments may be required for effects to become identifiable. Our model outperforms some recent models focusing on frailty28,29, which is closely related to functional dependence.27 For example, Aponte-Hao et al.28 used two years of electronic medical records from Canadian primary care practices to predict frailty with the Rockwood Clinical Frailty Scale51 and obtained 78% sensitivity and 74% specificity. Tarekgen et al.29 used one-year of data from the Piedmontese Longitudinal Study to predict five indicators of frailty (mortality, urgent hospitalization, disability, fracture, and emergency admission) with sensitivity ranging from 75% to 81% and specificity from 70% to 80%. While comparison with these studies is difficult due to differences in the assessed concepts (frailty vs. functional status), variability in the time between assessments, differences in national contexts, and the nature of the available predictors in the dataset, our model obtained reasonable performance with greater distance between data measurements and fewer prediction variables (n = 18) than previous studies [n = 7528; n = 5829; n = 2730]. This latter result is clinically important as this parsimony facilitates future work of personalized prediction of those at risk of becoming functionally dependent. While our models outperformed some previous work, higher model performance has been reported in the frailty literature.30,31,52 For example, Leme and De Oliveira31 predicted frailty using four years of data from the English Longitudinal Study of Aging to predict frailty using the Fried phenotype measure53 and obtained 83% sensitivity and 88% specificity with the strongest predictors of frailty including age, the chair rise test, perceived health, and balance problems. Interestingly, while age and perceived health were among the strongest predictors in our analysis, the chair-rise test, income, and balance problems were not. These latter variables may be related to dimensions of frailty that are unrelated to functional dependence. National context (Canada vs. Brazil) may partly explain the discrepancy with household income. The inclusion of several physical fitness measures in the present study (e.g., walking frequency, walking speed, grip strength) may have accounted for the relationship between physical capacity and frailty. In another example, Koo et al.30 used 27 predictors in the Korean Frailty and Aging Cohort, over a one-year period, to predict scores on the Fried Frailty Index and achieved a score in which sensitivity and specificity contribute equally (F1 score) of 95.3%. Notably, these higherperforming models were obtained with shorter intervals between data collection waves [6.3 years on average in the present study vs. one year29 and four years30]. When classification is performed in a single observational event (e.g., using a motion capture system during body movements to predict frailty), classification performance can increase to 97.5%52. However, it is important to keep in mind that although greater classification performance can be achieved when the time between predictor and outcome measures is shorter, the purpose of modeling studies is not to assess health status. The value of modeling studies lies in their ability to identify as many years in advance as possible who is at risk of becoming frail or functionally dependent, allowing sufficient time to intervene and delay or even prevent this functional decline. ### Strengths and Limitations This study has several strengths including (i) the use of a large cohort study, (ii) the investigation of functional limitations that fills a gap in the literature, (iii) the exploration of predictors of functional limitations at multiple levels (individual, social, environmental), and (iv) similar high accuracy across the tested models, suggesting well-selected variables and robust results. Several limitations should also be noted. First, the length of time between baseline and follow-up assessments varied due to the nature of CLSA data collection and it is unclear whether sufficient time between timepoints was sufficient for causal relationships to manifest. Second, a strong class imbalance was present in the data with only 2.9% of participants classified as functionally dependent. Synthetic minority oversampling techniques (SMOTE)54 could have been used to generate a balanced dataset with synthetic data. However, this technique is not without its limitations and can introduce noise into a model.55 In our analyses, we opted to balance the proportion of functionally dependent adults in the training and test dataset without artificially creating data. ## Conclusions To our knowledge, we present the first study that identifies and models the variables that best prospectively classify functionally dependent and independent adults. The identified predictors can predict functional dependence more than 6-year in advance (range 3.9 to 9.6 years) with high accuracy. Because functional ability is a key component of healthy aging12, preventing its decline should be a priority to healthcare providers, especially in the context of an aging population.1 Early identification of individuals at risk allows healthcare professionals sufficient time to implement interventions aimed at delaying or preventing functional decline, and to refer patients to the appropriate specialists when needed, before functional decline develops. While all healthcare providers can incorporate such preventive care into their treatment plans, rehabilitation professionals play a central role in maintaining and optimizing functional abilities. In addition, predictors such as muscle strength, walking speed and frequency, and pain management fall within their scope of practice.56,57 Screening for these predictors should be considered when assessing patients, especially older adults, to allow for early intervention. Patient education regarding the identification of predictors of functional decline and the importance of addressing them should not be overlooked, as this may help motivate patients to actively take part in their care. In short, prospective identification and early intervention of functional dependence could have an important impact on preventing loss of autonomy, reducing significant costs to individuals and the healthcare system, as well as reducing caregiver burden and long-term care admissions. ## Data Availability The dataset used in this study is available for researchers who meet the criteria for accessing CLSA ([www.clsa-elcv.ca](http://www.clsa-elcv.ca)) and the R scripts are publicly available in Zenodo: [https://doi.org/10.5281/zenodo.12584730](https://doi.org/10.5281/zenodo.12584730) [https://doi.org/10.5281/zenodo.12584730](https://doi.org/10.5281/zenodo.12584730) ## Declarations ### Data and Code Availability In accordance with good research practice58 the R scripts are publicly available in Zenodo.59 This research has been conducted using the CLSA dataset (Baseline Tracking Dataset version 4.0, Baseline Comprehensive Dataset version 7.0, Follow-Up 2 dataset version 1.1) under application number 2304007. This dataset is available for researchers who meet the criteria ([www.clsa-elcv.ca](http://www.clsa-elcv.ca)). ### Funding This research was made possible using the data collected by CLSA. Funding for CLSA is provided by the Government of Canada through the Canadian Institutes of Health Research (CIHR; LSA 94473), the Canada Foundation for Innovation (CFI), and the following Canadian provinces: Alberta, British Columbia, Manitoba, Newfoundland, Nova Scotia, Ontario, Quebec. Matthieu Boisgontier is supported by Natural Sciences and Engineering Research Council of Canada (NSERC; RGPIN-2021-03153), the CFI, Mitacs, and the Banting Discovery Foundation. Zachary van Allen is supported by a Mitacs Accelerate Postdoctoral Fellowship and the Banting Discovery Foundation. ## Authorship Contribution Statement Based on the Contributor Roles Taxonomy (CRediT)60 individual author contributions to this work are as follows: * Zachary van Allen: Conceptualization; Methodology; Formal Analysis; Writing (Original Draft); Writing (Review and Editing). * Nathalie Dionne: Writing (Original Draft); Writing (Review and Editing). * Matthieu Boisgontier: Conceptualization; Methodology; Writing (Original Draft); Writing (Review and Editing); Supervision (ZMvA and ND); Project Administration; Funding Acquisition. ### Conflict of Interest The authors declare that there are no conflicts of interest related to the content of this article. ## Footnotes * * matthieu.boisgontier{at}uottawa.ca * Received July 15, 2024. * Revision received July 15, 2024. * Accepted July 15, 2024. * © 2024, Posted by Cold Spring Harbor Laboratory This pre-print is available under a Creative Commons License (Attribution 4.0 International), CC BY 4.0, as described at [http://creativecommons.org/licenses/by/4.0/](http://creativecommons.org/licenses/by/4.0/) ## References 1. 1.World Health Organization. Ageing and health. [https://www.who.int/news-room/fact-sheets/detail/ageing-and-health](https://www.who.int/news-room/fact-sheets/detail/ageing-and-health). Published 2022. Accessed July 2024. 2. 2.Kingston A, Comas-Herrera A, Jagger C; MODEM project. Forecasting the care needs of the older population in England over the next 20 years: estimates from the Population Ageing and Care Simulation (PACSim) modelling study. Lancet Public Health. 2018;3(9):e447–e455. doi:10.1016/S2468-2667(18)30118-X [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/S2468-2667(18)30118-X&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=30174210&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) 3. 3.Jiang Y, Li L. Projections of functional dependence among the late middle-aged and older population from 2018-2048 in China: a dynamic microsimulation. Glob Health Res Policy. 2024;9(1):15. doi:10.1186/s41256-024-00357-y [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1186/s41256-024-00357-y&link_type=DOI) 4. 4.Ermini Leaf D, Tysinger B, Goldman DP, Lakdawalla DN. Predicting quantity and quality of life with the Future Elderly Model. Health Econ. 2021;30(Suppl 1):52–79. doi:10.1002/hec.4169 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/hec.4169&link_type=DOI) 5. 5.McGrath R, Al Snih S, Markides K, Hackney K, Bailey R, Peterson M. The burden of functional disabilities for middle-aged and older adults in the United States. J Nutr Health Aging. 2019;23(2):172–174. doi:10.1007/s12603-018-1133-2 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s12603-018-1133-2&link_type=DOI) 6. 6.Bernard D, Selden T, Yeh S. Financial burdens and barriers to care among nonelderly adults: the role of functional limitations and chronic conditions. Disabil Health J. 2016;9(2):256–264. doi:10.1016/j.dhjo.2015.09.003 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.dhjo.2015.09.003&link_type=DOI) 7. 7.Guerriere D, Husain A, Zagorski B, et al. Predictors of caregiver burden across the home-based palliative care trajectory in Ontario, Canada. Health Soc Care Community. 2016;24(4):428–438. doi:10.1111/hsc.12219 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/hsc.12219&link_type=DOI) 8. 8.Lethin C, Leino-Kilpi H, Bleijlevens MH, et al. Predicting caregiver burden in informal caregivers caring for persons with dementia living at home - a follow-up cohort study. Dementia (London). 2020;19(3):640–660. doi:10.1177/1471301218782502 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1177/1471301218782502&link_type=DOI) 9. 9.Johnston KJ, Wen H, Schootman M, Joynt Maddox KE. Association of patient social, cognitive, and functional risk factors with preventable hospitalizations: implications for physician value-based payment. J Gen Intern Med. 2019;34(8):1645–1652. doi:10.1007/s11606-019-05009-3 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s11606-019-05009-3&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=http://www.n&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) 10. 10.Johnston KJ, Wen H, Hockenberry JM, Joynt Maddox KE. Association between patient cognitive and functional status and Medicare total annual cost of care: implications for value-based payment. JAMA Intern Med. 2018;178(11):1489–1497. doi:10.1001/jamainternmed.2018.4143 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1001/jamainternmed.2018.4143&link_type=DOI) 11. 11.Falck RS, Percival AG, Tai D, Davis JC. International depiction of the cost of functional independence limitations among older adults living in the community: a systematic review and cost-of-impairment study. BMC Geriatr. 2022;22(1):815. doi:10.1186/s12877-022-03466-w [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1186/s12877-022-03466-w&link_type=DOI) 12. 12.World Health Organization. Healthy ageing and functional ability. [https://www.who.int/news-room/questions-and-answers/item/healthy-ageing-and-functional-ability](https://www.who.int/news-room/questions-and-answers/item/healthy-ageing-and-functional-ability). Published 2020. Accessed July 2024. 13. 13.Szanton SL, Leff B, Li Q, et al. CAPABLE program improves disability in multiple randomized trials. J Am Geriatr Soc. 2021;69(12):3631–3640. doi:10.1111/jgs.17383 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/jgs.17383&link_type=DOI) 14. 14.Hoogerduijn JG, Schuurmans MJ, Duijnstee MS, de Rooij SE, Grypdonck MF. A systematic review of predictors and screening instruments to identify older hospitalized patients at risk for functional decline. J Clin Nurs. 2007;16(1):46–57. doi:10.1111/j.1365-2702.2006.01579.x [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/j.1365-2702.2006.01579.x&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=17181666&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000242965000006&link_type=ISI) 15. 15.van Allen Z, Orsholits D, Boisgontier MP. Pre-stroke physical activity matters for functional limitations: a longitudinal case-control study of 12,860 participants. Phys Ther. 2024. doi:10.1093/ptj/pzae094 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/ptj/pzae094&link_type=DOI) 16. 16.Boisgontier MP, Orsholits D, von Arx M, et al. Adverse childhood experiences, depressive symptoms, functional dependence, and physical activity: a moderated mediation model. J Phys Act Health. 2020;17(8):790–799. doi:10.1123/jpah.2019-0133 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1123/jpah.2019-0133&link_type=DOI) 17. 17.Landös A, von Arx M, Cheval B, et al. Childhood socioeconomic circumstances and disability trajectories in older men and women: a European cohort study. Eur J Public Health. 2019;29(1):50–58. doi:10.1093/eurpub/cky166 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/eurpub/cky166&link_type=DOI) 18. 18.Shinkai S, Kumagai S, Fujiwara Y, et al. Predictors for the onset of functional decline among initially non-disabled older people living in a community during a 6-year follow-up. Geriatr Gerontol Int. 2003;3:S31–S39. doi:10.1111/j.1444-0594.2003.00094.x [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/j.1444-0594.2003.00094.x&link_type=DOI) 19. 19.Masugi Y, Kawai H, Ejiri M, et al. Early strong predictors of decline in instrumental activities of daily living in community-dwelling older Japanese people. PLoS One. 2022;17(4):e0266614. doi:10.1371/journal.pone.0266614 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1371/journal.pone.0266614&link_type=DOI) 20. 20.Vieira MCU, Dias DF, Bortoletto MSS, Silva AMR, Cabrera MAS. Predictors of functional dependence among individuals aged 50 years and older: a 4-year follow-up study. Geriatr Gerontol Aging. 2019;13(3):p157-166. doi:10.5327/Z2447-211520191900060 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.5327/Z2447-211520191900060&link_type=DOI) 21. 21.Paterson DH, Govindasamy D, Vidmar M, Cunningham DA, Koval JJ. Longitudinal study of determinants of dependence in an elderly population. J Am Geriatr Soc. 2004;52(10):1632–1638. doi:10.1111/j.1532-5415.2004.52454.x [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/j.1532-5415.2004.52454.x&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=15450038&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000223998300005&link_type=ISI) 22. 22.Yarkoni T, Westfall J. Choosing prediction over explanation in psychology: lessons from machine learning. Perspect Psychol Sci. 2017;12(6):1100–1122. doi:10.1177/1745691617693393 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1177/1745691617693393&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=28841086&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) 23. 23.Rosenbusch H, Soldner F, Evans, A. M., Zeelenberg M. Supervised machine learning methods in psychology: a practical introduction with annotated R code. Soc Personal Psychol Compass. 2021;15(2):e12579. doi:10.1111/spc3.12579 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/spc3.12579&link_type=DOI) 24. 24.Murphy KP. Machine learning: a probabilistic perspective. Cambridge (MA): MIT Press; 2012. 25. 25.Rainio O, Teuho J, Klén R. Evaluation metrics and statistical tests for machine learning. Sci Rep. 2024;14(1):6086. doi:10.1038/s41598-024-56706-x [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1038/s41598-024-56706-x&link_type=DOI) 26. 26.Clegg A, Young J, Iliffe S, Rikkert MO, Rockwood K. Frailty in elderly people. Lancet. 2013;381(9868):752–762. doi:10.1016/S0140-6736(12)62167-9 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/S0140-6736(12)62167-9&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=23395245&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000315570900029&link_type=ISI) 27. 27.Costenoble A, Knoop V, Vermeiren S, et al. A comprehensive overview of activities of daily living in existing frailty instruments: a systematic literature search. Gerontologist. 2021;61(3):e12–e22. doi:10.1093/geront/gnz147 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/geront/gnz147&link_type=DOI) 28. 28.Aponte-Hao S, Wong ST, Thandi M, et al. Machine learning for identification of frailty in Canadian primary care practices. Int J Popul Data Sci. 2021;6(1):1650. doi:10.23889/ijpds.v6i1.1650 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.23889/ijpds.v6i1.1650&link_type=DOI) 29. 29.Tarekegn A, Ricceri F, Costa G, Ferracin E, Giacobini M. Predictive modeling for frailty conditions in elderly people: machine learning approaches. JMIR Med Inform. 2020;8(6):e16678. doi:10.2196/16678 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.2196/16678&link_type=DOI) 30. 30.Koo D, Lee AR, Lee E, Kim IK. Development of a frailty detection model using machine learning with the Korean Frailty and Aging Cohort Study data. Healthc Inform Res. 2022;28(3):231–239. doi:10.4258/hir.2022.28.3.231 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.4258/hir.2022.28.3.231&link_type=DOI) 31. 31. Leme Dedc, de Oliveira C. Machine learning models to predict future frailty in community-dwelling middle-aged and older adults: the ELSA cohort study. J Gerontol A Biol Sci Med Sci. 2023;78(11):2176–2184. doi:10.1093/gerona/glad127 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/gerona/glad127&link_type=DOI) 32. 32.Raina PS, Wolfson C, et al. The Canadian Longitudinal Study on Aging (CLSA). Can J Aging. 2009;28(3):221–229. doi:10.1017/S0714980809990055 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1017/S0714980809990055&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=19860977&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000280607300002&link_type=ISI) 33. 33.Wolfson C, Raina PS, Kirkland SA, et al. The Canadian community health survey as a potential recruitment vehicle for the Canadian Longitudinal Study on Aging. Can J Aging. 2009;28(3):243–249. doi:10.1017/S0714980809990031 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1017/S0714980809990031&link_type=DOI) 34. 34.Brook JR, Setton EM, Seed E, Shooshtari M, Doiron D; CANUE – The Canadian Urban Environmental Health Research Consortium. The Canadian Urban Environmental Health Research Consortium - a protocol for building a national environmental exposure data platform for integrated analyses of urban form and health. BMC Public Health. 2018;18(1):114. doi:10.1186/s12889-017-5001-5 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1186/s12889-017-5001-5&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=http://www.n&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) 35. 35.Szabelska A, Pollet TV, Dujols O, Klein RA, IJzerman H. A tutorial for exploratory research: an eight-step approach. PsyArXiv. 2021. [preprint] doi:10.31234/osf.io/cy9mz [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.31234/osf.io/cy9mz&link_type=DOI) 36. 36.Fillenbaum GG. Multidimensional functional assessment of older adults: the Duke Older Americans Resources and Services Procedures. Psychology Press; 2013. 37. 37.Fillenbaum GG, Smyer MA. The development, validity, and reliability of the OARS multidimensional functional assessment questionnaire. J Gerontol. 1981;36(4):428–434. doi:10.1093/geronj/36.4.428 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/geronj/36.4.428&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=7252074&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=A1981LW08400009&link_type=ISI) 38. 38.Fisher K, Griffith LE, Gruneir A, Kanters D, Markle-Reid M, Ploeg J. Functional limitations in people with multimorbidity and the association with mental health conditions: baseline data from the Canadian Longitudinal Study on Aging (CLSA). PLoS One. 2021;16(8):e0255907. doi:10.1371/journal.pone.0255907 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1371/journal.pone.0255907&link_type=DOI) 39. 39.Zhang L, Shooshtari S, St John P, Menec VH. Multimorbidity and depressive symptoms in older adults and the role of social support: evidence using Canadian Longitudinal Study on Aging (CLSA) data. PLoS One. 2022;17(11):e0276279. doi:10.1371/journal.pone.0276279 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1371/journal.pone.0276279&link_type=DOI) 40. 40.Bain C, Shi D, Loeffelman J, Norris JE, Ethridge L. A tutorial on supervised machine learning variable selection methods for the social and health sciences in R. PsyArXiv. 2024. [preprint]. doi:10.31234/osf.io/j695a [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.31234/osf.io/j695a&link_type=DOI) 41. 41.Kuhn M, Wickham H. Tidymodels: a collection of packages for modeling and machine learning using tidyverse principles. Boston, MA: 2020. 42. 42.R Core Team. R: a language and environment for statistical computing. Vienna, Austria: R Foundation for Statistical Computing; 2023. 43. 43.Kuhn M, Silge J. Tidy modeling with R. O’Reilly Media, Inc. 2022. [https://www.tmwr.org/](https://www.tmwr.org/) 44. 44.Chen T, He T, Benesty M, et al. Package ‘xgboost’: extreme gradient boosting. Version 1.7.7.1;2024. [R package]. [https://cran.r-project.org/web/packages/xgboost/xgboost.pdf](https://cran.r-project.org/web/packages/xgboost/xgboost.pdf) 45. 45.Wright MN, Ziegler A. Ranger: a fast implementation of random forests for high dimensional data in C++ and R. J Stat Softw. 2017;77(1):1–17. doi:10.18637/jss.v077.i01 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.18637/jss.v077.i01&link_type=DOI) 46. 46.1. Baier D, 2. Decker R, 3. Schmidt-Thieme L Weihs C, Ligges U, Luebke K, Raabe N. klaR analyzing German business cycles. In: Baier D, Decker R, Schmidt-Thieme L, eds. Data analysis and decision support. Studies in Classification, Data Analysis, and Knowledge Organization. Berlin, Germany: Springer. 2005:335–343. doi:10.1007/3-540-28397-8_36 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/3-540-28397-8_36&link_type=DOI) 47. 47.Ripley B, Venables W. Package ‘nnet’: feed-forward neural networks and multinomial log-linear models. Version 7.3-19;2023. [R package]. [https://cran.r-project.org/web/packages/nnet/nnet.pdf](https://cran.r-project.org/web/packages/nnet/nnet.pdf) 48. 48.Friedman J, Hastie T, Tibshirani R. Regularization paths for generalized linear models via coordinate descent. J Stat Softw. 2010;33(1):1–22. doi:10.18637/jss.v033.i01 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1111/j.1467-9868.2005.00503.x&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=20808728&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000275203200001&link_type=ISI) 49. 49.Nahm FS. Receiver operating characteristic curve: overview and practical use for clinicians. Korean J Anesthesiol. 2022;75(1):25–36. doi:10.4097/kja.21209 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.4097/kja.21209&link_type=DOI) 50. 50.Di Ciaula A, Portincasa P. The environment as a determinant of successful aging or frailty. Mech Ageing Dev. 2020;188:111244. doi:10.1016/j.mad.2020.111244 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1016/j.mad.2020.111244&link_type=DOI) 51. 51.Mitnitski AB, Mogilner AJ, Rockwood K. Accumulation of deficits as a proxy measure of aging. Sci World J. 2001;1:323–336. doi:10.1100/tsw.2001.58 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1100/tsw.2001.58&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=12806071&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) 52. 52.Akbari G, Nikkhoo M, Wang L, et al. Frailty level classification of the community elderly using microsoft Kinect-based skeleton pose: a machine learning approach. Sensors. 2021;21(12):4017. doi:10.3390/s21124017 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.3390/s21124017&link_type=DOI) 53. 53.Fried LP, Tangen CM, Walston J, et al. Frailty in older adults: evidence for a phenotype. J Gerontol A Biol Sci Med Sci. 2001;56(3):M146–M156. doi:10.1093/gerona/56.3.m146 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/gerona/56.3.M146&link_type=DOI) [PubMed](http://medrxiv.org/lookup/external-ref?access_num=11253156&link_type=MED&atom=%2Fmedrxiv%2Fearly%2F2024%2F07%2F15%2F2024.07.15.24310429.atom) [Web of Science](http://medrxiv.org/lookup/external-ref?access_num=000167294000010&link_type=ISI) 54. 54.Chawla NV, Bowyer KW, Hall LO, Kegelmeyer WP. SMOTE: Synthetic Minority Over-sampling Technique. J Artif Intell Res. 2022;16:321–357. doi:10.1613/jair.953 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1613/jair.953&link_type=DOI) 55. 55.Elreedy D, Atiya AF, Kamalov F. A theoretical distribution analysis of synthetic minority oversampling technique (SMOTE) for imbalanced learning. Mach Learn. 2024;113:4903–4923. doi:10.1007/s10994-022-06296-4 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1007/s10994-022-06296-4&link_type=DOI) 56. 56.APTA House of Delegates. Physical therapist’s scope of practice HOD P06-17-09-16/HOD P06-17-08-07. Accessed July 15, 2024. [https://www.apta.org/contentassets/a400d547ca63438db1349c4a69bf7ead/position-pt-scope-practice.pdf](https://www.apta.org/contentassets/a400d547ca63438db1349c4a69bf7ead/position-pt-scope-practice.pdf) 57. 57.Boisgontier MP, Iversen MD. Physical inactivity: a behavioral disorder in the physical therapist’s scope of practice. Phys Ther. 2020;100(5):743–746. doi:10.1093/ptj/pzaa011 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1093/ptj/pzaa011&link_type=DOI) 58. 58.Boisgontier MP. Research integrity requires to be aware of good and questionable research practices. Eur Rehabil J. 2022;2(1):1–3. doi:10.52057/erj.v2i1.24 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.52057/erj.v2i1.24&link_type=DOI) 59. 59.van Allen Z. Predictors that best classify functionally dependent and independent adults: R scripts. Version 1.0;2024. [R script]. doi:10.5281/zenodo.12584730 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.5281/zenodo.12584730&link_type=DOI) 60. 60.Allen L, O’Connell A, Kiermer V. How can we ensure visibility and diversity in research contributions? How the contributor role taxonomy (CRediT) is helping the shift from authorship to contributorship. Learn Publ. 2019;32(1):71–74. doi:10.1002/leap.1210 [CrossRef](http://medrxiv.org/lookup/external-ref?access_num=10.1002/leap.1210&link_type=DOI)