描述性统计-正态性检验(SPSS,SAS)P-P图,Q-Q图,直方图,KS检验

描述性统计-正态性检验常用的4种方法

1.直方图

在这里插入图片描述

2.P-P图

在这里插入图片描述

Q-Q图

在这里插入图片描述

4.K-S检验

在这里插入图片描述

5.SAS软件实现代码

data xueqing;
input x @@;
cards;
74.3 78.8 68.8 78.0 70.4 80.5 80.5 69.7 71.2 73.5
79.5 75.6 75.0 78.8 72.0 72.0 72.0 74.3 71.2 72.0
75.0 73.5 78.8 74.3 75.8 65.0 74.3 71.2 69.7 68.0
73.5 75.0 72.0 64.3 75.8 80.3 69.7 74.3 73.5 73.5
75.8 75.8 68.8 76.5 70.4 71.2 81.2 75.0 70.4 68.0
70.4 72.0 76.5 74.3 76.5 77.6 67.3 72.0 75.0 74.3
73.5 79.5 73.5 74.7 65.0 76.5 81.6 75.4 72.7 72.7
67.2 76.5 72.7 70.4 77.2 68.8 67.3 67.3 67.3 72.7
75.8 73.5 75.0 72.7 73.5 73.5 72.7 81.6 70.3 74.3
73.5 79.5 70.4 76.5 72.7 77.2 84.3 75.0 76.5 70.4
;
proc means n mean var std max min range t skewness kurtosis;
var x;
run;
proc univariate plot normal;
run;
proc capability graphics;
histogram x/normal cframe=pink cfill=red;
cdfplot/normal cframe=yellow;
qqplot x/normal cframe=cyan;
run;

猜你喜欢

转载自blog.csdn.net/m0_56757083/article/details/118685347