data test7_2; /*创建数据集*/
input x type$;
cards;
78 1
67 1
88 1
98 1
78 1
77 1
65 1
85 1
70 1
67 2
78 2
69 2
87 2
85 2
87 2
90 2
65 2
77 2
;
run;
proc npar1way data=test7_2 wilcoxon; /*进行wilcoxon检验*/
class type; /*指定分组变量*/
var x; /*指定非参数检验变量*/
run;