DOI: 10.1155/da/4401725 ISSN: 1091-4269

Predicting Depressive Symptoms From Cross‐Sectional and Longitudinal Data Using XGBoost–SHAP and Cross‐Lagged Model

Jing Jie, Ming Yin, Jiayue Zeng, Songlin Yang

Objective

University students face significant academic, social, and career‐planning challenges. Under such stressors, deficient emotion regulation may increase vulnerability to depressive states, in which persistent symptoms could progress to clinical depression. This study investigates key risk and protective factors for depressive symptoms among university students, including negative life events, neuroticism, and social support. A longitudinal framework was further employed to assess changes in depressive symptoms before and after the COVID‐19 pandemic, with the goal of informing early identification and intervention strategies.

Methods

The dataset included 18 024 valid responses from baseline assessments. Follow‐up assessments conducted 1 year later included 6129 participants. The extreme gradient boosting (XGBoost) model with SHapley Additive exPlanations (SHAP) was used to quantify the relative importance of specific factors (e.g., negative life events and social support) on depressive symptoms, while a cross‐lagged panel model examined longitudinal directional associations between these factors and depressive symptoms.

Results

The prevalence of depressive symptoms was 15.2% among the student sample. Significant correlations were observed between symptom severity and adverse family relationships, childhood trauma, prior suicide attempts, and psychiatric history. Neuroticism and negative life events showed significant positive associations with depressive symptoms, while subjective support and support utilization demonstrated negative associations with symptom severity. Longitudinal analysis revealed an increase in both symptom severity and depression detection rates following the COVID‐19 pandemic. The cross‐lagged panel model identified neuroticism as a significant positive longitudinal predictor of depressive symptoms, whereas subjective support showed a significant negative longitudinal association with subsequent depressive symptoms.

Conclusion

This study identifies neuroticism as an important longitudinal risk indicator for depressive symptoms and subjective support as a protective indicator, while negative life events showed significant cross‐sectional associations with symptom severity. The findings demonstrate how integrating longitudinal designs with interpretable machine learning elucidates complex mental health dynamics in student populations, providing an evidence‐based framework for targeted interventions within campus mental health policies.

More from our Archive