3.5列联表分析

一 .计算频率

proc freq data=data-set-name;

tables var1;

run;

/* 输出结果:frequency,percent,cumulative frequency,cumulative percent */

 二.制交叉表cross tabulation

proc freq data=data-set-name;

tables x*y;

run;

/*输出结果frequency,perent,row percent,column percent */

/*  可以用nopercent,norow,nocol 取消 */ 

 

posted @ 2018-02-22 12:44  Jane_lau  阅读(643)  评论(0编辑  收藏  举报