[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-437713-en":3,"detail-sidebar-cat-0-en-105":51,"doc-seo-437713-105":100,"doc-similar-437713":164},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":28,"seo_description":14,"update_tm":29,"read_time":30,"preview_page_count":31,"preview_urls":32},437713,2336478951081,"Ben ","https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c",8,"Research & Report","Social anxiety prediction model for nursing students based on machine learning - a cross-sectional survey","Social anxiety prediction model for nursing students is developed using multiple machine learning algorithms to estimate individual risk and determine relevant factors. A cross-sectional survey sampled nursing students from 10 universities between September and December 2024, totaling 2024 participants. Logistic analysis selected nine acceptable features, and seven models were trained and evaluated, including logistic regression, elastic net, k-nearest neighbors, decision tree, XGBoost, support vector machine, and random forest. Results showed the random forest model achieved the highest AUC (0.71). Sleep condition, alexithymia, depression, education level, and religious belief emerged as key predictors.","TYPE Original Research PUBLISHED 12 December 2025 DOI 10.3389/fpsyt.2025.1721618  \nOPEN ACCESS  \nEDITED BY  \nYang Sun,  \nShenyang Normal University, China  \nREVIEWED BY  \nIkram E. Khuda,  \nIqra University, Pakistan Cheng Liu,  \nJiangsu Vocational Institute of Commerce, China  \n*CORRESPONDENCE  \nLiuliu Kong  \n [2646706150@qq.com](2646706150@qq.com)  \n†These authors share ﬁrst authorship  \nRECEIVED 09 October 2025  \nREVISED 11 November 2025  \nACCEPTED 21 November 2025  \nPUBLISHED 12 December 2025  \nCORRECTED 23 December 2025  \nCITATION  \nWang F, Xu P, Huang Y, Liu L, Kong L and Yang F (2025) Social anxiety prediction model for nursing students based on machine learning: a cross-sectional survey.  \nFront. Psychiatry 16:1721618 .  \ndoi: 10.3389/fpsyt.2025.1721618  \nCOPYRIGHT  \n© 2025 Wang, Xu, Huang, Liu, Kong and Yang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY) . The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.  \nSocial anxiety prediction model for nursing students based on machine learning: across-sectional survey  \nFang Wang 1†, Pingping Xu 2†, Yelin Huang 3, Li Liu 4, Liuliu Kong 5* and Fan Yang 4  \n1 Health Management College, Xianning Vocational and Technical College, Xianning, Hubei, China, 2 Endoscopy Center, Wuhan Children's Hospital, Tongji Medical College, Huazhong University of Science and Technology, Wuhan, Hubei, China, 3 Encephalopathy Department, Xian'an District Hospital of Traditional Chinese Medicine, Xianning, Hubei, China, 4 Nursing Department, Jinan Yinfei Hospital, Jinan, Shandong, China, 5Operating Room, Nanjing Gaochun People's Hospital, Nanjing, Jiangsu, China  \nBackground: The purpose of this study is to use a variety of machine learning (ML) algorithms to build a risk prediction model for nursing students’ social anxiety, select the optimal model, and identify risk factors.  \nMethods: The cross-sectional survey was conducted among nursing students at 10 universities from September to December 2024 . A total of 2024 nursing students were included in this study. Nine acceptable features were selected through Logistic analysis. We developed and evaluated seven ML models: Logistic regression (LR), Elastic net (EN), k-nearest neighbors (KNN), Decision tree (DT), Extreme gradient boosting (XGBoost), Support vector machine (SVM), Random forest (RF) .  \nResults: The area under the Area Under Curve (AUC: 0 .71) of the random forest model was the highest among the 7 models that predicted nursing students’social anxiety. The most important characteristics that predicted social anxiety in nursing students included Sleep condition, alexithymia, depression, education level, and religious belief.  \nConclusion: Our ﬁndings suggest that ML models, speciﬁcally random forests, can best predict the risk of social anxiety among nursing students.  \nKEYWORDS  \nnursing students, social anxiety, machine learning, prediction model, random forest  \nIntroduction  \nSocial anxiety disorder is the third most common disorder in the general population (1) .  \nEpidemiological studies have reported prevalence rates ranging between 7% and 13% in Western nations, while ﬁgures of approximately 10% and 11.7% have been documented in  \nFrontiers in Psychiatry 01 [frontiersin.org](frontiersin.org)  \nIndia and Saudi Arabia respectively (2) . Social anxiety is deﬁned asan irrational and excessive fear response elicited by interpersonal communication and social performance situations. This condition is characterized by intense affective manifestations (i.e., tension or distress) and is frequently accompanied by behavioral avoidance patterns in social contexts (3) . Nursing is recognized as a profes","cbCaioLGYm42GHMS","https://ap.wps.com/l/cbCaioLGYm42GHMS","pdf",1351673,12,1,13,"English","en",105,"# Background\n## Social anxiety and its clinical relevance\n## Nursing students and psychosocial consequences\n# Methods\n## Cross-sectional survey and participants\n## Feature selection and ML models\n# Results\n## Model performance using AUC\n## Key predictive characteristics\n# Conclusion\n## Best-performing model and risk prediction","[{\"question\":\"What was the study purpose for nursing students’ social anxiety?\",\"answer\":\"The study aimed to build a machine-learning risk prediction model for nursing students’ social anxiety, select the optimal model, and identify risk factors.\"},{\"question\":\"How was the dataset collected and how many participants were included?\",\"answer\":\"A cross-sectional survey was conducted among nursing students at 10 universities from September to December 2024, including 2024 students.\"},{\"question\":\"Which machine learning model performed best and what was its AUC?\",\"answer\":\"The random forest model achieved the highest predictive performance among the seven models, with an AUC of 0.71.\"}]","Social anxiety prediction model for nursing students based on machine learning - a cross-sectional survey | PDF",1790682951,33,4,[33,37,42,47],{"page_no":21,"url":34,"width":35,"height":36},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f477a6a4119cb8924da6ddd9dbf9002b.webp",983,1389,{"page_no":38,"url":39,"width":40,"height":41},2,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/73fa994f4786eb2f2b619eb14dd1ac16.webp",982,1388,{"page_no":43,"url":44,"width":45,"height":46},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/504591a54b9120e6adbb93f5e3c029d8.webp",981,1386,{"page_no":31,"url":48,"width":49,"height":50},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/61464baab3522df54f50837945e47743.webp",980,1385,{"code":4,"msg":5,"data":52},[53,58,62,66,71,76,81,84,89,92,96],{"id":21,"doc_module":4,"doc_module_name":54,"category_name":55,"show_sort_weight":56,"slug":57},"Document","Story & Novel",90,"story-novel",{"id":38,"doc_module":4,"doc_module_name":54,"category_name":59,"show_sort_weight":60,"slug":61},"Literature",80,"literature",{"id":31,"doc_module":4,"doc_module_name":54,"category_name":63,"show_sort_weight":64,"slug":65},"Exam",70,"exam",{"id":67,"doc_module":4,"doc_module_name":54,"category_name":68,"show_sort_weight":69,"slug":70},5,"Comic",60,"comic",{"id":72,"doc_module":4,"doc_module_name":54,"category_name":73,"show_sort_weight":74,"slug":75},6,"Technology",50,"technology",{"id":77,"doc_module":4,"doc_module_name":54,"category_name":78,"show_sort_weight":79,"slug":80},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":54,"category_name":12,"show_sort_weight":82,"slug":83},30,"research-report",{"id":85,"doc_module":4,"doc_module_name":54,"category_name":86,"show_sort_weight":87,"slug":88},9,"Religion & Spirituality",20,"religion-spirituality",{"id":87,"doc_module":4,"doc_module_name":54,"category_name":90,"show_sort_weight":87,"slug":91},"World Cup","world-cup",{"id":93,"doc_module":4,"doc_module_name":54,"category_name":94,"show_sort_weight":93,"slug":95},10,"Lifestyle","lifestyle",{"id":97,"doc_module":4,"doc_module_name":54,"category_name":98,"show_sort_weight":67,"slug":99},19,"General","general",{"code":4,"msg":101,"data":102},"ok",{"site_id":25,"language":24,"slug":103,"title":13,"keywords":104,"description":14,"schema_data":105,"social_meta":158,"head_meta":160,"extra_data":162,"updated_unix":163},"social-anxiety-prediction-model-for-nursing-students-based-on-machine-learning-a-cross-sectional-survey","",{"@graph":106,"@context":157},[107,120,140],{"@type":108,"itemListElement":109},"BreadcrumbList",[110,114,116,118],{"item":111,"name":112,"@type":113,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":115,"name":54,"@type":113,"position":38},"https://docshare.wps.com/document/",{"item":117,"name":12,"@type":113,"position":43},"https://docshare.wps.com/document/research-report/",{"item":119,"name":13,"@type":113,"position":31},"https://docshare.wps.com/document/social-anxiety-prediction-model-for-nursing-students-based-on-machine-learning-a-cross-sectional-survey/437713/",{"url":119,"name":13,"@type":121,"image":122,"author":127,"headline":13,"publisher":129,"fileFormat":132,"inLanguage":24,"description":14,"dateModified":133,"datePublished":134,"encodingFormat":132,"isAccessibleForFree":135,"interactionStatistic":136},"DigitalDocument",{"url":123,"@type":124,"width":125,"height":126},"https://docshare.wps.com/thumbnails/social-anxiety-prediction-model-for-nursing-students-based-on-machine-learning-a-cross-sectional-survey/437713.png","ImageObject",300,407,{"name":9,"@type":128},"Person",{"url":111,"name":130,"@type":131},"DocShare","Organization","application/pdf","2026-11-16","2026-09-29",true,{"@type":137,"interactionType":138,"userInteractionCount":20},"InteractionCounter",{"@type":139},"ViewAction",{"@type":141,"mainEntity":142},"FAQPage",[143,149,153],{"name":144,"@type":145,"acceptedAnswer":146},"What was the study purpose for nursing students’ social anxiety?","Question",{"text":147,"@type":148},"The study aimed to build a machine-learning risk prediction model for nursing students’ social anxiety, select the optimal model, and identify risk factors.","Answer",{"name":150,"@type":145,"acceptedAnswer":151},"How was the dataset collected and how many participants were included?",{"text":152,"@type":148},"A cross-sectional survey was conducted among nursing students at 10 universities from September to December 2024, including 2024 students.",{"name":154,"@type":145,"acceptedAnswer":155},"Which machine learning model performed best and what was its AUC?",{"text":156,"@type":148},"The random forest model achieved the highest predictive performance among the seven models, with an AUC of 0.71.","https://schema.org",{"og:url":119,"og:type":159,"og:title":13,"og:site_name":130,"og:description":14},"article",{"robots":161,"canonical":119},"index,follow",{"doc_id":7,"site_id":25},1791344897,{"list":165,"token":104},[166,173,180,186,192,199,205,211,217,224],{"doc_id":167,"doc_title":168,"file_type":18,"home_preview_img_url":169,"slug":170,"view_count":171,"category_name":12,"create_tm":172},122757,"Norwegian School of Economics Bergen - Are seasoned equity offerings predictable? - Predicting future SEOs with machine learning algorithms","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836939099/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=VKKSh2O%2FJc%2FvN6Cin0nF43Rxojc%3D","norwegian-school-of-economics-bergen-are-seasoned-equity-offerings-predictable-predicting-future-seos-with-machine-learning-algorithms",18,1785812740,{"doc_id":174,"doc_title":175,"file_type":18,"home_preview_img_url":176,"slug":177,"view_count":178,"category_name":12,"create_tm":179},123507,"OPTIMIZATION OF MACHINE LEARNING ALGORITHMS IN THE CLASSIFICATION OF VECTOR-BORNE DISEASES - Research Report","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229837019962/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=geV11kGSb4tIxGEdUCigzSFfp5I%3D","optimization-of-machine-learning-algorithms-in-the-classification-of-vector-borne-diseases-research-report",22,1785816926,{"doc_id":181,"doc_title":182,"file_type":18,"home_preview_img_url":183,"slug":184,"view_count":178,"category_name":12,"create_tm":185},123003,"Using Machine Learning Algorithm for Detecting Distributed Denial of Service Attack","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836967127/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=4hGv1oSPBDI39ESHMfMEPKLX1x4%3D","using-machine-learning-algorithm-for-detecting-distributed-denial-of-service-attack",1785814137,{"doc_id":187,"doc_title":188,"file_type":18,"home_preview_img_url":189,"slug":190,"view_count":178,"category_name":12,"create_tm":191},118403,"Multiple Machine Learning Algorithms-based NBA Team Playoffs Prediction - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834610496/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=cbcyzm11gLBT2%2Ffzs%2Fvw5OIM88A%3D","multiple-machine-learning-algorithms-based-nba-team-playoffs-prediction-read-online-free",1785683454,{"doc_id":193,"doc_title":194,"file_type":18,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":12,"create_tm":198},122627,"Auto-Insurance Fraud Detection Using Machine Learning Classification Models - Research Report","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836915974/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=jy6dBRXP167iYJyRBa4J70z%2B%2FmQ%3D","auto-insurance-fraud-detection-using-machine-learning-classification-models-research-report",29,1785811789,{"doc_id":200,"doc_title":201,"file_type":18,"home_preview_img_url":202,"slug":203,"view_count":197,"category_name":12,"create_tm":204},119289,"Comparative Study of Machine Learning Algorithms in Detecting Cardiovascular Diseases - Research Outline","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835023728/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=f4Zci%2BZjNzimAuEFke70TpLv%2B%2B0%3D","comparative-study-of-machine-learning-algorithms-in-detecting-cardiovascular-diseases-research-outline",1785723533,{"doc_id":206,"doc_title":207,"file_type":18,"home_preview_img_url":208,"slug":209,"view_count":97,"category_name":12,"create_tm":210},117439,"Predicting Cirrhosis Patient Survival Utilizing Machine Learning Techniques - Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834478578/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=fXXqBccwrj%2Bvizp3228Sdo5VtOs%3D","predicting-cirrhosis-patient-survival-utilizing-machine-learning-techniques-thesis",1785675882,{"doc_id":212,"doc_title":213,"file_type":18,"home_preview_img_url":214,"slug":215,"view_count":20,"category_name":12,"create_tm":216},117533,"Evaluation and Comparison of Machine Learning Algorithms for Effective Image Classification with Fault-Tolerance - 2024","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834689557/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=RZ8lA4ibJRKxlpUJmlR4hBLY9no%3D","evaluation-and-comparison-of-machine-learning-algorithms-for-effective-image-classification-with-fault-tolerance-2024",1785676743,{"doc_id":218,"doc_title":219,"file_type":18,"home_preview_img_url":220,"slug":221,"view_count":222,"category_name":12,"create_tm":223},117080,"Income Prediction Using Machine Learning Techniques - Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834541505/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=0OndxRg2etCQgwFhWvlfv%2FeIBxU%3D","income-prediction-using-machine-learning-techniques-thesis",28,1785673606,{"doc_id":225,"doc_title":226,"file_type":18,"home_preview_img_url":227,"slug":228,"view_count":20,"category_name":12,"create_tm":229},290479,"Using machine learning approach towards successful crowdfunding prediction - Article history, keywords, and method","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903731592/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796212319&Signature=UBex93Z8XLtbwUwCiJWmCHYNxcs%3D","using-machine-learning-approach-towards-successful-crowdfunding-prediction-article-history-keywords-and-method",1789641784]