Author
Abstract
Background/Objective: Adolescent mental health is a critical public health concern; however, the combined contribution of emotional, demographic, and behavioral factors to poor mental health remains incompletely understood. This study applied an interpretable machine learning framework to identify key predictors of elevated mental health risk among adolescents and characterize their relative and non-linear contributions. Methods: Data were drawn from the 2021 Youth Risk Behavior Survey (YRBS), comprising 16,946 U.S. high school students. Elevated mental health risk was defined using the YRBS current mental health item (Q85): reporting that mental health was not good most of the time or always during the past 30 days. The distinct 12-month sadness/hopelessness item (Q25) was retained as a predictor in the primary XGBoost model. The operating threshold was selected by maximizing the Youden index using five-fold out-of-fold predictions in the training set and was then locked before evaluation in the held-out test set. SHapley Additive exPlanations (SHAP) were used to assess feature importance and directional and non-linear patterns. Results: Overall, 28.0% of adolescents were classified as having elevated mental health risk, with higher prevalence among females (39.9% vs. 16.9%) and peak prevalence at ages 16–17. The primary XGBoost model achieved an AUC of 0.806 and PR-AUC of 0.603. At the training-derived threshold of 0.285, accuracy was 0.749, sensitivity 0.754, specificity 0.747, and balanced accuracy 0.750. SHAP analysis identified sadness/hopelessness as the dominant predictor, followed by sex, sleep duration, screen time, and breakfast frequency. In a sensitivity analysis excluding sadness/hopelessness, discrimination decreased (AUC 0.736; PR-AUC 0.510). Conclusion: The revised primary model achieved balanced sensitivity and specificity above 0.700 using a threshold selected entirely within the training data. Sadness/hopelessness was the strongest predictor, while demographic and behavioral factors provided additional predictive information. Because sadness/hopelessness is conceptually close to the current mental health outcome and the data are cross-sectional, the model should be interpreted as an auxiliary risk-stratification tool rather than a standalone clinical screening or diagnostic instrument.
Suggested Citation
Jinsheng He, 2026.
"Predicting mental health risk in adolescents using interpretable machine learning: Evidence from SHAP analysis,"
PLOS ONE, Public Library of Science, vol. 21(10), pages 1-18, October.
Handle:
RePEc:plo:pone00:0359233
DOI: 10.1371/journal.pone.0359233
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0359233. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.