基于ARIMA-ERNN模型预测医院多重耐药菌感染的流行趋势

Prediction of epidemic trend of hospital multidrug-resistant bacterial infections based on ARIMA-ERNN model

  • 摘要: 目的 探讨自回归综合移动平均模型(ARIMA)与Elman递归神经网络模型(ERNN)的ARIMA-ERNN组合模型在医院多重耐药菌感染流行趋势预测的应用,为医院制定多重耐药菌感染防控策略提供科学依据。方法 收集2016年1月-2025年12月广州市第一人民医院多重耐药菌(MDRO)月度感染例次数,共2 168例纳入分析。采用R 4.4.2软件构建模型,运用自相关函数(ACF)和偏自相关函数(PACF)图确定ARIMA模型参数及Box-Ljung检验评估模型残差,通过平均绝对误差(MAE)、均方根误差(RMSE)和平均绝对百分比误差(MAPE)筛选ARIMA-ERNN模型。选取2025年1-12月的数据作为测试集,评估模型预测精度,并预测2026年1-6月的MDRO感染动态趋势。 结果 2016-2025年MDRO感染例次率呈现动态变化(χ2=44.403,P<0.001),主要发生在重症医学科,重点菌为碳青霉烯耐药肠杆菌、耐甲氧西林金黄色葡萄球菌以及碳青霉烯类耐药鲍曼不动杆菌。最优模型ARIMA(8,1,1)的MAPE为32.97%,Box-Ljung检验显示残差无自相关。最优ARIMA-ERNN模型的迭代步数为6 900,学习率为0.001,动量系数为0.09,平滑因子为0.01。2025年1-12月的实际及预测值均表现出先升后降的趋势,模型预测MAPE为17.65%。模型预测2026年1-6月MDRO感染呈低度流行,2月最低,随后回升,4~6月略有升高。结论 ARIMA-ERNN模型能用于医院MDRO感染流行趋势短期预测和动态分析,为医院感染早期预警预测提供技术支撑。

     

    Abstract: OBJECTIVE To explore the application of the combined model of autoregressive integrated moving average (ARIMA) and Elman recurrent neural network (ERNN) (i.e., the ARIMA-ERNN model) in predicting the epidemic trend of hospital multi-drug resistant bacterial infections, and to provide evidence for hospitals to formulate prevention and control strategies for such infections. METHODS We collected the monthly infection cases of multidrug-resistant organisms (MDROs) at Guangzhou First People's Hospital from Jan. 2016 to Dec. 2025, with a total of 2 168 cases included in the analysis. R software version 4.4.2 was employed to develop the model, and autocorrelation function (ACF) and partial autocorrelation function (PACF) plots were utilized to determine the parameters of the ARIMA model and the Box-Ljung test to evaluate the model residuals. The ARIMA-ERNN model was screened based on mean absolute error (MAE), root mean squared error (RMSE) and mean absolute percentage error (MAPE). Data from Jan. 2025 to Dec. 2025 were selected as the test set to evaluate the model's predictive accuracy, and the dynamic trend of MDRO infections from Jan. 2026 to Jun. 2026 was predicted. RESULTS The incidence rate of MDRO infections from 2016 to 2025 exhibited dynamic changes (χ2=44.403, P<0.001), primarily occurring in the department of critical care medicine. The key bacteria involved were carbapenem-resistant Enterobacteriaceae, methicillin-resistant Staphylococcus aureus and carbapenem-resistant Acinetobacter baumannii. The optimal model, ARIMA(8,1,1), had an MAPE of 32.97%. The Box-Ljung test indicated no autocorrelation in the residuals. The optimal ARIMA-ERNN model had an iteration count of 6 900, a learning rate of 0.001, a momentum coefficient of 0.09 and a smoothing factor of 0.01. Both the actual and predicted values from Jan. 2025 to December 2025 showed a trend of initial increase followed by a decrease, with the model's predicted MAPE being 17.65%. The model predicted a low prevalence of MDRO infections from Jan. 2026 to June 2026, with the lowest incidence in February, followed by a rebound, and a slight increase from Apr. to Jun. CONCLUSION The ARIMA-ERNN model can be utilized for short-term prediction and dynamic analysis of the epidemic trend of hospital MDRO infections, providing technical support for early warning and prediction of such infections.

     

/

返回文章
返回