5方差分析-.pptVIP

  • 3
  • 0
  • 约4.8千字
  • 约 35页
  • 2017-06-12 发布于河南
  • 举报
5方差分析-

5 方差分析-2;5.4 配伍组设计及其统计分析;5.4.1 一元应用实例;DATA L3.anova5_7; DO g=1 TO 4; DO week=1 TO 7; INPUT y @@; OUTPUT; END; END; CARDS; 21.5 20.72 20.85 20.24 21.91 21.41 21.99 22.31 23.34 23.47 23.84 24.23 24.23 24.37 22.37 22.49 21.55 20.99 21.54 20.63 22.39 22.12 21.03 19.8 21.38 21.51 22.79 22.9 ; PROC ANOVA data=L3.anova5_7; CLASS g week ; MODEL y=g week ; MEANS g week/regwq snk; MEANS g / dunnett (2 ) ; RUN; quit; ;5.4.2 多因素多水平间的多重比较;data L3.glm5_8; do n=1 to 3; do d24=0 to 0.10 by 0.05; do kt=0 to 0.10 by 0.05 ; input y @@; output; end; end; end; cards; 0.24 0.35 0.38 0.20 0.25 0.36 0.28 0.50 0.30 0.26 0.31 0.35 0.21 0.21 0.35 0.20 0.51 0.31 0.25 0.32 0.35 0.22 0.26 0.34 0.21 0.52 0.32 ; proc anova data=L3.glm5_8; class d24 kt; model y=d24 kt d24*kt ; means d24 kt d24*kt/duncan;; run; quit; ; ;proc glm data=L3.glm5_8; class kt d24 ; model y=kt d24 kt*d24 ; contrast ‘(d24-1 vs d24-2)/kt3 d24 1 -1 0 kt*d24 0 0 0 0 0 0 1 -1 0; run ; quit ; proc glm data=L3.glm5_8; class d24 kt; model y=d24 kt d24*kt ; contrast ‘(kt2 vs kt3)/d24 -1 kt 0 1 -1 d24*kt 0 1 -1; run;; 5.5 拉丁方设计及其统计分析 一、使用范围: 当实验中涉及三个因素,三个因素水平数相同,且它们之间无交互作用或交互作用可以忽略不计时,可以用拉丁方设计的方差分析。P135 二、拉丁方试验设计:;三、 拉丁方设计应用实例 P136;5.6 析因设计及其统计分析 ;5.6.1 CONTRAST语句说明 (见P141-143);5.6.2 应用实例;;data L3.glm5_13; input a $ b $ y @@; cards; a1 b1 28.0 a1 b2 30.0 a1 b3 33 a1 b1 22.5 a1 b2 25.0 a1 b3 28.5 a1 b1 21.5 a1 b2 22.5 a1 b3 25.0 a1 b1 23.0 a1 b2 24.0 a1 b3 25.0 a2 b1 32.5 a2 b2 30.0 a2 b3 26.5 a2 b1 30.5 a2 b2 29.0 a2 b3 26.5 a2 b1 30.0 a2 b2 28.0 a2 b3 24.0 a2 b1 31.5 a2 b2 30.0 a2 b3 27.5 a3 b1 30.0 a3 b2 31.0 a3 b3 36.5 a3 b1 30.5 a3 b2 34.0 a3 b3 38.5 a3 b1 25.0 a3 b2 33.5 a3 b3 38.5 a3 b1 26.5 a3 b2 30.0 a3 b3 32.5 ; proc glm ; class a b; model y=a b a*b /ss3 ; means a b a*b/bon regwq ; run; quit;; (1)由 anlysis of variance中的输出结果: Sou

文档评论(0)

1亿VIP精品文档

相关文档