收藏切换
Comparison of different Python-based time series models in the prediction of other infectious diarrhea diseases in Baoshan District, Shanghai
收藏切换
Lian ZONG, Jia-le ZHENG, Lun-hui XIANG, Fan HE, Xiao-feng LIU, Jiang ZHU
Modern Preventive Medicine | 2026, 53(7) : 1172 - 1179
Less
收藏切换
Modern Preventive Medicine | 2026, 53(7): 1172-1179
• Epidemiology and Statistical Methods •
Comparison of different Python-based time series models in the prediction of other infectious diarrhea diseases in Baoshan District, Shanghai
Full
Lian ZONG, Jia-le ZHENG, Lun-hui XIANG, Fan HE, Xiao-feng LIU, Jiang ZHU
Affiliations
  • Shanghai Baoshan District Center for Disease Control and Prevention (Shanghai Baoshan District Health Supervision Institute), Shanghai 201901, China
Published: 2026-04-10 doi: 10.20043/j.cnki.MPM.202507165
Outline
收藏切换
Objective

To compare the predictive performance of seasonal autoregressive integrated moving average (SARIMA) model, Prophet model, random forest (RF) model, extreme gradient boosting (XGBoost) model, and support vector regression (SVR) model on the incidence of other infectious diarrhea diseases in Baoshan District, Shanghai, and to explore the optimal forecasting model.

Methods

Using the monthly incidence rates of other infectious diarrhea diseases in Baoshan District, Shanghai from 2014 to 2022 as the training set, the SARIMA model, the Prophet model, the RF model with and without meteorological features, the XGBoost model with and without meteorological features, and the SVR model with and without meteorological features were constructed in Python to predict the monthly incidence rates from 2023 to 2024. The optimal model was selected by comparing the mean absolute error (MAE), root mean square error (RMSE) and mean absolute percentage error (MAPE) of the predicted and actual values.

Results

From 2014 to 2024, a total of 6 868 cases of other infectious diarrheal diseases were reported in Baoshan District, Shanghai, with an average annual incidence rate of 28.81 per 100 000 population. The cases exhibited a bimodal seasonal distribution (peaking in summer and winter-spring). By comparing the predictive performance of different time series models on the monthly incidence rate from 2023 to 2024, the XGBoost model without meteorological features showed the best comprehensive performance in terms of fitting accuracy indicators (MAE=5.089, RMSE=6.844, MAPE=54.646%).

Conclusion

The XGBoost model without meteorological features is the best model for short-term prediction of other infectious diarrhea diseases in Baoshan District, which can provide a scientific basis for early warning and prevention of other infectious diarrhea diseases in Baoshan District.

Python  /  Time series model  /  Other infectious diarrhea diseases  /  Forecast
宗莲, 郑家乐, 向伦辉, 何凡, 刘效峰, 朱江. 基于Python的不同时间序列模型在上海市宝山区其他感染性腹泻病预测中的比较. 现代预防医学, 2026 , 53 (7) : 1172 -1179 . DOI: 10.20043/j.cnki.MPM.202507165
Lian ZONG, Jia-le ZHENG, Lun-hui XIANG, Fan HE, Xiao-feng LIU, Jiang ZHU. Comparison of different Python-based time series models in the prediction of other infectious diarrhea diseases in Baoshan District, Shanghai[J]. Modern Preventive Medicine, 2026 , 53 (7) : 1172 -1179 . DOI: 10.20043/j.cnki.MPM.202507165
Year 2026 volume 53 Issue 7
23
12
Cite this Article
BibTeX
Article Info
doi: 10.20043/j.cnki.MPM.202507165
  • Receive Date:2025-07-13
  • Online Date:2026-11-02
  • Published:2026-04-10
Article Data
Affiliations
History
  • Received:2025-07-13
Funding
Affiliations
    Shanghai Baoshan District Center for Disease Control and Prevention (Shanghai Baoshan District Health Supervision Institute), Shanghai 201901, China
References
Share
https://castjournals.cast.org.cn/joweb/xdyfyx/EN/10.20043/j.cnki.MPM.202507165
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT