A questionnaire-based model to prioritize additional support during HIV testing encounters among men who have sex with men: temporal and geographic external validation
Year: 2026
Type: article
Abstract: Background: HIV sentinel surveillance collects behavioral and service-use information from men who have sex with men (MSM), but these data are mainly used for routine reporting. We assessed whether pre-test questionnaire data could help prioritize testing encounters for optional additional support. Methods: We conducted a retrospective prediction modeling study using de-identified MSM surveillance records. Data from Nantong collected in 2020-2023 were used for model development, and records from 2024-2025 were used for temporal validation. Surveillance records from an external city in Shandong Province were used for geographic external validation. The final model was a calibrated stacked ensemble combining penalized logistic regression, random forest, and HistGradientBoosting. We evaluated the complete modeling and calibration workflow using nested cross-fitting. Model selection, calibration, and threshold selection used development data only. Results: The development cohort included 1,585 encounters and 73 confirmed HIV-positive events. Temporal validation included 803 encounters and 29 confirmed HIV-positive events, while geographic external validation included 1,622 encounters and 52 confirmed HIV-positive events. AUROC values were 0.963 (95% CI 0.930-0.990) and 0.974 (95% CI 0.955-0.989) in temporal and geographic validation, respectively. The corresponding AUPRC values were 0.696 (95% CI 0.536-0.880) and 0.746 (95% CI 0.652-0.842). At the locked threshold, sensitivity was 75.9 and 86.5%. Selecting the highest-scoring 10% of encounters captured 86.2 and 88.5% of confirmed events. Calibration slopes were 1.530 and 1.414, respectively. The model overestimated overall risk in geographic validation. Conclusion: Pre-test questionnaire data supported the ranking of HIV testing encounters in both temporal and geographic validation. The model may help services plan optional counseling, prevention assessment, peer support, or follow-up when service capacity is limited. The scores should not be treated as exact individual probabilities. They should not be used for HIV diagnosis or to restrict access to testing or other standard services. Prospective evaluation and monitoring are needed before routine use.
Source: Frontiers in Public Health
Language: English
Subfield: Infectious Diseases
Field: Medicine
Domain: Health Sciences
Open Access status: gold
Estimated APC paid: $3,801
OpenAlex ID: W7222592101
