Employing the X-Learner Algorithm to Evaluate the Intervention Effects of Physical Activity on Determinants of Elderly Mental Health
Abstract
1. Introduction
1.1. Relationships Between Physical Activity Intensity and Mental Health Outcomes
1.2. Variables Affecting Mental Health
2. Methods
2.1. Data Source and Preprocessing
2.2. Data Analysis
2.3. Causal Inference Assumptions
3. Results
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
KNHANES | Korea National Health and Nutrition Examination Survey |
BMI | Body Mass Index |
CATE | Conditional Average Treatment Effects |
PSM | Propensity Score Matching |
ATE | Average Treatment Effect |
SVM | Support Vector Machine |
DNN | Deep Neural Networks |
AUC | Area Under the Curve |
ROC | Receiver Operating Characteristic |
ReLu | Rectified Linear Unit |
References
- Ministry of the Interior and Safety. The 2023 Resident Registration Population Is 51.33 Million, a Decrease of 110,000 Compared to the Previous Year. 2024. Available online: https://www.mois.go.kr/frt/bbs/type010/commonSelectBoardArticle.do;jsessionid=l5lsKvMK6B0kPxYlk8DOziw0.node10?bbsId=BBSMSTR_000000000008&nttId=106346 (accessed on 14 March 2025).
- Statistics Bureau of Japan. Current Population Estimates as of October 1, 2023. Available online: https://www.stat.go.jp/english/data/jinsui/2023np/index.html (accessed on 4 May 2025).
- TheGlobalEconomy.com. Hong Kong Population Ages 65 and Above. Available online: https://www.theglobaleconomy.com/Hong-Kong/elderly_population/ (accessed on 4 May 2025).
- Zhang, D.; Sit, R.; Wong, C.; Zou, D.; Mercer, S.; Johnston, M.; Wong, S. Cohort profile: The prospective study on Chinese elderly with multimorbidity in primary care in Hong Kong. BMJ Open 2020, 10, e027279. [Google Scholar] [CrossRef]
- Bustamante, E.E.; Brellenthin, A.G.; Brown, D.R.; O’Connor, P.J. Up for Debate: Does Regular Physical Activity Really Improve Mental Health? Med. Sci. Sports Exerc. 2025, 57, 1056–1066. [Google Scholar] [CrossRef]
- Liu, C.; Liang, X.; Yang, Y.; Liu, Y.; Arbour-Nicitopoulos, K.P.; Sit, C.H.P. Mechanisms linking physical activity with mental health in children and adolescents with neurodevelopmental disorders: A systematic review. Am. J. Prev. Med. 2024, 67, 592–605. [Google Scholar] [CrossRef]
- White, R.L.; Vella, S.A.; Biddle, S.; Sutcliffe, J.T.; Guagliano, J.M.; Uddin, R.; Burgin, A.; Apostolopoulos, M.; Nguyen, T.; Young, C.; et al. Physical activity and mental health: A systematic review and best-evidence synthesis of mediation and moderation studies. Int. J. Behav. Nutr. Phys. Act. 2024, 21, 134. [Google Scholar] [CrossRef]
- Schuch, F.B.; Vancampfort, D.; Rosenbaum, S.; Richards, J.; Ward, P.B.; Stubbs, B. Exercise for depression in older adults: A meta-analysis of randomized controlled trials. Am. J. Geriatr. Psychiatry 2016, 24, 445–454. [Google Scholar] [CrossRef]
- Zheng, G.; Chen, C.; Liu, S.; Zhang, R.; Huang, Z.; Liu, Y.; Li, H.; Chen, Y.; Li, Y. Effects of exercise on depression in the elderly: A meta-analysis of randomized controlled trials. Int. J. Geriatr. Psychiatry 2020, 35, 1255–1264. [Google Scholar] [CrossRef]
- Gallo, E.; Pieri, M.; Daniele, A.; Gatti, A.; Masullo, L.; Sgadari, A. Physical activity and exercise in relation to mental health outcomes in older people: An umbrella review. J. Affect. Disord. 2023, 339, 169–178. [Google Scholar] [CrossRef]
- Fornaguera, M.; Dowda, M.; Pate, R.R.R. Dose-response associations between physical activity and mental health among USA adolescents. Eur. J. Public Health 2024, 34 (Suppl. S3), ckae144.2209. [Google Scholar] [CrossRef]
- Yang, D.; Yang, M.-C.; Bai, J.; Ma, Y.; Yu, C. Association between physical activity intensity and the risk for depression among adults from the National Health and Nutrition Examination Survey 2007–2018. Front. Aging Neurosci. 2022, 14, 844414. [Google Scholar] [CrossRef]
- Singh, M.A.F.; Stavrinos, T.M.; Scarbek, Y.; Galambos, G.; Liber, C.; Fiatarone Singh, M.A. A randomized controlled trial of high versus low intensity weight training versus general practitioner care for clinical 3 depression in older adults. J. Gerontol. Ser. A Biol. Sci. Med. Sci. 2005, 60, 768–776. [Google Scholar] [CrossRef]
- Zhang, Z.; Chen, W. A Systematic Review of the Dose-Response Relationship Between Physical Activity and Mental Health. Int. J. Environ. Res. Public Health 2019, 16, 2775. [Google Scholar] [CrossRef]
- Wang, C.; Tian, Z.; Luo, Q. The impact of exercise on mental health during the COVID-19 pandemic: A systematic review and meta-analysis. Front. Public Health 2023, 11, 1131437. [Google Scholar] [CrossRef]
- Wu, W.W.; Liu, T.; Wang, L.Q.; Wang, Z.J. Effects of Tai Chi Chuan on mental health of the elderly in China: A systematic review. Int. J. Nurs. Sci. 2015, 2, 197–202. [Google Scholar] [CrossRef]
- Zou, L.; Wang, C.; Chen, K.; Liu, Y.; Zou, Y.; Zhang, M.; Cao, C.; Yan, C. The Effect of Mind-Body Exercise on Cognitive Function in Older Adults: A Systematic Review and Meta-Analysis. J. Am. Med. Dir. Assoc. 2018, 19, 957–967. [Google Scholar] [CrossRef]
- Faulkner, G.; Duncan, M.J. Physical Activity and Mental Health; Routledge Handbooks Online: Oxfordshire, UK, 2017; pp. 171–185. [Google Scholar] [CrossRef]
- Li, Q.; Dong, S.; Liu, X.; Xu, M.; Song, Y. Patterns of sedentary behaviors in older adults in Chinese care homes: A latent profile analysis. Innov. Aging 2024, 8 (Suppl. S1), 78. [Google Scholar] [CrossRef]
- Wingood, M.; Bouldin, E.D.; Gell, N. Sedentary behaviors and cognition: Does the type of behavior matter? Innov. Aging 2023, 7, 969–970. [Google Scholar] [CrossRef]
- Yueh, K.Y. Leisure activity participation among older adults: A review. Leis. Stud. 2024, 1–20. [Google Scholar] [CrossRef]
- Feng, M.Y.; Bi, Y.; Wang, H.X.; Pei, J.J. Influence of chronic diseases on the occurrence of depression: A 13-year follow-up study from the Survey of Health, Ageing and Retirement in Europe. Psychiatry Res. Neuroimaging 2023, 326, 115268. [Google Scholar] [CrossRef]
- Melchior, M.; Chastang, J.F.; Head, J.; Goldberg, M.; Zins, M.; Nabi, H.; Younès, N. Socioeconomic position predicts long-term depression trajectory: A 13-year follow-up of the GAZEL cohort study. Mol. Psychiatry 2013, 18, 112–121. [Google Scholar] [CrossRef]
- Kim, Y.J.; Lee, S.A. The relationship of lifestyle factors with the prevalence of major depressive disorder by ecological factors. Psychiatry Investig. 2021, 18, 340–347. [Google Scholar] [CrossRef]
- Soldevila-Domenech, N.; Forero, C.G.; Alayo, I.; Capella, J.; Colom, J.; Malmusi, D.; Mompart, A.; Mortier, P.; Puértolas, B.; Sánchez, N.; et al. Mental well-being of the general population: Direct and indirect effects of socioeconomic, relational and health factors. Qual. Life Res. 2021, 30, 2171–2185. [Google Scholar] [CrossRef]
- Lim, J.H. Regional differences of mental health status and associated factors: Based on the community health survey. Osong Public Health Res. Perspect. 2018, 9, 175–184. [Google Scholar] [CrossRef]
- Tiwari, S.; Cerin, E.; Wilsgaard, T.; Løvsletten, O.; Grimsgaard, S.; Hopstock, L.A.; Schirmer, H.; Rosengren, A.; Kristoffersen, K.; Løchen, M.L. Lifestyle factors as mediators of area-level socioeconomic differentials in mental health and cognitive function: The Tromsø Study. J. Epidemiol. Community Health 2024, 78, 88–97. [Google Scholar] [CrossRef]
- Rukavishnikov, G.V.; Rakitko, A.; Kasyanov, E.D.; Ilinsky, V.V.; Malyshko, L.V.; Neznanov, N.G.; Kibitov, A.O.; Mazo, G.E. Association of depression and anxiety with somatic diseases: Negative lifestyle factors impact. S.S. Korsakov J. Neurol. Psychiatry 2023, 123, 74–80. [Google Scholar] [CrossRef]
- Rindler, G.A.; Gries, A.; Freidl, W. Associations between Overweight, Obesity, and Mental Health: A Retrospective Study among European Adults Aged 50+. Frontiers in Public Health 2023. [Google Scholar] [CrossRef]
- Huang, Y.; Loux, T.; Huang, X.; Feng, X. The relationship between chronic diseases and mental health: A cross-sectional study. Ment. Health Prev. 2023, 32, 200307. [Google Scholar] [CrossRef]
- Piane, G.M.; Smith, T.C. Building an evidence base for the co-occurrence of chronic disease and psychiatric distress and impairment. Prev. Chronic Dis. 2014, 11, 140211. [Google Scholar] [CrossRef]
- Liutsko, L.; Leonov, S.; Pashenko, A.; Пoликанoва, И. Frequency of Practicing of Different Types of Physical Activity, BMI and Tobacco/Alcohol Consumption Relationship: How They Are Associated with Our Physical and Mental Health in Different Ages, in Men and Women? Preprints 2023, 2023071773. [Google Scholar] [CrossRef]
- Linardakis, M.; Papadaki, A.; Smpokos, E.; Micheli, K.; Vozikaki, M.; Philalithis, A. Association of Behavioral Risk Factors for Chronic Diseases With Physical and Mental Health in European Adults Aged 50 Years or Older, 2004–2005. Prev. Chronic Dis. 2015, 12, 150134. [Google Scholar] [CrossRef]
- Zhong, Q.; Tian, D. Mechanistic study of the effects of perceived community environment, high-intensity physical activity and public depressive status. Humanit. Soc. Sci. Commun 2024, 11, 1650. [Google Scholar] [CrossRef]
- Fabiano, N.; Gupta, A.; Wong, S.; Tran, J.; Mohammad, I.Y.; Bal, S.; Fiedorowicz, J.G.; Firth, J.; Stubbs, B.; Vancampfort, D.; et al. Physical Activity, Suicidal Ideation, Suicide Attempt and Death Among Individuals with Mental or Other Medical Disorders: A Systematic Review of Observational Studies. Neurosci. Biobehav. Rev 2024, 158, 105547. [Google Scholar] [CrossRef]
- Smail, E.; Kaufmann, C.N.; King, A.C.; Espeland, M.A.; Anton, S.D.; Manini, T.M. Effects of a physical activity intervention on perceived stress, fatigue, and depressive symptoms in older adults: A secondary analysis of the LIFE Study. J. Gerontol. Ser. A 2025, 80, glae290. [Google Scholar] [CrossRef]
- Künzel, S.R.; Sekhon, J.S.; Bickel, P.J.; Yu, B. Metalearners for estimating heterogeneous treatment effects using machine learning. Proc. Natl. Acad. Sci. USA 2019, 116, 4156–4165. [Google Scholar] [CrossRef]
- Cristi-Montero, C.; Hernández-Jaña, S.; Zavala-Crichton, J.P.; Tremblay, M.S.; Ortega, F.B.; Feter, N.; Mota, J.; Aguilar-Farias, N.; Ferrari, G.; Sadarangani, K.P.; et al. Mentally active but not inactive sedentary behaviors are positively related to adolescents’ cognitive-academic achievements, a cross-sectional study—The cogni-action project. Ment. Health Phys. Act. 2023, 25, 100561. [Google Scholar] [CrossRef]
- Skelton, D.A.; Harvey, J.A.; Leask, C.F.; Scott, J. Sedentary Behaviour and Ageing. In Sedentary Behaviour Epidemiology; Springer International Publishing: Cham, Switzerland, 2023; pp. 397–425. [Google Scholar] [CrossRef]
- Smith, B.I.; Chimedza, C.; Bührmann, J.H. Treatment Effect Performance of the X-Learner in the Presence of Confounding and Non-Linearity. Math. Comput. Appl. 2023, 28, 32. [Google Scholar] [CrossRef]
Features | Description |
---|---|
Sex [24,25] | 0: male (3141, 44.45%) 1: female (3925, 55.55%) |
Age [22,23] | Age (Mean = 69.65, S.D. = 6.43) |
Education [27] | Education level 1: Elementary school or less (3403, 48.16%) 2: Middle school graduate (1541, 21.81%) 3: High school graduate (1215, 17.20%) 4: College degree or higher (907, 12.84%) |
Income [27] | Income Quartile 1: Lower (1687, 23.87%) 2: Lower-middle (1752, 24.79%) 3: Upper-middle (1816, 25.70%) 4: Upper (1811, 25.63%) |
Household Income [27] | Household income Qaurtile 1: Lower (2603, 36.84%) 2: Lower-middle (2069, 29.28%) 3: Upper-middle (1404, 19.87%) 4: Upper (990, 14.01%) |
Occupation [27] | Occupation 1: Managers, professionals, and related workers (235, 3.33%) 2: Office workers (152, 2.15%) 3: Service and sales workers (535, 7.57%) 4: Skilled agricultural, forestry, and fishery workers (621, 8.79%) 5: Skilled manual and machine operators (481, 6.81%) 6: Unskilled laborers (1010, 14.29%) 7: Not in employment, including homemakers and students (4032, 57.06%) |
BMI [28] | Body Mass index (Mean = 24.22, S.D. = 3.2) |
Obesity Status [28] | Obesity Status 1: Underweight (182, 2.58%) 2: Normal Weight (2745, 38.85%) 3: Overweight (2060, 29.15%) 4: Mild obesity (1831, 25.91%) 5. Moderate obesity (220, 3.11%) 6. Severe obesity (28, 0.4%) |
Health Perception [30,31] | Health Perception 0: not healthy (1854, 26.11%) 1: healthy (5221, 73.89%) |
Hypertension [30,31] | 0: No (3458, 48.94%) 1: Yes (3608, 48.94%) |
Dyslipidemia [30,31] | 0: No (4536, 64.19%) 1: Yes (2530, 35.81%) |
Diabetes [30,31] | 0: No (5656, 80.05%) 1: Yes (1410, 19.95%) |
Alcohol Habits [32] | How often do you drink alcohol? 1: Have not consumed alcohol in the past year (3199, 45.27%) 2: Less than once a month (1114, 15.77%) 3: About once a month (543, 7.68%) 4: 2–4 times a month (934, 13.22%) 5: 2–3 times a week (728, 10.30%) 6: 4 or more times a week (548, 7.76%) |
Variable | Description |
---|---|
Depression | Depressed Mood 0: No (6075, 85.98%) 1: Yes (991, 14.02%) |
Suicidal Ideation | Suicidal ideation 0: No (6636, 93.91%) 1: Yes (430, 6.09%) |
Stress | Feeling stress 0: No (5741, 81.25%) 1: Yes (1325, 18.75%) |
Variable | Description |
---|---|
High-intensity PA | Vigorous physical activity 0: No (6854, 97%) 1: Yes (212, 3%) |
Moderate PA | Moderate physical activity 0: No (6025, 85.27%) 1: Yes (1041, 14.73%) |
Sedentary Hours | Sedentary hours less than 4 h (1398, 19.8%) 6 h (2706, 38.3%) 8 h (3078, 43.6%) 10 h (5318, 75.3%) 12 h (6083, 86.1%) |
Model | Accuracy | AUC | F1-Score |
---|---|---|---|
Logistic Regression | 0.864 | 0.679 | 0.801 |
Naive Bayes | 0.833 | 0.678 | 0.825 |
Random Forest | 0.855 | 0.648 | 0.806 |
SVM | 0.864 | 0.589 | 0.801 |
XGBoost | 0.849 | 0.646 | 0.813 |
LightGBM | 0.852 | 0.646 | 0.804 |
DNN (Dense) | 0.858 | 0.649 | 0.824 |
CNN (1D) | 0.864 | 0.614 | 0.801 |
Features | Depression | Suicide Ideation | Heavy Stress |
---|---|---|---|
sex | 0.0237 | 0.0046 | 0.0316 |
age | 0.0118 | 0.0056 | 0.0136 |
education | 0.0171 | 0.0104 | 0.0182 |
income | 0.0111 | 0.0048 | 0.0071 |
household income | 0.0151 | 0.0076 | 0.0094 |
occupation | 0.0102 | 0.0072 | 0.0220 |
BMI | 0.0069 | 0.0041 | 0.0059 |
obesity status | 0.0057 | 0.0028 | 0.0116 |
health perception | 0.0389 | 0.0239 | 0.0645 |
hypertension | 0.0045 | 0.0041 | 0.0100 |
dyslipidemia | 0.0103 | 0.0047 | 0.0099 |
diabetes | 0.0084 | 0.0027 | 0.0061 |
alcohol habits | 0.0058 | 0.0054 | 0.0102 |
Mental Health Indicators | ATE | Lower Bound (95% CI) | Upper Bound (95% CI) | p-Value | Significant |
---|---|---|---|---|---|
Depression | 0.246 | 0.242 | 0.249 | 0.001 | True |
Suicidal Ideation | 0.203 | 0.202 | 0.205 | 0.001 | True |
Heavy Stress | 0.172 | 0.170 | 0.175 | 0.001 | True |
Mental Health Indicators | ATE | Lower Bound (95% CI) | Upper Bound (95% CI) | p-Value | Significant |
---|---|---|---|---|---|
Depression | 0.037 | 0.031 | 0.044 | 0.001 | True |
Suicidal Ideation | 0.012 | 0.010 | 0.014 | 0.001 | True |
Heavy Stress | 0.042 | 0.036 | 0.049 | 0.001 | True |
Mental Health Indicators | Sedentary Hours | ATE | Lower Bound (95% CI) | Upper Bound (95% CI) | p-Value | Significant |
---|---|---|---|---|---|---|
Depression | 4 h | 0.040 | 0.034 | 0.045 | 0.001 | TRUE |
6 h | 0.002 | 0.001 | 0.002 | 0.001 | TRUE | |
8 h | 0.002 | 0.001 | 0.003 | 0.007 | TRUE | |
10 h | 0.059 | 0.051 | 0.068 | 0.001 | TRUE | |
12 h | 0.094 | 0.087 | 0.101 | 0.001 | TRUE | |
Suicidal Ideation | 4 h | 0.012 | 0.010 | 0.014 | 0.001 | TRUE |
6 h | 0.001 | 0.000 | 0.001 | 0.027 | TRUE | |
8 h | 0.002 | 0.000 | 0.003 | 0.009 | TRUE | |
10 h | 0.071 | 0.061 | 0.080 | 0.001 | TRUE | |
12 h | 0.058 | 0.053 | 0.062 | 0.001 | TRUE | |
Heavy Stress | 4 h | 0.048 | 0.042 | 0.053 | 0.001 | TRUE |
6 h | 0.006 | 0.004 | 0.007 | 0.001 | TRUE | |
8 h | 0.007 | 0.004 | 0.010 | 0.001 | TRUE | |
10 h | 0.085 | 0.074 | 0.095 | 0.001 | TRUE | |
12 h | 0.076 | 0.070 | 0.082 | 0.001 | TRUE |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Kim, S.; Oh, T. Employing the X-Learner Algorithm to Evaluate the Intervention Effects of Physical Activity on Determinants of Elderly Mental Health. Healthcare 2025, 13, 1319. https://doi.org/10.3390/healthcare13111319
Kim S, Oh T. Employing the X-Learner Algorithm to Evaluate the Intervention Effects of Physical Activity on Determinants of Elderly Mental Health. Healthcare. 2025; 13(11):1319. https://doi.org/10.3390/healthcare13111319
Chicago/Turabian StyleKim, Seungmo, and Taeyeon Oh. 2025. "Employing the X-Learner Algorithm to Evaluate the Intervention Effects of Physical Activity on Determinants of Elderly Mental Health" Healthcare 13, no. 11: 1319. https://doi.org/10.3390/healthcare13111319
APA StyleKim, S., & Oh, T. (2025). Employing the X-Learner Algorithm to Evaluate the Intervention Effects of Physical Activity on Determinants of Elderly Mental Health. Healthcare, 13(11), 1319. https://doi.org/10.3390/healthcare13111319