SAS宏程序在时间分层病例交叉设计资料整理中的应用  被引量:1

Application of SAS macro program in sorting data about time stratified case-crossover design

在线阅读下载全文

作  者:李宁[1] 纪威[1] 俞延峰[1] 韩航涛 樊明锁[1] 张良[1] Li Ning;Ji Wei;Yu Yanfeng;Han Hangtao;Fan Mingsuo;Zhang Liang(Ningbo Municipal Center for Disease Control and Prevention,Ningbo 315010,China)

机构地区:[1]宁波市疾病预防控制中心

出  处:《中国医院统计》2019年第3期175-178,共4页Chinese Journal of Hospital Statistics

摘  要:目的为方便时间分层病例交叉设计资料的整理开发SAS宏程序。方法通过一个实例——某地儿童肺炎日门诊量与气温、PM10、SO 2日均值资料的时间分层病例交叉设计,开发和验证SAS宏程序Time_Stratified(IN_DSN=,OUT_DSN=,DATE_VAR=,LAG_EFFECT=,LAG_VARS=,COUNTS_VAR=)。结果按照SAS宏程序Time_Stratified的参数说明,分别指定输入数据集(IN_DSN=)、输出数据集(OUT_DSN=)、日期变量(DATE_VAR=)、滞后效应(LAG_EFFECT=)、滞后效应相关变量(LAG_VARS=)、频数变量(COUNTS_VAR=),就可以自动完成对输入数据集的时间分层病例交叉设计整理。结论利用SAS宏程序Time_Stratified整理时间分层病例交叉设计资料简单方便、灵活高效,避免了资料整理过程中错误的产生,具有一定的实用性。Objective To develop a SAS macro program to sort data about time stratified case-crossover design.Methods An example of data sorting about child's pneumonia incidence,temperature,PM10 and SO2 was used to design and verify the SAS macro program named time stratified(IN_DSN=,OUT_DSN=,DATE_VAR=,LAG_EFFECT=,LAG_VARS=,COUNTS_VAR=).Results Parameters including input data set,output data set,date variable,lag effect,lag effect related variables and frequency variable can be specified respectively in the SAS macro program,and then SAS will sort the data automatically and output the time stratified case-crossover design data set.Conclusion The application of SAS macro program time stratified is simple,convenient,flexible and efficient.It can avoid errors in data sorting process of time stratified case-crossover design and has certain practicality.

关 键 词:时间分层 病例交叉设计 SAS 

分 类 号:R195.1[医药卫生—卫生统计学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象