中国医院统计2024,Vol.31Issue(5) :382-387,392.DOI:10.3969/j.issn.1006-5253.2024.05.012

SARIMAX模型在某院门诊处方量预测中的应用

Application of SARIMAX model in prediction of outpatient prescription volume in a hospital

王臣建
中国医院统计2024,Vol.31Issue(5) :382-387,392.DOI:10.3969/j.issn.1006-5253.2024.05.012

SARIMAX模型在某院门诊处方量预测中的应用

Application of SARIMAX model in prediction of outpatient prescription volume in a hospital

王臣建1
扫码查看

作者信息

  • 1. 杭州市儿童医院药剂科,310014浙江杭州
  • 折叠

摘要

目的 应用SARIMAX建立适合预测某院门诊处方量的最优模型,为精细化制定门诊药房人力、药品、物资的配备方案提供参考依据.方法 收集2017年1月至2023年6月某院门诊每周处方量数据和同期气象数据(平均气温、空气质量指数),划分训练集和验证集,在训练集中以赤池信息准则(AIC)为主,参考决定系数(R2)、参数假设检验结果、Ljung-Box Q统计量确定最优SARIMAX模型;在验证集中进行预测模型性能检验.结果 该院门诊处方量最优SARIMAX模型为纳入滞后0阶平均气温因素的SARIMAX(1,1,2)(2,1,0)52,模型参数均具有统计学意义(P<0.05),信息准则AIC=3 716.34,平均绝对百分比误差EMAP=8.64%,残差序列为白噪声;验证集中预测值与实际值拟合理想,EMAP为12.28%.结论 SARIMAX模型适合该院门诊处方量的预警预测,可为管理者提供决策依据,推进门诊药房的精细化管理.

Abstract

Objective To establish an optimal model suitable for predicting the outpatient prescriptions with SARIMAX in a hospital,so as to provide a reference for refining the allocation plan of manpower,drugs and materials in outpatient pharma-cy.Methods The weekly outpatient prescriptions data of a hospital and meteorological data(mean temperature,air quality in-dex)from January 2017 to June 2023 were collected and divided into the training set and the validation set.In the training set,the optimal SARIMAX model was determined mainly with Akaike information criterion(AIC),supplemented by coefficient of de-termination(R2),parameter significance test,and Ljung-Box Q statistics.The performance test of the optimal model was carried out in the validation set.Results The optimal SARIMAX model was SARIMAX(1,1,2)(2,1,0)52,which included mean temperature with a lag of order 0.And the model parameters were statistically significant(P<0.05),with an information criteri-on AIC of 3 716.34,a mean absolute percentage error of 8.64%,and a residual sequence of white noise.In the validation set,prediction value was ideally fitted to the actual value,with a mean absolute percentage error of 12.28%.Conclusion SARIMAX model is suitable for the early warning and prediction of outpatient prescription volume in the hospital,which can provide the ba-sis for managers to make decisions and promote the fine management of outpatient pharmacy.

关键词

SARIMAX模型/门诊处方量/预警预测

Key words

SARIMAX model/outpatient prescription volume/early warning and prediction

引用本文复制引用

出版年

2024
中国医院统计
卫生部统计信息中心,滨州医学院

中国医院统计

影响因子:0.564
ISSN:1006-5253
段落导航相关论文