|
data a;
do c=1 to 3;
input x @@;
output;
end;
cards;
11 18 14 23 58 32 09 15 08 22 97 42 31 20 33 32 10 27 21 45 17
;
proc npar1way wilcoxon;
var x;
class c;
run;
下面是程序运程结果:
The NPAR1WAY Procedure
Wilcoxon Scores (Rank Sums) for Variable x
Classified by Variable c
Sum of Expected Std Dev Mean
c N Scores Under H0 Under H0 Score
-----------------------------------------------------------------
1 7 68.50 77.0 13.399627 9.785714
2 7 86.00 77.0 13.399627 12.285714
3 7 76.50 77.0 13.399627 10.928571
Average scores were used for ties.
Kruskal-Wallis Test
Chi-Square 0.5699
DF 2
Pr > Chi-Square 0.7520
结果解读:
由于 p=0.7520>0.05, 可以 判定 三组数据(实验结果)的差别不具有统计学意义。
|