A structural equation modeling approach to investigate HIV testing willingness for men who have sex with men in China
AIDS Research and Therapy volume 20, Article number: 64 (2023)
A substantial risk of contracting Human immunodeficiency virus (HIV) exists among men who have sex with men (MSM), and HIV infection rates have been rising. This study aimed to analyze the factors influencing the Chinese MSM population’s intention to test for HIV.
Nonprobability sampling techniques were employed in June 2022 to recruit MSM in Chongqing and Sichuan, China. The data were analyzed using structural equation modeling (SEM), which is based on the knowledge-attitude-behavior (KAB) theory.
Among 1687 participants, 964 (57.1%) of the MSM were willing to have an HIV test. The results of the structural equation modeling (SEM) showed that knowledge, attitude, and behavior all influenced the testing intention, with attitude having the greatest impact (total effect of 0.22).
HIV testing needs to be increased among MSM as they exhibit a moderate willingness to test. Improving education on HIV knowledge and risk behavior might enhance the willingness of MSM to test for HIV in China.
MSM communities are at high risk for HIV infection, with an infection risk that is 28 times greater than that of other adult men . From 0.23 cases per 100,000 people in 2004 to 4.2 cases per 100,000 people in 2017, China has an upsurge in the prevalence of HIV . For both public health detection and prevention, HIV testing is crucial. The effectiveness of routine HIV testing in lowering HIV infection rates in MSM populations has been demonstrated [3,4,5,6]. The main factors influencing the willingness to test for HIV in the MSM population are knowledge, sexual behavior, positive attitudes, and risk perception [7,8,9,10]. Additionally, HIV testing intention has a significant impact on the promotion of HIV testing among MSM, making this a worthwhile research issue . Therefore, based on the KAB theory, we analyzed the influence of knowledge, attitude, and behavior on HIV testing willingness using SEM.
The non-probability sampling strategy was employed in this study to seek MSM volunteers in Chongqing and Sichuan through non-governmental organization (NGO) collaboration, peer referral and “snowballing” of core members, voluntary counseling and testing (VCT) clinics, and online channels like QQ and WeChat. After obtaining informed consent from the volunteers, a structured electronic questionnaire was distributed to the volunteers by the staff and then collected uniformly.
Sociodemographic characteristics include age, household registration, ethnicity, educational level, employment status, marital status, and monthly disposable income. Based on previous literature, 13 observational variables were identified to measure knowledge of HIV . Attitude was measured using four observed variables (i.e., “Getting tested for HIV helps people feel better”). Five variables were observed in behavior (i.e., drug usage).
SAS version 9.4 was used for data collation and univariate analysis. Categorical data were described in frequencies and percentages, while continuous variables were expressed as means and standard deviations (SD). The chi-square test was used to compare differences between groups. The data were modeled and analyzed using MPLUS version 8.3 for structural equations. The variables with statistical significance (p < 0.05) were selected to construct the model.
1687 MSM in total met the study’s eligibility requirements. The participants’ average age was 29 (SD = 8.02) years old. A total of 964 (57.1%) MSM indicated a willingness to test in the next 6 months. Testing willingness varied by age, household registration, education level, employment status, and monthly disposable income (Table 1). The mean age of participants who were willing to test was 29.65(SD = 8.15), while those who did not intend to test for HIV in the future had a mean age of 27.85(SD = 7.71).
The testing willingness of MSM with different knowledge, attitudes, behaviors is shown in Table 2. MSM who answered correctly were more likely to be tested for HIV than those who answered incorrectly. The vast majority of participants in our study had a positive view of HIV testing. For MSM, willingness to undergo HIV testing increases with the perceived benefits of HIV testing. Higher HIV testing intentions were reported by MSM with several sexual partners in the previous six months, no drug use, no commercial sex activity, and no STDs.
Structural equation model
Figure 1 presents the results from the modified structural equation modeling. The fit indices show that the hypothesized model fit the data acceptably well (CFI = 0.99, TLI = 0.99 RMSEA = 0.04, SRMR = 0.02, and Chi-square/df = 4.2). Knowledge affected HIV testing willingness mainly by changing attitudes, and the standardized indirect effect was 0.19. The standardized direct effect of attitude on willingness to test for HIV was 0.22. The direct effect of behavior on HIV testing willingness was 0.13.
Our study found that MSM had a moderate level of willingness to participate in HIV testing. 57.1% of MSM expressed willingness to be tested for HIV in the next 6 months. A high level of HIV-related knowledge could help MSM establish a correct HIV risk perception and make them aware of the benefits of HIV testing, thus increasing their willingness to test for HIV, according to structural equation modeling. The positive effect of MSM’s HIV knowledge on willingness to test was primarily indirect through its effect on attitude, the study found. This was in line with earlier research, which found that higher levels of knowledge were strongly linked to more optimistic attitudes and that MSM who were more aware of HIV/AIDS were more likely to be open to getting tested for the virus [13, 14]. It is recommended that the government actively take effective measures to strengthen HIV knowledge and enrich the content of HIV knowledge so that high-risk groups with relatively low knowledge can understand the necessity and importance of HIV testing.
Attitude had the greatest impact on willingness to test for HIV. Our findings showed that MSM with a greater perceived benefit of HIV testing had a higher willingness to test. Positive, accurate HIV testing beliefs can, to some extent, influence MSM’s HIV testing habits. But the development of beliefs must take place over time. In order for high-risk people to acquire positive and accurate concepts to raise testing rates, national authorities should continue to push knowledge about the necessity, importance, and benefits of HIV testing.
Consistent with previous findings, our study showed that MSM with high-risk sexual behaviors have a lower willingness to test for HIV [15,16,17]. As a result, MSM who engage in hazardous sexual activity and are sexually active should be the focus of HIV prevention education, which is essential for lowering HIV incidence. There were limitations to this study. Firstly, this study asked about sensitive topics and behaviors in the past 6 months, which may have been affected by reporting bias and recall bias. Secondly, because participants were recruited in Chongqing, Sichuan, the obtained results may not be generalizable to all MSM with HIV.
In our study, more than half of the MSM agreed to have an HIV test. We suggested that a series of measures targeting HIV awareness, high-risk sexual behavior, and attitude development should be taken to increase the willingness of the MSM population to test for HIV.
The datasets involved in the current study are not publicly available due to privacy but are available from the corresponding authors.
human immunodeficiency virus
men who have sex with men
world health organization
structural equation modeling
acquired immunodeficiency syndrome
voluntary counseling and testing
sexually transmitted diseases
root mean square error of approximation
Comparative Fit index
Standardized Root Mean Square Residual
Global HIV. & AIDS statistics — Fact sheet | UNAIDS [Internet]. [cited 2023 Jan 14]. Available from: https://www.unaids.org/en/resources/fact-sheet.
Zheng S. The growing threat of China’s HIV epidemic. Lancet Public Health. 2018;3:e311.
Galárraga O, Sosa-Rubí SG. Conditional economic incentives to improve HIV prevention and treatment in low-income and middle-income countries. Lancet HIV. 2019;6:e705–14.
Redoschi BRL, Zucchi EM, Barros CRDS, Paiva VSF. Routine HIV testing in men who have sex with men: from risk to prevention. Cad Saude Publica. 2017;33:e00014716.
Templeton DJ, Adam PCG, Varma R, Read P, Bourne C, Kao S-C, et al. Evaluation of knowledge and utility of the 2014 australian sexually transmissible infection and HIV testing guidelines for asymptomatic men who have sex with men among general practitioners in Sydney. Sex Health. 2018;15:96–8.
DiNenno EA, Prejean J, Irwin K, Delaney KP, Bowles K, Martin T, et al. Recommendations for HIV Screening of Gay, Bisexual, and other men who have sex with men - United States, 2017. MMWR Morb Mortal Wkly Rep. 2017;66:830–2.
Evangeli M, Ferris K, Kenney NM, Baker LLE, Jones B, Wroe AL. A systematic review of psychological correlates of HIV testing intention. AIDS Care. 2018;30:18–26.
Thapa S, Hannes K, Cargo M, Buve A, Peters S, Dauphin S, et al. Stigma reduction in relation to HIV test uptake in low- and middle-income countries: a realist review. BMC Public Health. 2018;18:1277.
Koutentakis K, Hoyos J, Rosales-Statkus M-E, Guerras J-M, Pulido J, de la Fuente L, et al. HIV self-testing in Spain: a valuable testing option for men-who-have-sex-with-men who have never tested for HIV. PLoS ONE. 2019;14:e0210637.
Fauk NK, Sukmawati AS, Wardojo SSI, Teli M, Bere YK, Mwanri L. The intention of Men who have sex with men to Participate in Voluntary Counseling and HIV Testing and Access Free condoms in Indonesia. Am J Mens Health. 2018;12:1175–84.
UNAIDS - KEY POPULATIONS ATLAS [Internet]. [cited 2023 Jan 14]. Available from: https://kpatlas.unaids.org/dashboard.
Liu J, Deng R, Lin B, Pan H, Gao Y, Dai J, et al. Risk Management on Pre-Exposure Prophylaxis Adherence of Men who have sex with multiple men: a Multicenter prospective cohort study. Risk Manag Healthc Policy. 2021;14:1749–61.
Papagiannis D, Malli F, Raptis DG, Papathanasiou IV, Fradelos EC, Daniil Z, et al. Assessment of Knowledge, Attitudes, and Practices towards New Coronavirus (SARS-CoV-2) of Health Care Professionals in Greece before the outbreak period. Int J Environ Res Public Health. 2020;17:4925.
Magno L, Leal AF, Knauth D, Dourado I, Guimarães MDC, Santana EP, et al. Acceptability of HIV self-testing is low among men who have sex with men who have not tested for HIV: a study with respondent-driven sampling in Brazil. BMC Infect Dis. 2020;20:865.
Kinnman E, Herder T, Björkman P, Månsson F, Agardh A. HIV self-testing for men who have sex with men in Sweden. A cross-sectional study concerning interest to use HIV self-tests. Glob Health Action. 2022;15:2021631.
Stephenson R, Darbes LA, Chavanduka T, Essack Z, van Rooyen H. HIV Testing, Knowledge and willingness to Use PrEP among Partnered Men who have sex with men in South Africa and Namibia. AIDS Behav. 2021;25:1993–2004.
Eaton LA, Driffin DD, Smith H, Conway-Washington C, White D, Cherry C. Black men who have sex with men, sexual risk-taking, and willingness to use rapid home HIV tests. Prev Sci off J Soc Prev Res. 2015;16:321–9.
Thanks to Wei He, Haiying Pan, Tang Wei and Jinyao Jiang for comments and suggestions in the development of this manuscript. We also thank all participants and investigators for their help.
This research was funded by the National Key Project for Infectious Diseases of the Ministry of Science and Technology of China, grant number 2018ZX10721102-005 (“Research on Improving Pre-exposure Preventive Drug Compliance of MSM Population Based on Intelligent Reminder System to Reduce New HIV Infection”).
Ethics approval and consent to participate
The study followed the Helsinki Declaration and was approved by the Ethics Committee of Chongqing Medical University (2019001, 28 May 2019). Informed consent was obtained from all subjects involved in the study.
Consent for publication
The authors declare no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Jiang, H., He, W., Pan, H. et al. A structural equation modeling approach to investigate HIV testing willingness for men who have sex with men in China. AIDS Res Ther 20, 64 (2023). https://doi.org/10.1186/s12981-023-00561-9