摘要
目的从多个数据集记录匹配连接的角度概述一个基于SAS软件的多源数据综合分析实例。方法从匹配变量的选择、程序语句的编译和执行等方面分析了多源数据的匹配连接。结果 SAS软件中的MERGE语句提供了数据匹配连接功能,但在应用中需注意其特点。结论使用MERGE语句时需特别关注匹配变量的选择,同时要避免在数据步中插入条件语句。
Objective From the perspective of data linkage of multiple datasets, we provided a case analysis of records match-merge based on SAS package. Methods Compilation and execution of program statements and the choice of BY variables were analyzed. Results The merge statement in SAS provided effective data linkage, although the features of BY variable must be carefully considered. Conclusions Appropriate BY variables must be selected when using the merge statement. Conditional statements should be avoided in data steps.
出处
《中国卫生信息管理杂志》
2013年第3期265-269,共5页
Chinese Journal of Health Informatics and Management
基金
国家科技重大专项:传染病监测技术信息平台总体设计
信息标准化和支撑服务研究(项目编号:2012ZX10004201-011)