Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR Public Health and Surveillance

Date Submitted: Feb 12, 2025
Date Accepted: Aug 28, 2025

The final, peer-reviewed published version of this preprint can be found here:

Severity Classification of Anxiety and Depression Using Generalized Anxiety Disorder Scale and Patient Health Questionnaire: National Cross-Sectional Study Applying Classification and Regression Tree Models

Faro A, Tejada J, Al-Delaimy WK

Severity Classification of Anxiety and Depression Using Generalized Anxiety Disorder Scale and Patient Health Questionnaire: National Cross-Sectional Study Applying Classification and Regression Tree Models

JMIR Public Health Surveill 2025;11:e72591

DOI: 10.2196/72591

PMID: 41027019

PMCID: 12483340

Severity Classification of Anxiety and Depression Using GAD-7 and PHQ-9: A National Cross-sectional Study Applying CART Models

  • Andre Faro; 
  • Julian Tejada; 
  • Wael K. Al-Delaimy

ABSTRACT

Background:

Scalable, cost-effective tools are essential for mental health screening. Machine learning offers innovative ways to enhance accuracy and optimize existing instruments for assessing anxiety and depression severity.

Objective:

This study applied decision tree models to refine mental health screening by identifying the most predictive components of anxiety and depression severity in Brazil.

Methods:

Data from 20,585 adults across all 27 Brazilian states and 3,000+ cities, covering urban and rural areas, were analyzed. Mental health symptoms were assessed using the GAD-7 and PHQ-9 scales. Decision trees, built using the CART algorithm, identified the most predictive items. Sociodemographic variables were also tested as predictors.

Results:

The models derived concise decision rules using two (GAD-7) or three (PHQ-9) items, achieving high accuracy for Minimum/Mild and Severe severity levels (86.1%/85.1% for GAD-7, 81.7%/78.8% for PHQ-9) with AUC > 0.900. Moderate severity had lower reliability (51.5% GAD-7; 66.8% PHQ-9; AUC = 0.728/0.776). Sociodemographic factors had minimal predictive value. Findings suggest a balance between efficiency and precision.c

Conclusions:

Machine learning facilitates streamlined mental health screening by optimizing severity classification, improving scalability while maintaining reliability. These results reinforce the potential of decision-tree models to enhance screening efficiency in public health applications.


 Citation

Please cite as:

Faro A, Tejada J, Al-Delaimy WK

Severity Classification of Anxiety and Depression Using Generalized Anxiety Disorder Scale and Patient Health Questionnaire: National Cross-Sectional Study Applying Classification and Regression Tree Models

JMIR Public Health Surveill 2025;11:e72591

DOI: 10.2196/72591

PMID: 41027019

PMCID: 12483340

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.