||
Test | 样本量 | ||
Shapiro-Wilk | W | 越接近于1,正态性越好;越接近于0,正态性越差; | n(4~2000) |
Kolmogorov-Smirnov | D | D值越大,正态性越差;越接近于0,正态性越好。 | n>2000 |
Cramer- Mises | W-Sq | n>2000 | |
Anderson-Darling | A-Sq | n>2000 |
SAS正态性检验
---------------------------------------------------------------------------
data Normal_Test;
do group= 1 to 3;
do I=1 to 10;
input x @@;
output;
end;
end;
cards;
1.111.061.3451.4 2.7351.9562.8831.7391.0162.056
0.5590.5370.410.6540.8051.0611.2621.1150.6820.647
0.8630.7810.8450.9770.9540.891.2260.6270.7420.874
;
proc univariate normal;
var x;
class group;
run;
-----------------------------------------------------------------------------
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-21 20:24
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社