Exploring the Association of Fear, Mental Health, and Lifestyle with Insomnia: A Machine Learning Approach among University Students
Open Access
- 1 September 2026
- journal article
- Published by Georg Thieme Verlag KG in Sleep Science
- Vol. 19 (03) , 001-009
Abstract
The aim of this study was to identify key predictors of insomnia among university students, focusing on psychological, behavioral, and lifestyle factors. The study also aimed to explore the role of machine learning in identifying insomnia-related patterns and informing personalized intervention strategies. A cross-sectional study was conducted with 576 students from universities in Birjand during the 2023–2024 academic year. Machine learning methods, including Random Forest, Decision Tree, and SHAP analysis, were used for feature importance analysis and knowledge extraction. Self-reported questionnaires revealed that fear of not falling asleep particularly in the late hours and stress were the most significant predictors of insomnia. Anxiety, poor sleep hygiene, and depression were also strongly associated with insomnia. Other associated factors included financial and family concerns, bedtime, wake-up time, sleep duration, and social media usage. Machine learning models further highlighted these factors, with those showing poor sleep hygiene and high anxiety levels being more likely to experience insomnia. The findings underscore the complex relationship between mental health issues and sleep disorders, particularly insomnia, in university students. The results also suggest a bidirectional relationship between insomnia, anxiety, depression, and stress. The use of machine learning showed potential for identifying insomnia-related patterns and informing personalized intervention strategies. These results highlight the need for effective strategies to address insomnia in students, particularly in light of the growing stressors faced in academic and personal life. However, due to the cross-sectional design, causal inferences cannot be drawn.Keywords
This publication has 25 references indexed in Scilit:
- The association between sleep duration, bedtime, and cognitive ability in Chinese adults: Evidence from the China family panel studiesHeliyon, 2024
- Associations between fears related to safety during sleep and self-reported sleep in men and women living in a low-socioeconomic status settingScientific Reports, 2024
- Epidemiology of InsomniaSleep Medicine Clinics, 2022
- Stress of life events and anxiety as mediators of the association between insomnia and triglycerides in college studentsJournal of American College Health, 2020
- The role of financial strain in college students’ work hours, sleep, and mental healthJournal of American College Health, 2020
- Insomnia, sleep duration and academic performance: a national survey of Norwegian college and university studentsSleep Medicine: X, 2019
- Literature review on Insomnia (2010–2016)Biological Rhythm Research, 2018
- A systematic review of studies on the prevalence of Insomnia in university studentsPublic Health, 2015
- Associations Between Sleep Hygiene and Insomnia Severity in College Students: Cross-Sectional and Prospective AnalysesBehavior Therapy, 2014
- The Insomnia Severity Index: Psychometric Indicators to Detect Insomnia Cases and Evaluate Treatment ResponseSLEEP, 2011