Figures
Abstract
Objective
This study aims to examine the levels of anxiety symptoms and perceived social support among the men who have sex with men (MSM) population, to assess the level of both anxiety and low social support, and associated factors in this population.
Method
The study used an Internet service platform for MSM between March and June 2024. Sociodemographic information, laboratory test data, and scores from the Generalized Anxiety Disorder scale (GAD-7), and Perceived Social Support Scale (PSSS) were collected among men who have sex with men (MSM). Decision tree model and binary logistic regression were used to analyze the factors associated with anxiety with low perceived social support.
Results
A total of 1070 MSM respondents were recruited, of whom 19.6% had anxiety symptoms, and 12.90% had low social support. The prevalence of anxiety symptoms was significantly higher among individuals with low social support (38.41%) than among those with medium or high social support (16.95%) (P < 0.001). Specifically, 4.95% of all respondents had both anxiety and low social support. Logistic regression analysis showed that employment status (P = 0.028), self-esteem (P < 0.001) and psychological resilience (P < 0.001) were significant factors associated with both anxiety symptoms and low social support in the MSM population. Furthermore, the decision tree model identified self-esteem and psychological resilience as key predictors of both anxiety and low social support in the MSM population (all P < 0.05).
Conclusion
Our study demonstrated that in the MSM population in China’s eastern region, the prevalence of both anxiety and low social support was relatively low. Employment status, self-esteem, and psychological resilience were identified as significantly correlated factors for them. To effectively reduce anxiety in this population, interventions should focus on enhancing these factors.
Citation: Zhou Y-W, Li J, Shan C-Y, Zhou Z-M (2025) Assessment of anxiety symptoms with low social support and associated factors among men who have sex with men (MSM): A cross-sectional study. PLoS One 20(8): e0329121. https://doi.org/10.1371/journal.pone.0329121
Editor: Yan-Min Xu, Wuhan Mental Health Centre, CHINA
Received: October 28, 2024; Accepted: July 9, 2025; Published: August 21, 2025
Copyright: © 2025 Zhou et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the paper and its Supporting Information files.
Funding: This work was financially supported by 2022 Ministry of Education of China Humanities and Social Science Youth Foundation Project (22YJC790189), Shanghai Key Laboratory of Urban Design and Urban Science, NYU Shanghai Open Topic Grants.(Grant No.2023YWZhou_LOUD), Zhejiang Provincial Clinical Research Center for Mental Disorders Foundation Project, Shanghai University Young Teachers Cultivation and Support Project, and National Social Science Foundation of China Post-funding Project (24FJB002) . The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors declare that they have no competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Introduction
Men who have sex with men (MSM) tend to experience more severe mental health problems than the general population [1,2]. Previous studies have shown that the prevalence of anxiety in the general population was less than 10%. In stark contrast, the prevalence of anxiety in MSM was significantly higher, ranging from 26.4% to 44% [3]. Subsequent studies indicate that the prevalence rate of anxiety and anxiety disorders among the MSM population reaches 32.2%, with the prevalence rate fluctuating between 12.7% and 57.6% [4]. An epidemiological survey in China’s western region revealed an anxiety prevalence rate of 21.7% among MSM during the COVID-19 pandemic [3]. These researches highlight the spatiotemporal variation characteristics of the anxiety status of this group. However, research on the anxiety prevalence among MSM in China’s eastern region remains limited.
Anxiety in MSM is influenced by multiple factors, including social and cultural factors, psychological and cognitive factors, life stress factors, health – related factors, and internet and social factors. Among these, social and cultural factors (such as lack of social support) and health – related factors (e.g., sexually transmitted diseases) are particularly noteworthy [5–7]. The MSM community often faces societal, family, and self-discrimination, which restricts their access to and perception of social support [5]. Their sexual behavior has largely been unacceptable to the general public, subjecting them to greater social pressure and discrimination. This results in reduced social support and prominent psychosocial problems [6]. MSM with lower social support are more prone to psychological issues [7,8]. This shows a close link between social support and anxiety in the MSM population [9–11], with low social support being significantly and positively associated with increased anxiety risk.
Additionally, psychological resilience is defined as an individual’s capacity to adapt and recover in the face of stress, adversity, or trauma [12]. Extensive research has consistently demonstrated a significant negative correlation between psychological resilience and anxiety levels [13,14]. Specifically, individuals with higher psychological resilience tend to experience lower levels of anxiety. This inverse relationship is particularly evident among MSM community. Within this population, those with greater psychological resilience are better equipped to navigate life’s challenges and stressors, which in turn helps to mitigate the emergence of anxiety. For instance, when confronted with social discrimination and psychological stress associated with HIV infection, individuals with higher psychological resilience display significantly lower levels of anxiety. However, it is important to note that the relationship between psychological resilience and anxiety may not be uniform across different genders and cultural contexts, as highlighted by another study [15].
Self-esteem is an individual’s overall assessment of themselves, encompassing their perceptions of their abilities, self-worth, and self-image. Studies have consistently demonstrated a negative correlation between self-esteem and anxiety: higher self-esteem is associated with lower anxiety levels [16], particularly within the MSM population [17]. Individuals with high self-esteem are generally more adept at managing life’s stressors and challenges, which helps to minimize the onset of anxiety. For instance, when confronted with discrimination, social pressure, or health-related issues such as HIV infection, MSM individuals with high self-esteem tend to exhibit lower levels of anxiety. Conversely, those with low self-esteem are more susceptible to anxiety symptoms, especially among adolescents and young adults. Importantly, self-esteem and anxiety share a bidirectional relationship. Low self-esteem can exacerbate anxiety symptoms, while excessive anxiety can, in turn, undermine an individual’s self-esteem [17].
Given the differential impact of regional culture, socioeconomics, and other factors on the mental health of MSM, it is of great significance to conduct epidemiological studies on anxiety among MSM in Eastern China. Our study aims to investigate the levels of anxiety and perceived social support among the MSM population sample, assess the extent of anxiety associated with low perceived social support and its influencing factors, and provide evidence-based recommendations for the government and relevant departments. These recommendations are designed to reduce the likelihood of psychological problems in the MSM population, enhance social support systems, and help prevent and control the occurrence and spread of AIDS/HIV and related diseases.
Numerous models have been developed to identify disease risk factors among the MSM population. When it comes to the methodology for constructing anxiety discriminative models, each model has its own strengths and limitations [18]. For instance, the multivariate logistic regression model used by Miller et al. [19] offers epidemiologically meaningful parameter interpretations and quantifies the significant effects of variables. However, it struggles to capture complex nonlinear relationships due to its linear assumption. In contrast, the Random Forest and its improved algorithm, Balanced Random Forest, applied by Bari et al. [20] can automatically identify nonlinear relationships and interactions between variables. These methods, however, are limited by high model complexity, susceptibility to overfitting, and poor interpretability. In our study, we use both logistic regression and the decision tree algorithm to leverage the strengths of each. This dual – approach strategy offers threefold benefits: First, the decision tree algorithm effectively captures nonlinear relationships and interaction effects between variables, allowing for a comprehensive assessment of each risk factor’s contribution to anxiety symptoms and ensuring that complex interactions are included in the discriminative model. Second, logistic regression provides clear and interpretable results regarding risk factors. Third, by comparing the results from both models, we enhance the overall detection accuracy. When applying this combined method to the detection of anxiety among MSM, it meets the requirement in public health research for model interpretability while accommodating the nonlinear characteristics of real-world data. Ultimately, this integrated approach provides a more reliable scientific foundation for formulating precise intervention strategies.
Subjects and methods
Participants
This study was a retrospective cross-sectional online survey. The survey was conducted between 15 March and 30 June 2024. This study made use of an Internet service platform for MSM (Sunshine Test) and its staff widely distributed the questionnaire through social platforms such as WeChat groups and QQ groups within the MSM community to ensure more comprehensive and targeted information coverage. The Golden Data website (www.jinshuju.com) was chosen as the questionnaire collection platform. To increase participation, we designed an incentive policy, offering each WeChat or QQ user a 10 RMB gift, like a phone recharge voucher, upon completion as a token of gratitude for their time and contribution. Given the confidentiality of the MSM community, the survey was conducted anonymously online. To guarantee the authenticity and uniqueness of responses, we restricted each IP address to complete the survey only once in order to prevent duplicate submissions. Respondents were informed of their right to refuse participation at any time and provided informed consent prior to the survey,
Inclusion criteria for this study were as follows: (1) participants who were identified as MSM, including gay men, bisexual men, heterosexual men and transgender men; (2) respondents who were age ≥ 18 years; (3) respondents who were conscious, with basic literacy; (4) individuals who were able to operate mobile phones; (5) participants who gave informed consent to this study and voluntary participation. Exclusion criteria: Entries with missing information, logical inconsistencies, or unusually short completion times (e.g., under 30 seconds) were excluded from the analysis.
Instruments
The questionnaire, designed by the investigators, consisted of three parts: basic personal information, Generalized Anxiety Disorder Scale (GAD-7), and a set of additional psychological scales, including Perceived Social Support Scale (PSSS), Rosenberg Self-Esteem Scale (RSES) and Connor-Davidson Resilience Scale (CD-RISC). The basic personal information section included age, occupation, marital status, education, monthly income, religious beliefs, employment status, HIV test status, syphilis test status, hepatitis C test status, anti-HIV medication status, sex with men in the past 6 months, sex with women in the past 6 months, HIV disclosure status, and area of residence.
We employed the GAD-7 to assess participants’ anxiety levels. The GAD-7 is a widely used self-report scale designed to screen for and assess the severity of generalized anxiety disorder. The scale consists of 7 items, each of which is rated based on the frequency of symptoms experienced over the past two weeks. Scoring criteria: Each item is scored on a 4-point Likert scale, ranging from 0 (not at all) to 3 (nearly every day), with a total score ranging from 0 to 21. Interpretation criteria: 0–4 points: No clinically significant anxiety; 5–9 points: Mild anxiety; 10–14 points: Moderate anxiety; ≥ 15 points: Severe anxiety. A score of ≥10 was considered to be anxiety symptoms [21].
The PSSS is a self-report scale designed to assess the degree of social support that an individual perceives. The scale consists of 12 items divided into three dimensions: family support, friend support, and other support. Scoring and interpretation criteria: Each item is scored on a 7-point Likert scale, ranging from “strongly disagree” (1 point) to “strongly agree” (7 points), with a total score ranging from 12 to 84 points. Interpretation criteria: Scores of 12–36 represent low social support status; 37–60 represent medium social support status; and 6l - 84 represent high social support status [22].
The RSES is used to assess an individual’s level of self-esteem. The RSES consists of 10 items, with 5 items being positively worded and 5 items being negatively worded. Each item is scored on a 4-point Likert scale. The total score range for the RSES is from 10 to 40 points. Low self-esteem corresponds to a total score between 10 and 25 points; medium self-esteem corresponds to a total score between 26 and 29 points; and high self-esteem corresponds to a total score between 30 and 40 points [23].
The CD-RISC is a tool developed by American psychologists Connor and Davidson in 2003 to assess an individual’s resilience in the face of adversity. The CD-RISC scale includes 25 items, each scored on a 5-point Likert scale. The total score range for the CD-RISC is from 0 to 100 points. Low resilience corresponds to a total score between 0 and 49 points; medium resilience corresponds to a total score between 50 and 74 points; and high resilience corresponds to a total score between 75 and 100 points [24].
The GAD-7, PSSS, RSES, and CD-RISC have all demonstrated robust psychometric properties and have been extensively utilized across diverse populations in China and other countries [25–29]. These scales demonstrate strong reliability and validity, making them suitable for our study [21–29].
Statistical methods
Binary logistic regression and Chi-squared Automatic Interaction Detector (CHAID) decision tree modeling were used to analyze factors affecting anxiety and social support in the MSM population. The parameters of the CHAID decision tree model were set as follows: the significance level for node splitting and category merging was set at 0.05. The maximum growth depth of the decision tree was 3 layers. The minimum case number of the parent node and the child node was 100 and 50, respectively.
A node became terminal when its sample size did not meet the minimum requirement, and was not split further. SPSS 26.0 software was used for statistical analysis. Count data were expressed as the number of cases (percentage), and the Chi-square test was used for group comparisons. Statistical inference employed two-sided tests, and differences were considered statistically significant at P < 0.05.
Classification model predictions yield four scenarios: True Positives (TP) – correct positive predictions; True Negatives (TN) – correct negative predictions; False Positives (FP) – incorrect positive predictions; False Negatives (FN) – incorrect negative predictions [30]. The performance of classification-based algorithms can be evaluated using accuracy, precision, recall and F1 score [34]. The machine learning performance metrics were calculated as follows: Accuracy = (TP + TN)/ (TP + TN + FP + FN); Precision = TP/ (TP + FP); Recall = TP/ (TP + FN); and F1 score = 2/ [(1/recall) + (1/precision)].
Ethical review
This study was reviewed and approved by the Medical Ethics Committee of The Affiliated Kangning Hospital of Wenzhou Medical University (No 2023014). The research was conducted in line with the Declaration of Helsinki and Good Clinical Practice. All information collected during the survey was kept confidential and not disclosed. A designated person was responsible for storing the data. Respondents were fully aware of how their information would be used. Prior to starting the survey, informed consent was meticulously obtained from every respondent online. It was strictly required that only those who had provided informed consent and were willing to participate were allowed to take part. If informed consent was not acquired from the respondents, or if they expressed a reluctance to engage in the survey, their participation was not permitted.
Results
Participant characteristics
A total of 1,113 MSM individuals were recruited for this survey. After excluding 43 respondents due to incomplete questionnaires and logical issues, 1,070 participants met the inclusion criteria, resulting in an effective response rate of 96.1%. The respondents’ ages ranged from 18 to 65 years, with a mean age of 28.5 ± 8.5 years. A significant portion, 54.1% (579/1070) were aged 20–29 years. Regarding marital status, 79.3% (848/1070) were unmarried. In terms of education, 41.4% (443/1070) had attained a university education or higher. For monthly income, 37.4% (400/1070) reported an income of ≥6,000 Chinese Yuan (CNY). Concerning religious belief, 23.9% (256/1070) identified as Buddhist. In terms of employment, 71.3% (763/1070) had regular employment. Regarding place of residence, 33.7% (361/1,070) lived in urban areas. When it came to sexual behavior, 62.1% (664/1,070) had sex with men in the past 6 months, while 12.1% (129/1070) had sex with women. In terms of health check-ups, 75.1% (803/1070) had been tested for hepatitis C, 77.0% (824/1070) for syphilis and 87.8% (939/1070) for HIV.
Univariate analysis of anxiety symptoms and social support in the MSM population
Among the 1070 MSM respondents, 210 cases (19.6%) had anxiety symptoms. Univariate analysis showed statistically significant differences between the anxiety symptoms and the non-anxiety symptoms in the MSM population in terms of age, marital status, income, employment status and receipt of HIV testing (P < 0.05). See Table 1.
Further analysis divided the MSM population into two groups based on perceived social support level. Of these,138 participants (12.9%) had low social support, while 932 participants (87.1%) had medium-high social support. Of the 138 individuals with low social support, 53 (38.41%) exhibited anxiety symptoms. Conversely, among the 932 individuals with medium or high social support, 158 (16.95%) showed signs of anxiety. There was a significantly higher rate of anxiety symptoms in the low social support group than in the medium or high social support group (χ2 = 34.945 P < 0.001). Among all respondents, Overall, 4.95% had both anxiety and low social support. Univariate analysis also showed statistically significant differences (P < 0.05) between the low and medium-high social support groups regarding educational background, receipt of HIV testing, hepatitis C testing, syphilis testing, and use of anti-HIV medications.
Logistic regression of factors influencing both anxiety symptoms and low social support in the MSM population
Before conducting binary logistic regression, we performed a multicollinearity test, which indicated that all variables had VIF values between 1.1 and 3.1, well below the threshold of 10. Subsequently, we incorporated variables that were significant in the univariate analysis into the logistic regression model. The results revealed that employed MSM individuals exhibited an odds ratio (OR) of 0.405 (95% CI: 0.181–0.906) for experiencing anxiety symptoms with low social support relative to their unemployed counterparts (P < 0.05). Additionally, self-esteem displayed a regression coefficient of −0.227, signifying that higher self-esteem was linked to a lower likelihood of anxiety symptoms under conditions of low social support among MSM individuals. Specifically, the OR for self-esteem was 0.797 (95% CI: 0.732–0.867), implying that each one-unit increase in self-esteem corresponds to a 20.3% reduction in the relative risk of developing anxiety symptoms. In a similar vein, psychological resilience presented a regression coefficient of −0.048, indicating that enhanced psychological resilience was associated with a lower probability of anxiety symptoms in the context of low social support. The OR for psychological resilience stood at 0.953 (95% CI: 0.929–0.978), suggesting that each one-unit increase in psychological resilience is tied to a 4.7% decrease in the relative risk of anxiety symptoms. Overall, these findings highlight that employment status, self-esteem, and psychological resilience are pivotal factors related to anxiety symptoms in the MSM population with low social support. See Table 2 for details.
CHAID decision tree modeling of factors influencing anxiety symptoms with low social support in the MSM population
The CHAID model showed that self-esteem and psychological resilience were the significant factors associated with anxiety with low social support among MSM, with self-esteem emerging as the primary predictor at the first level of the decision tree. Specifically, among MSM individuals, the prevalence of anxiety with low social support was 24.0%, 6.5%, and 1.1% for those with self-esteem scores of ≤ 21, 21–25, and >25 points, respectively, indicating a clear downward trend in anxiety cases as self-esteem scores increased (χ² = 115.735, P < 0.001). At the second level of the decision tree, for individuals with self-esteem scores of 21–25, psychological resilience was the next key factor. Among the 248 individuals, the prevalence of both anxiety and low social support was 10.9% for those with psychological resilience scores ≥ 47, compared to 0.9% for those with scores < 47 (χ² = 10.062, P < 0.05). Overall, the decision tree analysis highlighted the critical roles of self-esteem and psychological resilience in influencing anxiety with low social support in the MSM population, findings consistent with our logistic regression results. See Fig 1.
The decision tree model in this study demonstrated strong performance with an accuracy of 96.17%. It had a precision of 57.69% and a recall of 84.91%, indicating good balance between these two metrics. The specificity was high at 96.76%, and the Youden’s index was 82.67%. The F1 - score, which combines precision and recall, was 0.687.
Discussions
MSM is an inclusive term used to refer to phenotypic males who have insertive or receptive sex (penile-anal or penile-oral) with other phenotypic males, including people who are transgender or have other gender identities [31]. This population is more susceptible to HIV transmission due to the nature of their sexual activities such as anal sex, and because they often have multiple and irregular sexual partners. Additionally, MSM face significant mental health risk. Contrary to traditional beliefs, this population is not accepted by society and the public at large, which often leads to a variety of psychological problems, such as increased stress, anxiety, depression and suicidal ideation, and the prevalence of these psychological problems is higher among MSM than among heterosexuals [1–2]. Moreover, these individuals tend to have lower levels of social support [29]. However, the changes in anxiety and perceived social support among MSM are influenced by a combination of factors, including individual characteristics, psychological factors, social environment, family situation, and self-identity. Given these pressing concerns, the present study conducted a cross-sectional online survey targeting the MSM population, with the aim of elucidating the prevalence of anxiety and low perceived social support within this group, as well as the prevalence of anxiety concurrent with low perceived social support. Additionally, the study aimed to identify the factors influencing the concurrent occurrence of anxiety and low perceived social support through logistic regression and decision tree models. These efforts are intended to promote mental health, enhance social support, eliminate the negative influencing factors, and ultimately prevent and interrupt the transmission of HIV.
Several studies have investigated the prevalence of anxiety symptoms among the MSM population [1,4,32,33]. A study in Zambia reported that the prevalence of anxiety among MSM was 45% [1]. Similarly, another survey in Australia showed that the prevalence of anxiety in the HIV-positive MSM population was 36%, which is significantly higher than the 11% prevalence in the general male population in that country [32,33]. However, the present study found that the prevalence of overall anxiety in the MSM population was 19.6%, which was lower than the rates reported in the aforementioned studies [1,32,33]. Overall, the prevalence of anxiety among MSM has been found to vary across different studies, and this variation can be attributed to a multitude of factors, including socio-cultural elements, research methodology, individual characteristics, and social support [4,34].
Social support is a social network that includes three dimensions: family support, friend support, and other support (e.g., social relationships with neighbors, leaders, etc.) [35]. Many studies have shown that social support is closely related to the MSM population [29,36], but there are limited reports on the proportion of low social support within this population. In our study, the prevalence of low social support in the MSM population was 12.9% (138/1070), which was significantly lower than the findings of Lu et al. [37]. This may be related to the different types of perceived social support scales used in the survey and the different criteria for determining low social support.
Several studies have shown that perceived social support is strongly associated with anxiety in the MSM communities [13,38] and that increases in social support significantly reduce anxiety levels [39–41]. In some individuals within the MSM population, anxiety and low social support often coexist. However, according to searches in databases such as PubMed, there have been no reports on the frequency of individuals with anxiety and low social support among the MSM population. Our survey shows that the proportion of individuals with both anxiety and low social support among the MSM population is 4.95%. This group of people should be given high attention and provided with more social support. Social support is crucial, and good interpersonal relationships and joining support groups can provide emotional support. In addition, anxiety can be reduced through a variety of methods and approaches, such as psychological adjustment, lifestyle changes, and professional intervention. In terms of psychological adjustment, cognitive-behavioral therapy, mindfulness meditation, and relaxation training can help change negative thinking and relieve tension. In terms of lifestyle, regular sleep patterns, healthy diet, moderate exercise, and developing hobbies can stabilize emotions and divert attention [42]. When necessary, professional help should be sought, such as medication, psychotherapy, and alternative therapies [13].
Our research indicates that unemployment, self-esteem, and psychological resilience are factors related to the co-occurrence of anxiety and low social support among the MSM population [13].
Some studies have shown that unemployment is a risk factor for anxiety [43]. In general, unemployment disrupts daily life and is detrimental to mental health. Due to a lack of a job and income, individuals face worries and concerns about the future, as well as increased pressure to find employment, making them more prone to anxiety [44]. The present study shows that the prevalence of anxiety is higher among the unemployed than among the employed, which is consistent with the aforementioned report [43]. Measures should be taken to increase employment opportunities in the future [43–45].
A cross-sectional study involving over 1,000 Norwegian adolescents revealed a strong negative correlation between self-esteem and anxiety [42]. Similarly, another longitudinal study indicated that low self-esteem predicts increased anxiety levels in the future [17] and raises the risk of anxiety relapse three years later [17]. In our study, within the MSM population, self-esteem is a crucial factor associated with the co-occurrence of anxiety symptoms and low social support, being intricately and significantly linked to anxiety and social support. This finding is consistent with the aforementioned reports [17,42]. Self-esteem indirectly affects anxiety through social support. Individuals with low self-esteem are particularly vulnerable to anxiety, a vulnerability that is significantly amplified by insufficient social support. Moreover, low self-esteem can exacerbate anxiety, which in turn further weakens self-esteem, creating a vicious cycle. Overall, the impact mechanism of self-esteem on anxiety and low social support in the MSM group is complex. Improving self-esteem and enhancing social support are essential measures to improve the mental health of the MSM group. Strong social support networks can empower these individuals to more effectively manage life’s challenges, thereby reducing anxiety levels.
Psychological resilience is a significant influencing factor for both anxiety and social support. Sun et al. [13] conducted a study involving 161 HIV/AIDS patients and found that psychological resilience is negatively correlated with anxiety (r = −0.232, P < 0.01). It also plays a full mediating role between social support and anxiety/depression, contributing 68.42% and 59.34% to the effects of social support and anxiety/depression, respectively. Similarly, Hou et al. [46] reported that psychological resilience is significantly correlated with anxiety (β = −0.253, P < 0.001). The indirect effect of psychological resilience on anxiety through perceived social support is significant (ab = −0.147, 95% CI = −0.199, −0.101), accounting for 57.9% of the total effect. In our study, psychological resilience emerges as a crucial factor associated with both anxiety and low social support among the MSM population sample. These findings align with the reports of the aforementioned researchers [13,46]. Individuals with low psychological resilience often lack effective coping strategies when facing stress, making them more susceptible to anxiety [47]. Moreover, inadequate psychological resilience hampers their ability to establish and maintain social relationships, further diminishing the social support they receive. These data further reveal the impact mechanism of psychological resilience on anxiety and low social support in the MSM population, providing strong support for a deeper understanding of the issue.
In our study, logistic regression analysis can reflect the relationship between anxiety and various variables in the MSM population, yet it can’t intuitively show the importance of each influencing factor for anxiety symptoms. The CHAID decision tree model can effectively complement logistic regression by illustrating the importance of each factor for the outcome variable and can be displayed clearly and intuitively in the form of a tree diagram. Moreover, the decision tree algorithm can naturally capture the combinations of features and explore the interactions between these features. Decision tree modeling has been used clinically to discriminate and predict a variety of diseases (e.g., diabetes mellitus, hepatocellular carcinoma, acute myocardial infarction, hemodialysis, mental disorder, etc.) [48–52] and aid treatment decisions [52]. However, after searching several databases like PubMed, no decision tree model combined with logistic regression was found to determine predictors of both anxiety and low social support in the MSM population. In our study, the decision tree’s robust feature assessment can accurately identify critical factors for diagnosing individuals with concurrent anxiety and low social support in the MSM population. The results show that self-esteem and psychological resilience are of great value in the diagnostic process, especially self-esteem. Specifically, MSM individuals with low self-esteem and weak psychological resilience are more prone to anxiety and low social support. The decision tree model clearly shows the key roles of self-esteem and psychological resilience in diagnosis [53]. Combining decision tree algorithm with logistic regression, enables earlier, more comprehensive screening for anxiety and low social support risk factors. This allows targeted interventions to improve social support and prevent or delay anxiety onset and progression.
In our study, the decision tree model demonstrates excellent performance in terms of accuracy (96.17%) and specificity (96.76%), effectively classifying the majority of samples, including the accurate identification of negative cases. With a high sensitivity of 84.91%, it also efficiently detects positive samples. The high Youden’s index (82.67%) indicates a good balance between sensitivity and specificity, offering strong diagnostic and classification value. An F1 score of 0.687 shows some balance between precision and sensitivity, but there’s room for improvement. However, the model’s relatively low precision suggests a higher likelihood of false positives.
This cross-sectional study, conducted between March and June 2024, has limitations in capturing the dynamic nature of anxiety and social support. Since both are influenced by numerous factors, they fluctuate over time. By nature, cross-sectional studies only provide a static data snapshot at a specific time point, making them unsuitable for tracking variable changes over extended periods. To better understand these dynamic factors and reveal their complex temporal patterns, future research should adopt a prospective cohort study design. This approach would enable observation of how anxiety and social support evolve and interact over time, offering insights unattainable through single-time-point studies.
These methodological constraints are further compounded by several specific study limitations: (1) The sample was recruited through an internet service platform, which may not be representative of the entire MSM population; (2) As a cross-sectional survey, the results inherit the inherent shortcomings of this design, particularly the inability to establish causal relationships; (3) The reliance on self-reported data introduces potential recall bias, as participants may inaccurately report their anxiety symptoms or social support levels; (4) The exclusive use of self-reported measures systematically increases the risk of response bias; (5) The narrow temporal focus (March-June 2024) cannot account for potential fluctuations in anxiety and social support across different time periods.
Conclusion
In this study, we investigated anxiety symptoms and perceived social support in the MSM population, along with their associated factors. Our results showed that out of 1070 participants, 210 (19.6%) exhibited anxiety symptoms. The prevalence of low levels of perceived social support in this population was 12.9%. Notably, 4.95% of individuals displayed both anxiety symptoms and low levels of perceived social support. Logistic regression analysis showed that employment status, self-esteem and psychological resilience were significantly associated with the occurrence of anxiety symptoms with low social support in the MSM population. Specifically, these factors substantially increased the likelihood of experiencing anxiety symptoms in the context of inadequate social support. Subsequent analysis using a decision tree algorithm identified that self-esteem and psychological resilience were key factors related to anxiety symptoms and low perceived social support in the MSM population, with self-esteem having a more substantial impact on the outcome than psychological resilience. Given these findings, it is crucial for the government, related departments and social communities to implement targeted measures for the MSM group. These measures should focus on enhancing employment opportunities, boosting self-esteem, and strengthening psychological resilience. By doing so, we can increase social support and effectively reduce anxiety levels among this population.
Supporting information
S1 File. Data on Anxiety with low social support among MSM.
https://doi.org/10.1371/journal.pone.0329121.s001
(XLSX)
Acknowledgments
We would like to express our heartfelt gratitude to all the staff at The Affiliated Kangning Hospital of Wenzhou Medical University who were involved in the investigation.
References
- 1. Zulu JM, Budhwani H, Wang B, Menon A, Kim D, Zulu M, et al. Living a private lie: intersectional stigma, depression and suicidal thoughts for selected young key populations living with HIV in Zambia. BMC Public Health. 2024;24(1):1937. pmid:39030515
- 2. Gautam K, Aguilar C, Paudel K, Dhakal M, Wickersham JA, Acharya B, et al. Preferences for mHealth Intervention to Address Mental Health Challenges Among Men Who Have Sex With Men in Nepal: Qualitative Study. JMIR Hum Factors. 2024;11:e56002. pmid:38551632
- 3. Pan H, Lin B, Shi G, Ma Y, Zhong X. Anxiety and Depression Status and Influencing Factors of MSM in the Post-COVID-19 Epidemic Period: A Cross-Sectional Study in Western China. Am J Mens Health. 2021;15(6):15579883211057701. pmid:34836469
- 4. Yang J, Zhang Z, Cheng LJ, Chen J, Wu VX. The Prevalence of Anxiety among Men Who Have Sex with Men: A Protocol for A Systematic Review and Meta-Analysis. IJERPH. 2023;20(2):1315.
- 5. Zhao Y, Khoshnood K, Sheng Y. Social support as a mediator between mental health and stigma among newly HIV-positive men who have sex with men. Int J STD AIDS. 2024;35(6):477–86.
- 6. Zhou T, Chen Q, Zhong X. Associations between sexual identity stigma and positive sexual identity, and depression among men who have sex with men in China: A mediation analysis using structural equation modelling. Ann Epidemiol. 2024;96:32–9. pmid:38830488
- 7. Pulerwitz J, Gottert A, Tun W, Eromhonsele AF, Oladimeji PL, Shoyemi E, et al. Reducing stigma and promoting HIV wellness/mental health of sexual and gender minorities: RCT results from a group-based programme in Nigeria. J Int AIDS Soc. 2024;27(6):e26256. pmid:38837614
- 8. Nabil F, Grachev K, Gasch-Gallén Á, Rosés I Belló A, Mamadou Mbaye EH, Gueye K, et al. The design and evaluation of a training program on culturally competent psychosocial care provision for men who have sex with men in Senegal. PLoS One. 2023;18(7):e0288018. pmid:37432914
- 9. Gao L, Qu J, Wang AY. Anxiety, depression and social support in pregnant women with a history of recurrent miscarriage: a cross-sectional study. J Reprod Infant Psychol. 2020;38(5):497–508. pmid:31411054
- 10. Nath A, Venkatesh S, Balan S, Metgud CS, Krishna M, Murthy GVS. The prevalence and determinants of pregnancy-related anxiety amongst pregnant women at less than 24 weeks of pregnancy in Bangalore, Southern India. Int J Womens Health. 2019;11:241–8. pmid:31114392
- 11. Tang X, Lu Z, Hu D, Zhong X. Influencing factors for prenatal Stress, anxiety and depression in early pregnancy among women in Chongqing, China. J Affect Disord. 2019;253:292–302. pmid:31077972
- 12. Weitzel EC, Löbner M, Glaesmer H, Hinz A, Zeynalova S, Henger S, et al. The Association of Resilience with Mental Health in a Large Population-Based Sample (LIFE-Adult-Study). Int J Environ Res Public Health. 2022;19(23):15944. pmid:36498017
- 13. Sun Y, Song B, Zhen C, Zhang C, Cheng J, Jiang T. The mediating effect of psychological resilience between social support and anxiety/depression in people living with HIV/AIDS-a study from China. BMC Public Health. 2023;23(1):2461. pmid:38066520
- 14. Dalmış AB, Büyükatak E, Sürücü L. Psychological Resilience and Future Anxiety Among University Students: The Mediating Role of Subjective Well-Being. Behavioral Sciences. 2025;15(3):244.
- 15. Farhane-Medina NZ, Luque B, Tabernero C, Castillo-Mayén R. Factors associated with gender and sex differences in anxiety prevalence and comorbidity: A systematic review. Sci Prog. 2022;105(4):368504221135469. pmid:36373774
- 16. Henriksen IO, Ranøyen I, Indredavik MS, Stenseng F. The role of self-esteem in the development of psychiatric problems: a three-year prospective study in a clinical sample of adolescents. Child Adolesc Psychiatry Ment Health. 2017;11:68. pmid:29299058
- 17. Li W, Guo Y, Lai W, Wang W, Li X, Zhu L, et al. Reciprocal relationships between self-esteem, coping styles and anxiety symptoms among adolescents: between-person and within-person effects. Child Adolesc Psychiatry Ment Health. 2023;17(1):21. pmid:36755330
- 18. Wiss DA, Prelip ML, Upchurch DM, von Ehrenstein OS, Tomiyama AJ, Gorbach PM, et al. Association between Childhood Maltreatment and Depressive and Anxiety Symptoms among Men Who Have Sex with Men in Los Angeles. J Urban Health. 2023;100(2):327–40. pmid:36826734
- 19. Miller AL, Miller LE, Bhattacharyya M, Bhattacharyya R. Depression and Anxiety Among Sexual Minorities in the United States: A Cross-Sectional Analysis of the National Health Interview Survey. Cureus. 2024;16(7):e64580. pmid:39144850
- 20. Bari S, Kim B-W, Vike NL, Lalvani S, Stefanopoulos L, Maglaveras N, et al. A novel approach to anxiety level prediction using small sets of judgment and survey variables. Npj Ment Health Res. 2024;3(1):29. pmid:38890545
- 21. Liu L, Gou Z, Zuo J. Social support mediates loneliness and depression in elderly people. J Health Psychol. 2016;21(5):750–8. pmid:24925547
- 22. Zimet GD, Powell SS, Farley GK, Werkman S, Berkoff KA. Psychometric characteristics of the multidimensional scale of perceived social support. J Pers Assess. 1990;55(3–4):610–7.
- 23. Lu C, Yuan L, Lin W, Zhou Y, Pan S. Depression and resilience mediates the effect of family function on quality of life of the elderly. Arch Gerontol Geriatr. 2017;71:34–42. pmid:28273547
- 24. Sauceda JA, Wiebe JS, Simoni JM. Childhood sexual abuse and depression in Latino men who have sex with men: Does resilience protect against nonadherence to antiretroviral therapy?. J Health Psychol. 2016;21(6):1096–106.
- 25. Zhong B-L, Zhou D-Y, He M-F, Li Y, Li W-T, Ng CH, et al. Mental health problems, needs, and service use among people living within and outside Wuhan during the COVID-19 epidemic in China. Ann Transl Med. 2020;8(21):1392–1392.
- 26. Wu R-Y, Ge L-F, Zhong B-L. Media consumption patterns and depressive and anxiety symptoms in the Chinese general population during the COVID-19 outbreak. World J Psychiatry. 2025;15(4).
- 27. Wang R, Jin C. Parenting styles and suicidal ideation among Chinese college students: The mediating role of perceived social support. Acta Psychol (Amst). 2025;255:104992. pmid:40194485
- 28. Mo PKH, Chen X, Lam EHK, Li J, Kahler CW, Lau JTF. The Moderating Role of Social Support on the Relationship Between Anxiety, Stigma, and Intention to Use Illicit Drugs Among HIV-Positive Men Who Have Sex with Men. AIDS Behav. 2020;24(1):55–64. pmid:31754966
- 29. Henderson ER, Haberlen SA, Coulter RWS, Weinstein AM, Meanley S, Brennan-Ing M, et al. The role of social support on cognitive function among midlife and older adult MSM. AIDS. 2023;37(5):803–11. pmid:36728912
- 30. Zhou Y, Zhang Z, Li Q, Mao G, Zhou Z. Construction and validation of machine learning algorithm for predicting depression among home-quarantined individuals during the large-scale COVID-19 outbreak: based on Adaboost model. BMC Psychol. 2024;12(1):230. pmid:38659077
- 31. McMullan S, Anderson T, Elhage N. Preventive Care for Men Who Have Sex With Men. Am Fam Physician. 2024;109(4):324–32. pmid:38648831
- 32. Wei D, Wang X, You X, Luo X, Hao C, Gu J, et al. Prevalence of depression, anxiety and suicide among men who have sex with men in China: a systematic review and meta-analysis. Epidemiol Psychiatr Sci. 2020;29:e136. pmid:32536353
- 33. Heywood W, Lyons A. HIV and Elevated Mental Health Problems: Diagnostic, Treatment, and Risk Patterns for Symptoms of Depression, Anxiety, and Stress in a National Community-Based Cohort of Gay Men Living with HIV. AIDS Behav. 2016;20(8):1632–45. pmid:26874848
- 34. Chen S, Zhu Y-Y, Chu Z-X, Zhou H, Liu M, Jiang Y-J, et al. Trajectories of anxiety and depression among Chinese men who have sex with men on pre-exposure prophylaxis: a group-based trajectory model approach. BMC Public Health. 2024;24(1).
- 35. Killien M, Brown MA. Work and family roles of women: Sources of stress and coping strategies. Health Care for Women International. 1987;8(2–3):169–84.
- 36. Fredriksen-Goldsen KI, Emlet CA, Kim H-J, Muraco A, Erosheva EA, Goldsen J, et al. The physical and mental health of lesbian, gay male, and bisexual (LGB) older adults: the role of key health indicators and risk and protective factors. Gerontologist. 2013;53(4):664–75. pmid:23034470
- 37. Lu XH, Zhang YJ, Liu Q, Zhang QX, Niu Y, Ma Z. Understanding the impact of social support on stress response during the epidemic: the mediating role of shame and loneliness. Chinese Journal of Clinical Psychology. 2022;30(3):744–8.
- 38. Acoba EF. Social support and mental health: the mediating role of perceived stress. Front Psychol. 2024;15:1330720. pmid:38449744
- 39. Cho H, Lee K, Choi E, Cho HN, Park B, Suh M, et al. Author Correction: Association between social support and postpartum depression. Sci Rep. 2022;12(1):3899. pmid:35246598
- 40. Fernandez SB, Dawit R, Nawfal ES, Ward MK, Ramírez-Ortiz D, Sheehan DM, et al. Psychosocial and socioeconomic changes among low-income people with HIV during the COVID-19 pandemic in Miami-Dade County, Florida: racial/ethnic and gender differences. HIV Res Clin Pract. 2024;25(1):2363129. pmid:38907537
- 41. Malik A, Waqas A, Atif N, Perin J, Zaidi A, Sharif M, et al. Multiple mediation analysis of a task-shared psychosocial intervention for perinatal anxiety: Exploratory findings from a randomized controlled trial in Pakistan. J Affect Disord. 2024;364:41–7. pmid:39137833
- 42. Liu J, Chang S, Wang Z, Raja FZ. Exploring the association between social support and anxiety during major public emergencies: a meta-analysis of the COVID-19 pandemic. Front Public Health. 2024;12:1344932. pmid:39045156
- 43. Khubchandani J, Sharma S, Webb FJ, Wiblishauser MJ, Bowman SL. Post-lockdown depression and anxiety in the USA during the COVID-19 pandemic. J Public Health (Oxf). 2021;43(2):246–53. pmid:33426559
- 44. Islam MS, Ferdous MZ, Potenza MN. Panic and generalized anxiety during the COVID-19 pandemic among Bangladeshi people: An online pilot survey early in the outbreak. J Affect Disord. 2020;276:30–7. pmid:32697713
- 45. Sharifi A, Fallahi-Khoshknab M, Mohammadi S, Zeraati M, Jamshidi Z, Aghabeygi-Arani M, et al. Depression, anxiety, and stress among Iranian nurses in COVID-19 care wards. BMC Psychol. 2022;10(1).
- 46. Hou T, Yin Q, Xu Y, Gao J, Bin L, Li H, et al. The Mediating Role of Perceived Social Support Between Resilience and Anxiety 1 Year After the COVID-19 Pandemic: Disparity Between High-Risk and Low-Risk Nurses in China. Front Psychiatry. 2021;12:666789. pmid:34108897
- 47. Shaygannejad V, Mirmosayyeb O, Shaygannejad A, Vaheb S, Bagherieh S, Askari M, et al. Social support and anxiety correlation with resilience in patients with multiple sclerosis during COVID-19 pandemic. CJN. 2023.
- 48. Choi H-Y, Kim E-Y, Kim J. Prognostic factors in diabetes: Comparison of Chi-square automatic interaction detector (CHAID) decision tree technology and logistic regression. Medicine (Baltimore). 2022;101(42):e31343. pmid:36281142
- 49. Zhou Z, Chen C, Sun M, Xu X, Liu Y, Liu Q, et al. A decision tree model to predict liver cirrhosis in hepatocellular carcinoma patients: a retrospective study. PeerJ. 2023;11:e15950. pmid:37641600
- 50. Khazaei S, Najafi-GhOBADI S, Ramezani-Doroh V. Construction data mining methods in the prediction of death in hemodialysis patients using support vector machine, neural network, logistic regression and decision tree. J Prev Med Hyg. 2021;62(1):E222–30. pmid:34322640
- 51. Owora AH, Tepper RS, Ramsey CD, Becker AB. Decision tree-based rules outperform risk scores for childhood asthma prognosis. Pediatr Allergy Immunol. 2021;32(7):1464–73. pmid:33938038
- 52. Wang K, Liu Q, Mo S, Zheng K, Li X, Li J, et al. A decision tree model to help treatment decision-making for severe spontaneous intracerebral hemorrhage. Int J Surg. 2024;110(2):788–98. pmid:37939108
- 53. Liu Q, Jiang M, Li S, Yang Y. Social support, resilience, and self-esteem protect against common mental health problems in early adolescence: A nonrecursive analysis from a two-year longitudinal study. Medicine (Baltimore). 2021;100(4):e24334. pmid:33530225