Machine learning spots patterns linked to teen marijuana use

Identifying risk factors for marijuana use among male high school students using machine learning: Implications for public health.

Public health • • Highly Relevant
🤖

AI Summary

Researchers analyzed 8,285 male students in grades 9–12 from the 2023 Youth Risk Behavior Surveillance System to identify patterns associated with lifetime marijuana use. About 28.4% reported having used marijuana. Because this was a cross-sectional study, the findings identify associations and predictors rather than proving that any factor causes marijuana use.

An interpretable machine-learning model performed well, with an AUC of 0.9034. The strongest predictive factors included electronic vapor product use, cigarette smoking, alcohol consumption, frequent social media use, age, bullying and sexual violence exposure, lifetime cocaine use, academic achievement, and grade level. High academic achievement appeared protective. The results suggest that schools and communities could use combinations of behavioral, social, and academic indicators to focus early prevention efforts, while recognizing that prediction tools should support—not replace—individual assessment and student support.

💡 Key Findings

1
Among male high school students, 28.4% reported lifetime marijuana use in the analyzed survey data.
High
80%
2
An interpretable Logistic Regression model showed strong predictive performance, with an AUC of 0.9034, accuracy of 0.8582, and F1-score of 0.8928.
Good
70%
3
The most predictive factors included vaping, cigarette smoking, alcohol use, frequent social media use, exposure to bullying or sexual violence, lifetime cocaine use, age, and grade level.
Good
70%
4
High academic achievement was identified as a protective factor in the model.
Good
65%
5
The findings support targeted, early prevention in schools and communities, but the cross-sectional design cannot establish cause and effect.
High
90%

📄 Original Abstract

To identify risk and protective factors associated with lifetime marijuana use among male high school students through an interpretable machine learning model, providing evidence to support early and targeted public health interventions. Cross-sectional analysis of 2023 Youth Risk Behavior Surveillance System (YRBS) data for boys in grades 9-12 across the United States. The final analytical sample included 8285 boys after excluding missing outcomes. Thirty-six predictors spanning demographics, substance use behaviors, lifestyle, psychosocial stressors, mental health, and household environment were retained following optimization of missing data thresholds. Ensemble feature importance was determined using Logistic Regression, Linear Discriminant Analysis, and Extra Trees classifiers. Seventeen machine learning algorithms were benchmarked, with Logistic Regression selected for its combination of predictive performance and interpretability. Model performance was evaluated using accuracy, F1-score, specificity, and area under the receiver operating characteristic curve (AUC). Explainable AI methods, SHAP and LIME, provided global and individual-level feature interpretations. Lifetime marijuana use was reported by 28.4% of participants. The optimized Logistic Regression model achieved strong performance (AUC = 0.9034; Accuracy = 0.8582; F1 = 0.8928). The most predictive factors included electronic vapor product use, cigarette smoking, alcohol consumption, frequent social media use, age, bullying and sexual violence exposure, lifetime cocaine use, academic achievement, and grade level. High academic achievement was protective. SHAP and LIME analyses confirmed the robustness and interpretability of these predictors. The optimized model was also well calibrated (Brier score = 0.104; expected-to-observed ratio = 1.01). This study applies an interpretable machine learning approach, grounded in systematic algorithm benchmarking, that provides actionable insights to identify high school boys with patterns associated with marijuana use, supporting early, focused prevention in schools and communities.

Explore More Research

Stay informed about the latest cannabis science.

Your stash, decoded.