谁会用sas做方差分析啊?
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/09/01 07:10:52
谁会用sas做方差分析啊?
94.50%\x0595.60%\x0589.40%
89.50%\x0596.50%\x0594.00%
60.30%\x0556.80%\x0584.20%
85.40%\x0588.10%\x0583.30%
66.90%\x0575.90%\x0575.90%
86.40%\x0581.10%\x0585.10%
65.40%\x0536.60%\x0541.60%
\x05\x05
三个重复\x05\x05
七个对比
94.50%\x0595.60%\x0589.40%
89.50%\x0596.50%\x0594.00%
60.30%\x0556.80%\x0584.20%
85.40%\x0588.10%\x0583.30%
66.90%\x0575.90%\x0575.90%
86.40%\x0581.10%\x0585.10%
65.40%\x0536.60%\x0541.60%
\x05\x05
三个重复\x05\x05
七个对比
data anova_test;
do factor=1 to 7;
do k1=1 to 3;
input pv @@;
\x05\x05pv1=pv/100;
\x05\x05output;
end;
end;
cards;
94.50 95.60 89.40
89.50 96.50 94.00
60.30 56.80 84.20
85.40 88.10 83.30
66.90 75.90 75.90
86.40 81.10 85.10
65.40 36.60 41.60
;
proc anova data=anova_test;
class factor;
model pv1=factor;
title '方差分析';
run;
结果:
方差分析 8
2012年06月13日 星期三 上午09时59分08秒
The ANOVA Procedure
Dependent Variable:pv1
Sum of
Source DF Squares Mean Square F Value Pr > F
Model 6 0.48410895 0.08068483 10.80 0.0001
Error 14 0.10462600 0.00747329
Corrected Total 20 0.58873495
R-Square Coeff Var Root MSE pv1 Mean
0.822287 11.12044 0.086448 0.777381
Source DF Anova SS Mean Square F Value Pr > F
factor 6 0.48410895 0.08068483 10.80 0.0001
do factor=1 to 7;
do k1=1 to 3;
input pv @@;
\x05\x05pv1=pv/100;
\x05\x05output;
end;
end;
cards;
94.50 95.60 89.40
89.50 96.50 94.00
60.30 56.80 84.20
85.40 88.10 83.30
66.90 75.90 75.90
86.40 81.10 85.10
65.40 36.60 41.60
;
proc anova data=anova_test;
class factor;
model pv1=factor;
title '方差分析';
run;
结果:
方差分析 8
2012年06月13日 星期三 上午09时59分08秒
The ANOVA Procedure
Dependent Variable:pv1
Sum of
Source DF Squares Mean Square F Value Pr > F
Model 6 0.48410895 0.08068483 10.80 0.0001
Error 14 0.10462600 0.00747329
Corrected Total 20 0.58873495
R-Square Coeff Var Root MSE pv1 Mean
0.822287 11.12044 0.086448 0.777381
Source DF Anova SS Mean Square F Value Pr > F
factor 6 0.48410895 0.08068483 10.80 0.0001