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 取消 */