Farhad Lotfi, Amin Lotfi, Matin Lotfi, Artur Bjelica, Zorica Bogdanović
{"title":"Enhancing smart healthcare with female students' stress and anxiety detection using machine learning.","authors":"Farhad Lotfi, Amin Lotfi, Matin Lotfi, Artur Bjelica, Zorica Bogdanović","doi":"10.1080/13548506.2025.2484698","DOIUrl":null,"url":null,"abstract":"<p><p>Machine learning (ML) is widely used to predict and detect stress and anxiety. Early detection of stress or anxiety is crucial for clinical pathways to enhance the supportive environment in society, particularly among female students. This study aims to assess and improve the accuracy of detecting stress and anxiety among female students using machine learning algorithms and functions. Three primary features are cigarette smoking, physical activity and grade point average (GPA). The multiple linear regression analysis conducted on 160 datasets obtained from the State-Trait Anxiety Inventory (STAI) at the University of Belgrade was selected. A heat map was utilised to identify the least engaging areas of the model along with most state anxiety factors. Additionally, R-squared (R<sup>2</sup>), mean absolute error (MAE), mean squared error (MSE) and root mean squared error (RMSE) were employed to assess the errors of the linear regression model for both pre-intervention and post-intervention, focusing on key features related to female students' anxiety. Using the K-Means algorithm, cluster analysis was executed on samples (<i>N</i> = 160) with three key features. The total average anxiety score was 44.39% (out of 80%) and is considered moderate. The heat map indicated a strong relationship between the variables. Overall, the post-intervention stage yielded acceptable results compared to the pre-intervention stage. Two clusters of anxiety among female students were identified, demonstrating that these features can accurately detect anxiety in female students. This research aims to analyse female students' stress and anxiety better using the linear regression algorithm. Additionally, ML functions demonstrated that smoking cigarettes, physical activity and GPA related to the stress and anxiety of female students have reduced errors during anxiety detection.</p>","PeriodicalId":54535,"journal":{"name":"Psychology Health & Medicine","volume":" ","pages":"1-20"},"PeriodicalIF":2.3000,"publicationDate":"2025-03-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Psychology Health & Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1080/13548506.2025.2484698","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"PUBLIC, ENVIRONMENTAL & OCCUPATIONAL HEALTH","Score":null,"Total":0}
引用次数: 0
Abstract
Machine learning (ML) is widely used to predict and detect stress and anxiety. Early detection of stress or anxiety is crucial for clinical pathways to enhance the supportive environment in society, particularly among female students. This study aims to assess and improve the accuracy of detecting stress and anxiety among female students using machine learning algorithms and functions. Three primary features are cigarette smoking, physical activity and grade point average (GPA). The multiple linear regression analysis conducted on 160 datasets obtained from the State-Trait Anxiety Inventory (STAI) at the University of Belgrade was selected. A heat map was utilised to identify the least engaging areas of the model along with most state anxiety factors. Additionally, R-squared (R2), mean absolute error (MAE), mean squared error (MSE) and root mean squared error (RMSE) were employed to assess the errors of the linear regression model for both pre-intervention and post-intervention, focusing on key features related to female students' anxiety. Using the K-Means algorithm, cluster analysis was executed on samples (N = 160) with three key features. The total average anxiety score was 44.39% (out of 80%) and is considered moderate. The heat map indicated a strong relationship between the variables. Overall, the post-intervention stage yielded acceptable results compared to the pre-intervention stage. Two clusters of anxiety among female students were identified, demonstrating that these features can accurately detect anxiety in female students. This research aims to analyse female students' stress and anxiety better using the linear regression algorithm. Additionally, ML functions demonstrated that smoking cigarettes, physical activity and GPA related to the stress and anxiety of female students have reduced errors during anxiety detection.
期刊介绍:
Psychology, Health & Medicine is a multidisciplinary journal highlighting human factors in health. The journal provides a peer reviewed forum to report on issues of psychology and health in practice. This key publication reaches an international audience, highlighting the variation and similarities within different settings and exploring multiple health and illness issues from theoretical, practical and management perspectives. It provides a critical forum to examine the wide range of applied health and illness issues and how they incorporate psychological knowledge, understanding, theory and intervention. The journal reflects the growing recognition of psychosocial issues as they affect health planning, medical care, disease reaction, intervention, quality of life, adjustment adaptation and management.
For many years theoretical research was very distant from applied understanding. The emerging movement in health psychology, changes in medical care provision and training, and consumer awareness of health issues all contribute to a growing need for applied research. This journal focuses on practical applications of theory, research and experience and provides a bridge between academic knowledge, illness experience, wellbeing and health care practice.