Hypertension is a common chronic disease that can trigger symptoms such as anxiety and depression. Therefore, it is essential to predict their risk of depression. The aim of this study is to find the best prediction model and provide effective intervention strategies for health professionals.
The study subjects were 2733 middle-aged and older adults who participated in the China Health and Retirement Longitudinal Study (CHARLS) between 2018 and 2020. R software was used for Lasso regression analysis to screen the best predictor variables, and logistic regression, random forest and XGBoost models were constructed. Finally, the prediction efficiency of the three models was compared.
In this study, 18 variables were included, and LASSO regression screened out 10 variables that were important for the establishment of the model. Among the three models, Logistic Regression model showed the best performance in various evaluation indicators.
The prediction model based on machine learning can accurately assess the likelihood of depression in middle-aged and elderly patients with hypertension in the next three years. And by combining Logistic regression and nomograms, we were able to provide a clear interpretation of personalized risk predictions.