Abstract
Although the mental health of college students has become a focus in the health field and society, there is still little discussion about the mental health of students in computer science and related majors. This study was guided by the network theory of mental disorders, presents a symptom network analysis of anxiety and depression among computer science students. A total of 3934 computer science students were included in this study. The seven-item Generalized Anxiety Disorder Scale (GAD-7) and the nine-item Patient Health Questionnaire (PHQ-9) were used to measure anxiety and depression symptoms. The connection between Nervousness and Uncontrollable worry is the strongest edge in the network. We identified the three core symptoms with the highest node strength were concentration, fatigue and psychomotor problems. The three bridge symptoms with the highest bridge strength were irritability, feeling afraid and psychomotor problems. Four well-characterized symptom communities were identified through the SpinGlass algorithm, including the core anxiety symptom community, the anxiety somatization manifestation symptom community, the core depressive symptom community, and the depressive physiological manifestation symptom community. The network performed well in both stability and accuracy tests. These findings are important for future interventions and improving the role of mental health issues for students with diverse majors and stressors.
Supplementary Information
The online version contains supplementary material available at 10.1038/s41598-026-39553-w.
Keywords: Anxiety, Depression, Psychological network analysis, Computer science students, Symptoms community
Subject terms: Psychology, Health care
Introduction
The mental health issues among university students have become a globally significant social concern, particularly in the context of today’s high-pressure societal and educational environments1,2. During their higher education journey, students face immense pressures from multiple dimensions, including academic demands, social adaptation and career development3–5. These complex stressors often lead to a dramatic increase in mental health issues such as anxiety and depression. Previous research indicates that the overall situation of depression among Chinese university students remains a public health concern, with a prevalence rate of 28.4%6.
Mental sub-health issues among STEM students have received increased attention over the past decade7. A famous study showed that nearly half of STEM graduate students experienced depression symptoms from the University of California, Berkeley8. Computer science and related majors are especially at high risk for severe mental health issues, with students in these fields reporting the highest levels of panic and anxiety9,10. Evidence from Brazil suggests that computer science students face even more anxiety and depression than medical students11, which traditionally seen as a high-risk group. Furthermore, empirical data found that computer science majors have twice the rate of anxiety and depression as the general undergraduate population10. This underscores the serious mental health challenges faced by students in computer-related fields. However, research on the mental health of STEM students, especially computer science and related majors, is still very limited in China.
In the context of increased competition in Chinese education, mental health problems among STEM students led by computer science majors, are likely to become a focus in the future. According to the authority’s 2024 undergraduate discipline rankings, the top 10 includes six stem-related disciplines such as computer science and software engineering12. However, behind this popularity majors and intensified competition lies the enormous pressure faced by students. Educational involution posing potential threats to their mental health13,14. As a representative discipline, computer science exemplifies the broader challenges faced by STEM programs under the backdrop of educational competition and involution in China. This pressure extends beyond academic demands to encompass employment preparation and career development15,16, further exacerbating the anxiety on students.
Multiple studies have shown that, in addition to academic and social factors, computer anxiety has emerged as a critical factor affecting the mental well-being of students17,18. Research indicates that this anxiety or technophobia often stems from a lack of confidence or excessive worry about their skills of computer technologies19,20. Research has shown that anxiety significantly affects students’ attitudes toward learning and academic performance, thereby negatively affecting their mental health19,21. The rapid development and updating iterations of information technology have made computer anxiety and technophobia a common problem for computer science major students11. Additionally, individuals are more likely to suffer from mental health problems when they are in a digital work and learning environment for a prolonged period of time22. Such environments can lead to a wide range of psychological distress, including career anxiety, technological stress, and burnout23.
To deeply investigate the characteristics of anxiety and depression problems in the Chinese computer science student population, this study used psychological network analysis. The network theory of mental disorders proposed by Borsboom suggests mental disorders to be systems of interactions between symptoms24. This theoretical framework suggests that various psychological symptoms are not only manifested in results but may also actively interact with each other to maintain the entire symptom network structure24,25. Therefore, the use of network analysis to identify the core and bridging symptoms that sustain anxiety-depression network has important theoretical support and practical significance. By constructing a psychological symptom network model, the core symptom nodes of anxiety and depression and their interactions can be systematically examined from a network perspective26. As an innovative tool for studying the relationships between nodes in complex networks or systems, network analysis has been widely used in recent years in psychopathology and psychology24,27. It has also been applied across various students’ populations, including medical students, nursing students and student-athletes, to explore the structure and interaction of psychological symptoms within specific contextual stressors28–30. Individual psychological symptoms are conceptualized as nodes in a network, while interactions between symptoms are characterized by edges between nodes24. Focusing on visualizing the overall structural features of the psychological symptom system, as well as the centrality of specific symptoms in the network and their potential impact on the overall system31. This approach provides a more comprehensive anxiety and depression network research perspective. At the micro level, it evaluates the role of individual symptoms within the network, such as strength, bridge strength, predictability and expected influence32,33. At the meso level, community detection methods identify interaction patterns among symptom clusters34. At the macro level, global features such as network stability and differences across networks can be estimated35. Network analysis plays a critical role in symptom identification within mental health studies and offers valuable insights for clinical intervention and prevention36.
Although an increasing number of studies have explored anxiety and depression among Chinese university students from a network perspective, most of these studies focus on medical-related groups37,38. To date, no network analysis has been identified that specifically examines anxiety and depression among undergraduate computer science students. Previous evidence has already highlighted the concerning mental health conditions of computer science students, yet this group remains underexplored, particularly within the context of China’s educational environment. This study aims to conduct a network analysis of anxiety and depression among Chinese undergraduate computer science students. The primary goal of this research is to investigate the structure, community and stability within the anxiety and depression networks of this population, providing a foundation for developing tailored psychological interventions for this specific group in the future.
Methods
Participants & procedure
This study is a large investigation into the anxiety and depression networks of undergraduate computer science students in China. Given the research team’s available resources, participant recruitment was conducted among undergraduate computer science students in Henan Province, China. A total of 3934 computer science students were included in this study. Data were collected via an online survey distributed through the Wenjuanxing platform (https://www.wjx.cn). Eligibility criteria for participants included the following: (a) above18 years old, (b) undergraduate students and (c) their major must belong to the category of computer-related disciplines as defined in the Undergraduate Major Directory of General Higher Education Institutions published by the Ministry of Education of China (http://www.moe.gov.cn/). The ‘computer science’ major in this study include computer science and technology, software engineering, network engineering, information security, artificial intelligence, and other majors belonging to the category of computing disciplines in China. The study received approval from the Academic Committee of Zhengzhou University of Science and Technology. All methods were performed in accordance with the relevant guidelines and regulations. All participants provided online written informed consent before completing the questionnaire. Data collection took place from December 16, 2024, to January 15, 2025.
Measures
The anxiety symptoms was measured using the Chinese version of the 7-item Generalized Anxiety Disorder Scale (GAD-7)39, with item scores ranging from 0 (not at all) to 3 (nearly every day) and a total score range of 0 to 21. Anxiety severity is classified as minimal (1–4), mild (5–9), moderate (10–14), and severe (15–21). The depression symptoms was assessed using the Chinese version of the 9-item Patient Health Questionnaire (PHQ-9)40, with item scores ranging from 0 (not at all) to 3 (nearly every day) and a total score range of 0 to 27. The depression severity is classified as minimal (1–4), mild (5–9), moderate (10–14), moderately severe (15–19) and severe (20–27).The reliability and validity of the Chinese version on anxiety and depression scales have been confirmed in previous studies41,42.
Data analysis
All analyses were performed by using the R35. The network analysis was performed in three parts including network estimation, network stability and network community detection.
Network estimation. This study constructed a psychological symptom network model by treating symptoms as nodes and their interrelationships as edges. To accurately estimate the strength of associations between nodes, partial correlation analysis was employed to calculate conditional dependencies between symptoms while controlling for the influence of other nodes. To deal with the variability and potential non-normality of scores from the GAD-7 and PHQ-9 scales, we applied a nonparanormal transformation function from the huge R package. This rank-based and non-parametric approach maps the empirical cumulative distribution of each variable to a standard normal distribution, thereby standardizing the data while preserving the ordinal relationships43. The partial correlation matrix is provided in supplementary material. To enhance the interpretability of the network, the Least Absolute Shrinkage and Selection Operator (LASSO) regularization44 was implemented to simplify the network structure by shrinking small edge weights toward zero, thereby obtaining a sparse and more interpretable network model. Using the Extended Bayesian Information Criterion (EBIC) optimization and tuning parameters is to ensure that the network is sparse and interpretable45. Visualization and estimation is carried out by using the bootnet and qgraph packages in R35. Edge thickness indicates the strength of the connection between nodes. Red represents negative correlations and green represents positive correlations. The core metrics are obtained through the networktool and qgraph package, include strength, bridge strength and expected influence46. Some of the metrics are not suitable for usage in all research contexts and require additional attention, such as betweness and clonesness47. Predictability quantifies how much of a node’s variance can be explained by its neighboring nodes45. Bridging nodes mainly identify the nodes with connectivity role in the symptoms network, bridge strength is an important indicator to measure bridge nodes. Bridge strength refers to the sum of edge weights between a given node and nodes in other communities, which was analyzed using the bridge function of the R package networktools36. Expected Influence is used to measure the combined influence of a node on other nodes in the network, considering both strength and direction. Strength, defined as the sum of the absolute edge weights connected to a node, reflects the overall level of symptom connectivity24. While expected influence is more appropriate when there are certain negative edges in the network, strength provides a more stable and interpretable centrality measure for identifying core symptoms in networks primarily composed of positive edges.
Network stability. All network stability analyses are performed with the bootnet package (Version 1.4.3)48. In this study, the stability of node strength and bridge strength was assessed using a case-dropping bootstrap procedure. This is to ensure that the network metrics remain reliable and generalizable after some of the data are deleted35.. The study utilized the Correlation Stability Coefficient (CS-C) to quantify network stability, which indicates the maximum proportion of cases that can be removed while maintaining a correlation of at least 0.7 with the original network’s centrality indices. According to academic standards, a CS-C value above 0.25 is considered acceptable, while values exceeding 0.5 indicate high network stability35. Furthermore, a nonparametric bootstrap procedure was implemented to calculate 95% confidence intervals (CIs) for edge weights and node strength to assess estimation precision, where narrower confidence intervals signify higher estimation accuracy35,49.
Network community. The SpinGlass algorithm was used for community segmentation of anxiety-depression symptom networks. The algorithm has been shown to be effective for community detection by optimizing modular functions to identify densely connected symptom clusters50,51. Community detection not only reveals patterns of interaction between symptoms, but also identifies differences in symptom clusters across groups, providing important insights into understanding patterns of co-occurrence of psychological symptoms52. This algorithm has been successfully applied to analyze the network structure of post-traumatic stress disorder (PTSD) symptoms in Chinese male firefighters, and its validity and applicability have been verified53.
Results
Descriptive statistics
Participant demographic information is shown in Table 1. The distribution of participants’ anxiety and depression scores based on GAD-7 and PHQ-9 is shown in Fig. 1.
Table 1.
Demographic of participants.
| Year of undergraduate study | N (%) | |
|---|---|---|
| First | 1191 (30.27) | |
| Second | 843 (21.43) | |
| Third | 1172 (29.79) | |
| fourth | 728 (18.51) | |
| Gender | ||
| Male | 2210 (56.17) | |
| Female | 1724 (43.83) | |
| First-generation college student in family | ||
| Yes | 2272 (57.75) | |
| No | 1662 (42.25) | |
| Residential area | ||
| City | 709 (18.02) | |
| Rural | 3225 (81.98) | |
Fig. 1.
Distribution of GAD-7 and PHQ-9 scores.
In the GAD-7, 49.12% of the participants were at no or minimal anxiety level and 44.77% were at mild anxiety level. 4.22% of the participants were at moderate level of anxiety and 1.88% were at severe level of anxiety. In the PHQ-9, 52.58% of the participants were at no or minimal level of depression and 37.99% were at mild level of depression. 6.20% and 2.08% of the participants were at moderate and moderately severe levels of depression, 1.14% were at severe levels.
Network structure
In the anxiety and depression network as shown in Fig. 2, the strongest edge was the Nervousness-Uncontrollable worry (GAD1-GAD2). In addition, Sleep issues-Fatigue (PHQ3-PHQ4), Trouble relaxing-Restlessness (GAD4-GAD5), Anhedonia-Concentration (PHQ1-PHQ7), Nervousness-Excessive worry (GAD1-GAD3) also showed strong associations. These connections represent the most prominent symptom pairings within the network.
Fig. 2.
Network structure of anxiety and depressive symptoms among computer science students.
In Fig. 2; Table 2, Concentration (PHQ7) presented the strongest node strength, followed by Fatigue (PHQ4) and Psychomotor issues (PHQ8). Concentration (PHQ7) presented the strongest expected influence, followed by Restlessness (GAD5) and Psychomotor issues (PHQ8). Restlessness (GAD5) showed the strongest predictability, followed by Feeling afraid (GAD7) and Psychomotor issues (PHQ8). In Fig. 3, Irritability (GAD6) presented the strongest bridge strength, followed by Feeling afraid (GAD7) and Psychomotor issues (PHQ8).
Table 2.
Descriptive statistics of the PHQ-9 and GAD-7 items.
| Item | Content | Item mean (SD) | Strength | Predictability | Expected Influence |
|---|---|---|---|---|---|
| GAD1 | Nervousness | 0.74 (0.65) | 0.426 | 0.649 | 0.401 |
| GAD2 | Uncontrollable worry | 0.59 (0.65) | 0.395 | 0.693 | 0.395 |
| GAD3 | Excessive worry | 0.69 (0.67) | 0.451 | 0.673 | 0.410 |
| GAD4 | Trouble relaxing | 0.61 (0.66) | 0.337 | 0.691 | 0.337 |
| GAD5 | Restlessness | 0.58 (0.63) | 0.497 | 0.759 | 0.497 |
| GAD6 | Irritability | 0.60 (0.64) | 0.483 | 0.715 | 0.423 |
| GAD7 | Feeling afraid | 0.57 (0.63) | 0.426 | 0.734 | 0.426 |
| PHQ1 | Anhedonia | 0.65 (0.69) | 0.379 | 0.646 | 0.308 |
| PHQ2 | Sad Mood | 0.49 (0.61) | 0.461 | 0.721 | 0.455 |
| PHQ3 | Sleep issues | 0.58 (0.68) | 0.306 | 0.603 | 0.306 |
| PHQ4 | Fatigue | 0.63 (0.67) | 0.521 | 0.717 | 0.472 |
| PHQ5 | Appetite | 0.48 (0.62) | 0.339 | 0.628 | 0.339 |
| PHQ6 | Guilty | 0.51 (0.64) | 0.479 | 0.715 | 0.420 |
| PHQ7 | Concentration | 0.59 (0.65) | 0.532 | 0.720 | 0.532 |
| PHQ8 | Psychomotor issues | 0.51 (0.62) | 0.512 | 0.733 | 0.483 |
| PHQ9 | Self-harming tendencies | 0.31 (0.55) | 0.470 | 0.505 | 0.319 |
GAD-7 7-item Generalized Anxiety Disorder Scale, PHQ-9 the 9-item Patient Health Questionnaire, SD standard deviation
Fig. 3.
Network structure of anxiety and depressive symptoms present bridge symptoms among computer science students.
Network stability
In Fig. 4. The stability of the anxiety-depression network was evaluated by using case-dropping bootstrapping with the bootnet package in R. Both CS-C values exceed the recommended threshold of 0.5, indicating that the network metrics are stable under case-dropping conditions. The visual representation shows a gradual decline in the average correlation with the original sample as more cases are removed, with bridge strength demonstrating slightly higher stability compared to strength. Additionally, to assess the difference between two edges or two node strengths, a nonparametric bootstrap test based on 95% CI was performed. Figures 5 and 6 showed the results of bootstrapped confidence intervals in edges and bootstrap difference in nodes strength.
Fig. 4.
The network stability test of strength and bridge strength by using case-dropping bootstrap. The horizontal axis represents the proportion of the original sample retained, and the vertical axis represents the average correlation coefficient between the initial network index and the recalculated centrality index after case culling.
Fig. 5.

Bootstrapped confidence intervals of all edges. The black dots show ordered edge weights, from highest to lowest value. The surrounding gray area indicates the 95% confidence interval derived using the nonparametric bootstrap method. The wider the interval, the lower the stability. The narrower the interval, the higher the reliability of the estimated edge weights.
Fig. 6.
The stability test for ‘node strength’ based on Bootstrap. Gray boxes indicate no significant differences and black boxes indicate significant differences. Numbers in white boxes (i.e., diagonal lines) indicate node strength values for specific nodes.
Edge colors are omitted to avoid color mixing.
Network community
Using the Spin Glass algorithm, four distinct communities were identified within the anxiety-depression network as shown in Fig. 7. The first community consists of Nervousness (GAD1), Uncontrollable worry (GAD2) and Excessive worry (GAD3). The second community includes Trouble relaxing (GAD4), Restlessness (GAD5), Irritability (GAD6) and Feeling afraid (GAD7). The third community comprises Anhedonia (PHQ1), Sad Mood (PHQ2), Guilty feelings (PHQ6), Concentration issues (PHQ7), Psychomotor issues (PHQ8) and Self-harming tendencies (PHQ9). The fourth community comprises Sleep issues (PHQ3), Fatigue (PHQ4) and Appetite (PHQ5).
Fig. 7.
Community Detection Visualization. Different colors represent different communities. Edge colors are omitted to avoid color mixing.
Discussion
As of the commencement of this study, this is the first article to conduct a network analysis of anxiety and depression among Chinese computer science students. Although the self-reported prevalence of clinically depression level around 10% among Chinese computer science students was lower than that observed in Chinese medical students’ level around 20%54, approximately 50% of participants in our study reported symptoms at or above the mild level. This means the mental health status of Chinese computer science students in terms of anxiety and depression deserves greater attention, and generalized anxiety and depression problems were also found among Brazilian computer science students11. Although computer science students are not traditionally considered a high-risk group, the findings of this study suggest that they experience similar challenges related to anxiety and depression as those observed in medical or healthcare student populations, such as student nurses and medical students37,54. This means the focus of mental health research and intervention should be beyond traditionally recognized high-risk groups. All the strongest edges in this study were within their respective symptom ranges and did not connect anxiety and depression symptoms, which is like previous findings37,54,55.
In previous studies on anxiety and depression networks among Chinese university students, the stronger edges were present within the anxiety cluster55. However, the second strong edge in the current study showed an association within the depression cluster, which is similar to the results of the previous study on nursing students30. This difference further suggests that variations in academic background may contribute to differing levels of depression and anxiety among students56. Factors such as computer anxiety and technophobia have been shown to affect students’ physical and mental health17,18,23,57. Technology anxiety presents itself particularly in technology-intensive professions, so future psychological interventions should also focus on supporting both emotional and technological self-confidence. Moreover, China’s extremely introspective educational environment is one of the external stressors that contribute to increased anxiety and depression among college students13. In addition to the strongest association Nervousness-Uncontrollable worry (GAD1-GAD2), Sleep issues-Fatigue (PHQ3-PHQ4) showed the second strongest symptomatic association, and this association was also high in several previous studies30,55. Sleep problems have been a common problem among college students58, and not just among computer science students. Improving sleep quality and increasing physical activity are considered effective intervention strategies11, have been suggested to alleviate depression and anxiety problems among computer science students.
Node strengths in network metrics are recognized by psychopathology and psychology as important potential targets for network intervention37,49. This study found that Concentration (PHQ7) was the symptom with the highest node strength in the Anxiety and Depression network for computer science students, followed by Fatigue (PHQ4). This is different from previous findings in other studies, where fatigue was typically the highest strength core symptom among college students55. This discrepancy may stem from the unique stressors and learning patterns experienced by computer science students. With the rapid development of artificial intelligence technology, students in computer-related fields face unprecedented pressure from industry updates and academic challenges59. The constant updating of technology and knowledge imposes an ongoing learning burden, where cognitive stress or overload is closely linked to anxiety60. Additionally, the prolonged screen-time work pattern not only leads to visual fatigue but may also trigger a series of physical and mental health issues23. Recent studies indicate that sedentary behavior and screen time among college students show significant negative correlations with mental health status, particularly in relation to depression and anxiety57. The high score for concentration (PHQ7) in terms of expected influence further suggests that it is a potential monitoring node in a dynamic network containing negative correlations. In contrast to focusing on the direct strength of the symptom, the expected influence provides a perspective to identify important symptoms for further clinical diagnostic assistant and targeted assessment, especially when no causal inference is formed25. Compared to traditional centrality that do not distinguish between positive and negative relationships, monitoring or targeting high expected influence symptoms is a viable strategy to help understand dynamic trends in the symptom network.
Irritability (GAD6) was identified as the most influential bridge symptom, followed by Feeling afraid (GAD7) and Psychomotor issues (PHQ8). The composition of the most influential bridge symptoms was like the previous results for the college student population55,61, but with a slightly different ordering. Intervening in bridging symptoms may offer a strategic advantage over direct intervention in high- strength symptom nodes, as it can prevent the spread across symptom clusters and potentially mitigate the escalation of comorbid conditions62. Psychomotor issues (PHQ8) have consistently demonstrated high bridge strength in pandemic-related studies30,55,61. This phenomenon may be attributed to the symptom’s strong association with self-harm tendencies and death ideation, making it a priority focus in clinical interventions37. These findings suggest that future intervention strategies should be tailored according to the transmission mechanisms and clinical priorities of different symptoms. It is important to note that although self-harming tendencies (PHQ9) had the lowest mean score among all dimensions, it warrants heightened attention due to its potential for severe consequences. Given the high bridge strength of PHQ-8 and its established association with PHQ-9, close monitoring and early intervention are essential when such symptoms arise.
By calculating the predictability of each symptom node in the network, this study revealed complex inter-symptom prediction patterns. High predictability values for symptoms such as Restlessness (GAD5), Feeling afraid (GAD7), and Psychomotor issues (PHQ8) suggest that these symptoms can be highly predicted based on their neighboring nodes. On average, 68.1% of the variance in each symptom could be predicted from its immediate neighbors. However, it should be noted that predictability does not imply causation, and it indicates how well a symptom can be predicted and explained from its neighbors’ nodes45,63.
Through community detection with the SpinGlass algorithm on the anxiety-depression network, it was found that the network can be divided into four separate communities, each containing at least one set of symptom clusters with highly correlated edges. This community structure suggests that associations between different symptoms are not randomly distributed but are concentrated in specific sub-clusters. Specifically, the green community reflects the core symptoms of anxiety, while the red community reflects the somatization and emotional manifestations of anxiety. The yellow community represents the core symptoms of depression, while the blue community is associated with the somatization of depressive symptoms. The results of this community detection provide a structured framework for future interventions, enabling the identification of key clusters and prioritizing the most densely connected and critical communities. Combining symptom communities with core symptoms allows for more accurate targeting, and early identification of potential symptoms for intervention in a more organized manner64. This approach no longer relies solely on apparently salient or obvious symptoms, such as insomnia in the current results, which may not play a central role in maintaining the symptom network. Different communities may require tailored intervention or treatment strategies based on their unique symptom profiles53. The personalized networks have become a reliable ‘psycho-educational’ tool to help patients and clinicians increase their awareness of symptom network problems and triggers65. Furthermore, in addition to identifying symptom clusters, community detection results can be used to predict potential transmission pathways for anxiety and depressive symptoms66. For example, in the case of suicidal tendencies with serious consequences, we can create risk assessment and prevention measures for specific symptom communities around the network environment65.
The contribution of this study is that it is the first network analysis study of anxiety and depression among Chinese college students majoring in computer science and related fields, and with a large sample size. The visualization and stability analysis of the network perspective helped us to obtain a clear and accurate symptom association structure that is easy to identify. This provides a new research paradigm for exploring anxiety and depression networks in diverse student populations, with a focus on emphasizing the relationship between core symptoms, symptom clusters, and potential comorbidities. It has been shown to help in intervening with symptoms of mental disorders in clinical practice through interconnections between a limited number of symptom modules33,65. Furthermore, the combination of network structure and community detection provided a more comprehensive understanding of symptom clustering and interactions within an anxiety-depression framework. In summary, the results of this study provide a feasible research paradigm for exploring potential mental health problems in student populations from diverse educational backgrounds.
There are still some limitations of this study that need to be noted. First, although the sample size was large, participant recruitment was limited to Henan Province due to funding, time, and resource constraints. While Henan Province is considered a representative educational region in terms of student population, future studies should expand the range of participants to the whole country. Second, the anxiety and depression scales of the GAD7 and PHQ9 were used only to obtain a means of individual self-assessment. Despite such scales are widely used, biases about individual differences in interpretation may still exist30. Third, cross-sectional studies limit causality in anxiety-depression networks. We have realized this limitation and have initiated follow-up studies incorporating additional dimensions and time sequences. Future studies should retain the directional structure advantage of network analysis, while also need more clinical and experimental data. Longitudinal study design and clinical trial-based symptom assessment will help enhance its applicability in clinical decision-making65. This integration may allow for a more robust evaluation of symptom dynamics, causality, and treatment feedback within the framework of symptom network analysis.
Conclusion
In summary, through network analysis of anxiety and depression among Chinese college students majoring in computer science, we identified the connection between Nervousness and Uncontrollable worry is the strongest edge in the network. Three core symptoms with the highest node strength were concentration, fatigue and psychomotor problems. Three bridge symptoms with the highest bridge strength were irritability, feeling afraid and psychomotor problems. Four well-characterized symptom communities were identified under the detection of the network community algorithm, covering the core symptoms of anxiety, somatization and emotional symptoms of anxiety, the core symptoms of depression, and symptoms related to somatization manifestations in depressive symptoms. These findings are important for future interventions and amelioration of mental health issues for students with different majors and stressors. Moreover, this network analysis framework can be further extended to other high-stress groups to help clinicians and educational departments develop more comprehensive support policies and interventions.
Supplementary Information
Below is the link to the electronic supplementary material.
Acknowledgements
We are grateful to all the organizations, lecturers, and students who assisted us in the research process.
Author contributions
ZF.W, W.Y and SY.J led the research, K.Y, ZF.W and YL.C were responsible for data collection, organization and cleaning. M.M.A and W.A.M.W.P supervised the research design and methodology of the article. All authors (W.Y, SY.J, K.Y, ZF.W, YL.C, M.M.A, W.A.M.W.P, MY.W) participated in the writing and reviewing of the article’s results, discussion and the manuscript.
Data availability
Data and core code can be obtained from the corresponding author upon reasonable request.
Declarations
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Kirsh, B. et al. Experiences of university students living with mental health problems: interrelations between the self, the social, and the school. Work53, 325–335. 10.3233/WOR-152153 (2016). [DOI] [PubMed] [Google Scholar]
- 2.Bantjes, J., Hunt, X. & Stein, D. J. Public health approaches to promoting university students’ mental health: A global perspective. Curr. Psychiatry Rep.24, 809–818. 10.1007/s11920-022-01387-4 (2022). [DOI] [PubMed] [Google Scholar]
- 3.Auerbach, R. P. et al. Mental disorders among college students in the world health organization world mental health surveys. Psychol. Med.46, 2955–2970. 10.1017/S0033291716001665 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Thompson, M. N., Her, P., Fetter, A. K. & Perez-Chavez, J. College student psychological distress: relationship to Self-Esteem and career decision Self-Efficacy beliefs. Career Dev. Q.67, 282–297. 10.1002/cdq.12199 (2019). [Google Scholar]
- 5.Sahao, F. T. & Kienen, N. University student adaptation and mental health: A systematic review of literature. Psicologia Escolar E Educacional. 25, e224238. 10.1590/2175-35392021224238 (2021). [Google Scholar]
- 6.Gao, L., Xie, Y., Jia, C. & Wang, W. Prevalence of depression among Chinese university students: a systematic review and meta-analysis. Sci. Rep.10, 15897. 10.1038/s41598-020-72998-1 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Radan, S., Hassan, S., Wilson, A. S. & Basurra, S. S. A Review of Mental Health Issues Prevalent in Science, Technology, Engineering, and Mathematics (STEM) Subjects. Handbook of research on innovative frameworks and inclusive models for online learning, 1–27 (2023). 10.4018/978-1-6684-9072-3.ch001
- 8.Assembly, U. B. G. Graduate student happiness and well-being report. Berkeley, CA (2014).
- 9.Kessler, R. C. et al. The 12-month prevalence and correlates of serious mental illness (SMI). (1996).
- 10.Danowitz, A. & Beddoes, K. in 2018 The Collaborative Network for Engineering and Computing Diversity Conference Proceedings.
- 11.Passos, L. M. S., Murphy, C., Chen, R. Z., Santana, M. G. & Passos, G. S. d. in Proceedings of the 51st ACM Technical Symposium on Computer Science Education 316–322Association for Computing Machinery, Portland, OR, USA, (2020).
- 12.CNUR. Ranking of popular majors in Chinese universities in 2024. (2024).
- 13.Chenxi, L. in Proceedings of the 2021 4th International Conference on Humanities Education and Social Sciences (ICHESS 2021). 1884–1887 (Atlantis Press).
- 14.Suyao, Z. in Proceedings of the 2022 6th International Seminar on Education, Management and Social Sciences (ISEMSS 2022). 3436–3442 (Atlantis Press).
- 15.Peña-Calvo, J. V., Inda-Caro, M., Rodríguez-Menéndez, C. & Fernández-García, C. M. Perceived supports and barriers for career development for Second-Year STEM students. J. Eng. Educ.105, 341–365. 10.1002/jee.20115 (2016). [Google Scholar]
- 16.Khan, A. N., Soomro, M. A., Khan, N. A. & Bodla, A. A. Psychological dynamics of overqualification: career anxiety and decision commitment in STEM. BMC Psychol.12, 686. 10.1186/s40359-024-02061-5 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Powell, A. L. Computer anxiety: comparison of research from the 1990s and 2000s. Comput. Hum. Behav.29, 2337–2381. 10.1016/j.chb.2013.05.012 (2013). https://doi.org/https://doi.org/ [Google Scholar]
- 18.Li, J. & Huang, J. S. Dimensions of artificial intelligence anxiety based on the integrated fear acquisition theory. Technol. Soc.63, 101410. 10.1016/j.techsoc.2020.101410 (2020). [Google Scholar]
- 19.Korobili, S., Togia, A. & Malliari, A. Computer anxiety and attitudes among undergraduate students in Greece. Comput. Hum. Behav.26, 399–405. 10.1016/j.chb.2009.11.011 (2010). https://doi.org/https://doi. [Google Scholar]
- 20.Almaiah, M. A. et al. Examining the impact of artificial intelligence and social and computer anxiety in E-Learning settings: students’ perceptions at the university level. Electronics11 (2022).
- 21.Berrios Rolon, M. M. A Quantitative Study To Explore the Relationship between Technostress Symptoms and Technostress among Puerto Rican University Students (Capella University, 2014).
- 22.Rafi, S. & Rafi, S. in Managing the digital workplace in the post-pandemic 26–40Routledge, (2022).
- 23.Marsh, E., Vallejos, E. P. & Spence, A. The digital workplace and its dark side: an integrative review. Comput. Hum. Behav.128, 107118. 10.1016/j.chb.2021.107118 (2022). [Google Scholar]
- 24.Borsboom, D. A network theory of mental disorders. World Psychiatry. 16, 5–13. 10.1002/wps.20375 (2017). https://doi.org/https://doi.org/ [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Borsboom, D. et al. Network analysis of multivariate data in psychological science. Nat. Reviews Methods Primers. 1, 58. 10.1038/s43586-021-00055-w (2021). [Google Scholar]
- 26.Robinaugh, D. J., Millner, A. J. & McNally, R. J. Identifying highly influential nodes in the complicated grief network. J. Abnorm. Psychol.125 (6), 747–757. 10.1037/abn0000181 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Fried, E. I. et al. Mental disorders as networks of problems: a review of recent insights. Soc. Psychiatry Psychiatr. Epidemiol.52, 1–10. 10.1007/s00127-016-1319-z (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Jing, S., Wan Pa, W. A. M. & Awang, M. M. Anxiety and depression among Chinese international student-athletes during study abroad: a psychological network approach. Phys. Educ. Students. 29, 27–38. 10.15561/20755279.2025.0103 (2025). [Google Scholar]
- 29.Ernst, J. et al. Burnout, depression and anxiety among Swiss medical students – A network analysis. J. Psychiatr. Res.143, 196–201. 10.1016/j.jpsychires.2021.09.017 (2021). https://doi.org/. [DOI] [PubMed] [Google Scholar]
- 30.Bai, W. et al. Network analysis of anxiety and depressive symptoms among nursing students during the COVID-19 pandemic. J. Affect. Disord.294, 753–760. 10.1016/j.jad.2021.07.072 (2021). https://doi.org/https://doi. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Hofmann, S. G., Curtiss, J. & McNally, R. J. A complex network perspective on clinical science. Perspect. Psychol. Sci.11, 597–605. 10.1177/1745691616639283 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Haslbeck, J. M. B. & Fried, E. I. How predictable are symptoms in psychopathological networks? A reanalysis of 18 published datasets. Psychol. Med.47, 2767–2776. 10.1017/S0033291717001258 (2017). [DOI] [PubMed] [Google Scholar]
- 33.Contreras, A., Nieto, I., Valiente, C., Espinosa, R. & Vazquez, C. The study of psychopathology from the network analysis perspective: A systematic review. Psychother. Psychosom.88, 71–83. 10.1159/000497425 (2019). [DOI] [PubMed] [Google Scholar]
- 34.Li, N., Jin, D., Wei, J., Huang, Y. & Xu, J. Functional brain abnormalities in major depressive disorder using a multiscale community detection approach. Neuroscience501, 1–10. 10.1016/j.neuroscience.2022.08.007 (2022). [DOI] [PubMed] [Google Scholar]
- 35.Epskamp, S., Borsboom, D. & Fried, E. I. Estimating psychological networks and their accuracy: A tutorial paper. Behav. Res. Methods. 50, 195–212. 10.3758/s13428-017-0862-1 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Jones, P. J., Ma, R. & McNally, R. J. Bridge centrality: a network approach to Understanding comorbidity. Multivar. Behav. Res.56, 353–367. 10.1080/00273171.2019.1614898 (2021). [DOI] [PubMed] [Google Scholar]
- 37.Ren, L. et al. Network structure of depression and anxiety symptoms in Chinese female nursing students. BMC Psychiatry. 21, 279. 10.1186/s12888-021-03276-1 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Chen, Z. et al. Network analysis of depression and anxiety symptoms and their associations with mobile phone addiction among Chinese medical students during the late stage of the COVID-19 pandemic. SSM - Popul. Health. 25, 101567. 10.1016/j.ssmph.2023.101567 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Spitzer, R. L., Kroenke, K., Williams, J. B. & Löwe, B. A brief measure for assessing generalized anxiety disorder: the GAD-7. Arch. Intern. Med.166, 1092–1097. 10.1001/archinte.166.10.1092 (2006). [DOI] [PubMed] [Google Scholar]
- 40.Kroenke, K., Spitzer, R. L. & Williams, J. B. The PHQ-9: validity of a brief depression severity measure. Journal of general internal medicine 16, 606–613 https://doi.org/j.1525-1497.2001.016009606.x (2001). [DOI] [PMC free article] [PubMed]
- 41.Zeng, Q. Z. et al. Reliability and validity of Chinese version of the generalized anxiety disorder 7-item (GAD-7) scale in screening anxiety disorders in outpatients from traditional Chinese internal department. Chin. Mental Health J.27, 163–168 (2013). [Google Scholar]
- 42.Wang, W. et al. Reliability and validity of the Chinese version of the patient health questionnaire (PHQ-9) in the general population. Gen. Hosp. Psychiatry. 36, 539–544. 10.1016/j.genhosppsych.2014.05.021 (2014). [DOI] [PubMed] [Google Scholar]
- 43.Liu, H., Lafferty, J. & Wasserman, L. The nonparanormal: semiparametric Estimation of high dimensional undirected graphs. J. Mach. Learn. Res.1010.48550/arXiv.0903.0649 (2009). [PMC free article] [PubMed]
- 44.Tibshirani, R. Regression shrinkage and selection via the Lasso. J. Royal Stat. Soc. Ser. B: Stat. Methodol.58, 267–288. 10.1111/j.2517-6161.1996.tb02080.x (1996). [Google Scholar]
- 45.Haslbeck, J. M. & Waldorp, L. J. How well do network models predict observations? On the importance of predictability in network models. Behav. Res. Methods. 50, 853–861. 10.3758/s13428-017-0910-x (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Epskamp, S., Cramer, A. O., Waldorp, L. J., Schmittmann, V. D. & Borsboom, D. Qgraph: network visualizations of relationships in psychometric data. J. Stat. Softw.48, 1–18. 10.18637/jss.v048.i04 (2012). [Google Scholar]
- 47.Bringmann, L. F. et al. What do centrality measures measure in psychological networks? J. Abnorm. Psychol.128, 892–903. 10.1037/abn0000446 (2019). [DOI] [PubMed] [Google Scholar]
- 48.Epskamp Package ‘bootnet’. (2018).
- 49.Marchetti, I. & Hopelessness A network analysis. Cogn. Therapy Res.43, 611–619. 10.1007/s10608-018-9981-y (2019). [Google Scholar]
- 50.Ramos-Vera, C., Calle, D. & Vallejos-Saldarriaga, J. Network structure of depressive symptoms, school anxiety and perfectionism in Peruvian adolescents. Curr. Psychol.43, 29211–29223. 10.1007/s12144-024-06570-9 (2024). [Google Scholar]
- 51.Reichardt, J. & Bornholdt, S. Statistical mechanics of community detection. Phys. Rev. E. 74, 016110. 10.1103/PhysRevE.74.016110 (2006). [DOI] [PubMed] [Google Scholar]
- 52.Christensen, A. P., Garrido, L. E., Guerra-Peña, K. & Golino, H. Comparing community detection algorithms in psychometric networks: A Monte Carlo simulation. Behav. Res. Methods. 56, 1485–1505. 10.3758/s13428-023-02106-4 (2024). [DOI] [PubMed] [Google Scholar]
- 53.Yuan, H. et al. Network structure of PTSD symptoms in Chinese male firefighters. Asian J. Psychiatry. 72, 103062. 10.1016/j.ajp.2022.103062 (2022). https://doi.org/https://doi.org/ [DOI] [PubMed] [Google Scholar]
- 54.Mao, Y. et al. A systematic review of depression and anxiety in medical students in China. BMC Med. Educ.19, 1–13. 10.1016/j.jad.2014.10.054 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Bai, W. et al. Anxiety and depressive symptoms in college students during the late stage of the COVID-19 outbreak: a network approach. Translational Psychiatry. 11, 638. 10.1038/s41398-021-01738-4 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Saxena, S. K., Mani, R. N., Dwivedi, A. K., Ryali, V. S. S. R. & Timothy, A. Association of educational stress with depression, anxiety, and substance use among medical and engineering undergraduates in India. Industrial Psychiatry Journal28 (2019). [DOI] [PMC free article] [PubMed]
- 57.Gao, X. L., Zhang, J. H., Yang, Y. & Cao, Z. B. Sedentary behavior, screen time and mental health of college students: a Meta-analysis. Zhonghua Liu Xing Bing Xue Za Zhi. 44, 477–485. 10.3760/cma.j.cn112338-20220728-00669 (2023). [DOI] [PubMed] [Google Scholar]
- 58.Sun, C. et al. Exploring the interconnections of anxiety, depression, sleep problems and health-promoting lifestyles among Chinese university students: a comprehensive network approach. Front. Psychiatry. 1510.3389/fpsyt.2024.1402680 (2024). [DOI] [PMC free article] [PubMed]
- 59.Jin, C. Bits and Bytes of Well-Being: Decoding Mental Health for College Students in Computer Science, (2024).
- 60.Rutkowski, A. F. & Saunders, C. Emotional and Cognitive Overload: the Dark Side of Information Technology (Routledge, 2018).
- 61.Tao, Y. et al. Centrality and Bridge symptoms of anxiety, depression, and sleep disturbance among college students during the COVID-19 pandemic—a network analysis. Curr. Psychol.43, 13897–13908. 10.1007/s12144-022-03443-x (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Castro, D. et al. The differential role of central and Bridge symptoms in deactivating psychopathological networks. Front. Psychol.10–201910.3389/fpsyg.2019.02448 (2019). [DOI] [PMC free article] [PubMed]
- 63.Borsboom, D. & Cramer, A. O. J. Network analysis: an integrative approach to the structure of psychopathology. Ann. Rev. Clin. Psychol.9, 91–121. 10.1146/annurev-clinpsy-050212-185608 (2013). [DOI] [PubMed] [Google Scholar]
- 64.Blanken, T. F. et al. Introducing network intervention analysis to investigate Sequential, Symptom-Specific treatment effects: A demonstration in Co-Occurring insomnia and depression. Psychother. Psychosom.88, 52–54. 10.1159/000495045 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Goekoop, R. & Goekoop, J. G. A network view on psychiatric disorders: network clusters of symptoms as elementary syndromes of psychopathology. PLOS ONE. 9, e112734. 10.1371/journal.pone.0112734 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Baker, L. D. et al. Mapping PTSD, depression, and anxiety: A network analysis of co-occurring symptoms in treatment-seeking first responders. J. Psychiatr. Res.168, 176–183. 10.1016/j.jpsychires.2023.10.038 (2023). [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Data and core code can be obtained from the corresponding author upon reasonable request.






