Machine Learning and Mediation Analysis Reveal Multiple Pathways of Severe Pain in Middle-Aged and Elderly People: Predictive Models and Mechanism Evidence From the CHARLS Database.
Shufen Cheng, Yunying Ding, Huadong Hong, Jingjing Ma
Department of Anesthesiology, Medical Center of Soochow University, The Fourth Affiliated Hospital of Soochow University (Suzhou Dushu Lake Hospital), Suzhou, China. · Department of Pharmacy, Medical Center of Soochow University, The Fourth Affiliated Hospital of Soochow University (Suzhou Dushu Lake Hospital), Suzhou, China.
Key points
From the paper's conclusion- This study identified predictors-gender, smoking, education, sleep, gastrointestinal disease, rheumatoid arthritis, and rheumatic/immunologic medication use-and developed an internally validated nomogram and online tool for risk stratification of severe pain in middle-aged and older adults. However, prospective external validation is required before clinical application. Mediation analysis indicated that education affects pain via medication use, while arthritis and gastrointestinal conditions act via sleep disruption, offering mechanistic insights for potential intervention strategies.
Abstract
BACKGROUND: This study systematically identified key risk factors for severe pain among middle-aged and elderly individuals using the China Health and Retirement Longitudinal Study (CHARLS) database, developed and validated a nomogram and online risk calculator, and explored mediating pathways. METHODS: Data from CHARLS 2011 (baseline) and 2015 (follow-up) were analyzed. Feature selection and model construction employed univariate analysis, LASSO regression, multivariate logistic regression, and SHAP analysis. An interactive web-based calculator was developed. Model performance was assessed via receiver operating characteristic curves, calibration curves, and decision curve analysis using internal and temporal validation. Mediation models examined pathways linking education and rheumatic/gastrointestinal diseases to pain via sleep duration and medication use. RESULTS: Among 10,521 participants, seven predictors were identified: gender, smoking, education, sleep duration, gastrointestinal disease, rheumatoid arthritis, and rheumatic/immunologic medication use. The model demonstrated acceptable discrimination (AUCs: 0.729-0.786) and calibration. An online calculator was deployed. Mediation analysis showed that education influenced pain partly through medication use (mediation proportion: 43.74%-47.74%), while arthritis and gastrointestinal disease partially acted via sleep duration (5.8%-9.38%). CONCLUSION: This study identified predictors-gender, smoking, education, sleep, gastrointestinal disease, rheumatoid arthritis, and rheumatic/immunologic medication use-and developed an internally validated nomogram and online tool for risk stratification of severe pain in middle-aged and older adults. However, prospective external validation is required before clinical application. Mediation analysis indicated that education affects pain via medication use, while arthritis and gastrointestinal conditions act via sleep disruption, offering mechanistic insights for potential intervention strategies.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Exploration of comorbidity mechanisms between chronic pain and depression: Machine learning prediction models and SHAP interpretability analysis based on the CHARLS cohortPLoS ONE · 2026
- Machine learning prediction model and influencing factors for low back pain in middle-aged and older adults based on CHARLS cohort data.European spine journal : official publication of the European Spine Society, the European Spinal Deformity Society, and the European Section of the Cervical Spine Research Society · 2026
- The Mediating Effect of Sleep Quality Between Pain and Life Satisfaction Among Chinese Older Adults: Evidence from CHARLS 2020.Journal of pain research · 2026
- Development and external validation of an interpretable machine learning model for predicting 4-year incident frailty in middle-aged and older adults with arthritis: A retrospective longitudinal study based on the CHARLS and KLoSA cohorts.The Journal of international medical research · 2026
- Pain as a predictor of incident frailty in middle-aged and older adults with metabolic dysfunction-associated steatotic liver disease: a prospective cohort study using machine learning and external validation.Frontiers in endocrinology · 2026
- Association between frailty and multisite chronic pain in middle-aged and older adults: A population-based cross-sectional study with mediation analysis.Medicine · 2026