Skip to main navigation Skip to search Skip to main content

Depression, anxiety, and stress among Indonesians during COVID-19 pandemic: Multiclass prediction machine learning approach

  • A’yunin Sofro*
  • , Khusnia Nurul Khikmah
  • , Asri Maharani
  • *Corresponding author for this work

Research output: Contribution to journal › Article › peer-review

Abstract

The COVID-19 pandemic in Indonesia has recorded an increase in stress levels of around 75% in 2021. This problem shows the importance of further testing to classify a person’s condition based on the level of depression, anxiety, and stress (DAS). A good classification requires the latest methods in its approach. Therefore, this study aims to compare suitable machine learning approaches to predict the level of DAS. This research presents nine machine-learning approaches to classify a person’s category based on the dimensions of DAS. Logistic regression, support vector classification (SVC), k-nearest neighbors, gaussian naïve Bayesian, random forest, stochastic gradient descent, linear SVC, gradient boosting, and decision tree were applied to primary data from a survey of 344 people who completed the depression, anxiety, and stress questionnaire. This study found that the two best approaches, based on the performance of the cross-validation mean scores metric, were logistic regression and support vector classification. Both methods provided an accuracy value of >85% in the classification of each dimension. In addition, other explanations were found from a health perspective. The findings in this study can be used as reference material for dealing with stress during a pandemic or post-pandemic to achieve normal conditions.

Original languageEnglish
JournalCommunications in Statistics Case Studies Data Analysis and Applications
DOIs
Publication statusAccepted/In press - 2025
Externally publishedYes

Keywords

  • Anxiety
  • depression
  • Indonesia
  • machine learning
  • stress

Fingerprint

Dive into the research topics of 'Depression, anxiety, and stress among Indonesians during COVID-19 pandemic: Multiclass prediction machine learning approach'. Together they form a unique fingerprint.

Cite this