Effects of lifestyle behaviours and depressed mood on sleep quality in young adults. A machine learning approach

Psychol Health. 2024 Jan-Feb;39(1):128-143. doi: 10.1080/08870446.2022.2067331. Epub 2022 Apr 27.

Abstract

Background: Modern lifestyles may lead to high stress levels, frequently associated with mood disorders (e.g. depressed mood) and sleep disturbance. The objective of this study was to develop a machine learning model aimed at identifying risk factors for developing poor sleep quality in young adults.

Material and methods: The sample consisted of 383 college-aged students (mean age ± SD: 21 ± 1 years; 61% males). Sleep quality, mood state, physical activity, number of sitting hours, and smartphone use were measured.

Results: A decision tree algorithm distinguished participants' sleep quality with 74% accuracy using a combination of four features: depressed mood, physical activity, sitting time, and vigour. Together with depressed mood, both physical activity (>6432 metabolic equivalent tasks -METs- per week) and sedentary behaviour (sitting time greater than 7 h/day) were the primary features that could differentiate those with poor sleep quality from those with good sleep quality.

Conclusions: We provided a decision tree model with a sensitivity of 90.7% and a specificity of 54.3%, with an AUC of 0.725. These findings could promote improvements in prevention strategies and contribute to the development of meaningful and evidence-based intervention programs.

Keywords: Physical activity; data mining; decision tree; sitting time; sleep.

MeSH terms

  • Exercise*
  • Female
  • Humans
  • Machine Learning
  • Male
  • Sedentary Behavior
  • Sleep
  • Sleep Quality*
  • Young Adult