Prediction of HIV incidence in Xinjiang Uygur autonomous region, China: a time series study
- 1Department of Hospital Administration Office, First Affiliated Hospital of Xinjiang Medical University
- 2Faculty of Social Sciences and Humanities, Mahidol University
- 3Department of Quality Control Management, Sichuan Provincial Orthopedics Hospital
Abstract
Objective: In China, Xinjiang Uygur Autonomous Region has a high incidence of HIV, and the situation regarding its prevention and control remains challenging. This study aimed to compare the predictive performance of three time series models, SARIMAX (Seasonal Autoregressive Integrated Moving Average with Exogenous Regressors), Prophet with exogenous variables, and random forest, using rolling validation, and to provide references for HIV prevention and control in Xinjiang.
Methods: We collected 168 months of HIV incidence data in Xinjiang from 2012 to 2025. SARIMAX, Prophet, and random forest were developed with COVID-19 as an exogenous intervention variable. Prophet was tuned via grid search (optimal changepoint.prior.scale=0.1, seasonality.prior.scale=1); random forest was optimized with mtry=3 and 12-month lags selected by PACF. Rolling validation used RMSE, MAE, MAPE, sMAPE, and MASE with Bootstrap 95% CI. SARIMAX failed to converge in the first four windows; therefore, models were compared on windows 5–9 (2021–2025).
Results: The optimal SARIMAX model was SARIMAX(0, 1, 4)(1, 0, 0)( 1 ) with an exogenous COVID-19 intervention variable; its residuals passed the Ljung-Box test ( Q = 8.8, p = 0.7199). The Prophet model incorporated seasonal and periodic components and included COVID-19 as an exogenous variable; Bayesian MCMC inference gave a posterior mean of −0.1064. The random forest model used 12 lagged values, month, and COVID-19 as features, achieving a permutation importance (%IncMSE) of 4.31% for the COVID-19 variable, ranking 10th among 14 features. SHapley Additive exPlanations (SHAP) analysis further showed that COVID-19 ranked 14th (last) with a mean absolute SHAP value of 0.00135. Within windows 5–9 (2021–2025), random forest had the lowest RMSE (0.2211), MAE (0.1722), and MAPE (85.83%); (sMAPE 41.11%, MASE 0.8745). However, Diebold–Mariano tests with Bonferroni correction showed no significant differences among models (all p > 0.0167), with small RMSE differences (0.0047–0.0225).
Conclusions: All three models are applicable. Although random forest had the lowest numerical errors, it was statistically indistinguishable from the other models; therefore, model selection should consider interpretability, data-updating frequency, and resource constraints rather than marginal accuracy differences. These findings support HIV surveillance and resource allocation in Xinjiang.
Related
- School-Based Scoliosis Screening Among Children and Adolescents — Wusu City, Xinjiang Uygur Autonomous Region, China, January 2026
- Spatiotemporal patterns and forecasted reported incidence of typhoid fever in Ghana’s Eastern Region, 2016–2024, with forecasts to 2029
- Integrating Genotype With Clinical Indicators Improves Venous Thromboembolism Risk Prediction in Cancer Patients: A Retrospective Cohort Study From Xinjiang
- Incidence of venous thromboembolism with intraoperative tranexamic acid use in breast surgery patients on estrogen-containing medications: a case series
- A methodological exploration of monthly incidence rate of hepatitis B in China: a time series and machine learning analysis
BibTeX
@article{zhang2026prediction,
title = {{Prediction of HIV incidence in Xinjiang Uygur autonomous region, China: a time series study}},
author = {Tao Zhang and Daren Zhao},
journal = {Frontiers in Public Health},
year = {2026},
month = oct,
doi = {10.3389/fpubh.2026.1920865},
url = {https://www.frontiersin.org/articles/10.3389/fpubh.2026.1920865/full},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - Prediction of HIV incidence in Xinjiang Uygur autonomous region, China: a time series study
AU - Tao Zhang
AU - Daren Zhao
PY - 2026
DA - 2026/10/14
JO - Frontiers in Public Health
DO - 10.3389/fpubh.2026.1920865
UR - https://www.frontiersin.org/articles/10.3389/fpubh.2026.1920865/full
AB - Objective: In China, Xinjiang Uygur Autonomous Region has a high incidence of HIV, and the situation regarding its prevention and control remains challenging. This study aimed to compare the predictive performance of three time series models, SARIMAX (Seasonal Autoregressive Integrated Moving Average with Exogenous Regressors), Prophet with exogenous variables, and random forest, using rolling validation, and to provide references for HIV prevention and control in Xinjiang. Methods: We collected 168 months of HIV incidence data in Xinjiang from 2012 to 2025. SARIMAX, Prophet, and random forest were developed with COVID-19 as an exogenous intervention variable. Prophet was tuned via grid search (optimal changepoint.prior.scale=0.1, seasonality.prior.scale=1); random forest was optimized with mtry=3 and 12-month lags selected by PACF. Rolling validation used RMSE, MAE, MAPE, sMAPE, and MASE with Bootstrap 95% CI. SARIMAX failed to converge in the first four windows; therefore, models were compared on windows 5–9 (2021–2025). Results: The optimal SARIMAX model was SARIMAX(0, 1, 4)(1, 0, 0)( 1 ) with an exogenous COVID-19 intervention variable; its residuals passed the Ljung-Box test ( Q = 8.8, p = 0.7199). The Prophet model incorporated seasonal and periodic components and included COVID-19 as an exogenous variable; Bayesian MCMC inference gave a posterior mean of −0.1064. The random forest model used 12 lagged values, month, and COVID-19 as features, achieving a permutation importance (%IncMSE) of 4.31% for the COVID-19 variable, ranking 10th among 14 features. SHapley Additive exPlanations (SHAP) analysis further showed that COVID-19 ranked 14th (last) with a mean absolute SHAP value of 0.00135. Within windows 5–9 (2021–2025), random forest had the lowest RMSE (0.2211), MAE (0.1722), and MAPE (85.83%); (sMAPE 41.11%, MASE 0.8745). However, Diebold–Mariano tests with Bonferroni correction showed no significant differences among models (all p > 0.0167), with small RMSE differences (0.0047–0.0225). Conclusions: All three models are applicable. Although random forest had the lowest numerical errors, it was statistically indistinguishable from the other models; therefore, model selection should consider interpretability, data-updating frequency, and resource constraints rather than marginal accuracy differences. These findings support HIV surveillance and resource allocation in Xinjiang.
SN - 2296-2565
ER -