Patients with infectious diseases are often at increased risk of anxiety during treatment. The prevalence of anxiety and depression in infected people increased significantly during the COVID-19 pandemic, and the risk factors for these mental health problems need to be urgently investigated. In this study, a cross-sectional study was conducted in Shanghai in 2022, which included 1283 patients and systematically assessed their sociodemographic characteristics and mental health status. A random forest classifier combined with the Boruta algorithm was used to screen predictors, and a nomogram was constructed based on the screening results. The results of the study showed that entrapment (OR 1.07, 95% CI 1.05-1.09, P < 0.001), defeat (OR 1.04, 95% CI 1.01-1.07, P < 0.01) and stigma (OR 1.05, 95% CI 1.03-1.06, P < 0.001) were positively associated with anxiety, whereas social support (OR 0.97, 95% CI 0.96-0.98, P < 0.001) was negatively associated with anxiety. The C-index of the model was 0.858, the area under the ROC curve (AUC) was 0.861 (95% CI 0.834-0.888), and the P value of the Hosmer-Lemeshow test was 0.07, indicating that the model fit well. Based on the Random Forest machine learning method, this study successfully constructed a prediction model for anxiety risk in COVID-19 patients, screening out key risk factors such as feeling trapped, frustration, stigma and social support, providing a scientific basis for clinical practice and public health, and helping to promote personalized interventions for anxiety and the building of a mental health support system.
基金:
Shanghai Three-Year Action Plan for Public Health under Grant [GWVI-11.1-29]; Science and Technology Commission Shanghai Municipality [20JC1410204]
第一作者机构:[1]Shanghai Jiao Tong Univ, Tongren Hosp, Publ Hlth Res Ctr, Sch Med, 1111 Xianxia Rd, Shanghai 200336, Peoples R China[2]Shanghai Jiao Tong Univ, China Hosp Dev Inst, Ctr Community Hlth Care, 227 South Chongqing Rd, Shanghai 200025, Peoples R China[4]Shanghai Jiao Tong Univ, Sch Publ Hlth, Sch Med, 227 South Chongqing Rd, Shanghai 200025, Peoples R China
共同第一作者:
通讯作者:
通讯机构:[1]Shanghai Jiao Tong Univ, Tongren Hosp, Publ Hlth Res Ctr, Sch Med, 1111 Xianxia Rd, Shanghai 200336, Peoples R China[2]Shanghai Jiao Tong Univ, China Hosp Dev Inst, Ctr Community Hlth Care, 227 South Chongqing Rd, Shanghai 200025, Peoples R China[4]Shanghai Jiao Tong Univ, Sch Publ Hlth, Sch Med, 227 South Chongqing Rd, Shanghai 200025, Peoples R China
推荐引用方式(GB/T 7714):
Chang Ruijie,Li Chenrui,Shi Dake,et al.Predicting factors associated with anxiety by patients undergoing treatment for infectious diseases using a random-forest machine learning approach[J].SCIENTIFIC REPORTS.2025,15(1):doi:10.1038/s41598-025-09470-5.
APA:
Chang, Ruijie,Li, Chenrui,Shi, Dake,Hu, Fan,Cai, Yong...&Shen, Tian.(2025).Predicting factors associated with anxiety by patients undergoing treatment for infectious diseases using a random-forest machine learning approach.SCIENTIFIC REPORTS,15,(1)
MLA:
Chang, Ruijie,et al."Predicting factors associated with anxiety by patients undergoing treatment for infectious diseases using a random-forest machine learning approach".SCIENTIFIC REPORTS 15..1(2025)