Professional Documents
Culture Documents
1. (1)
(b)
Term R F F EMS
r a b
i j k
Whole ri 1 a b σ 2+ ab σ 2r
plot
αj r 0 b 2 rb ∑ α 2j 2
σ + + b σ rα
a−1
rα ij 1 0 b σ 2+b σ 2rα
subplot βk r a 0 2 ra ∑ β k
2
2
σ + + a σ rβ
b−1
rβ ik 1 a 0 σ 2+ a σ 2rβ
αβ jk r 0 0 2 2 r ∑ ∑ (αβ ) jk 2
σ +σ rαβ +
(a−1)( b−1)
rαβ ijk 1 0 0 σ 2+ σ 2rαβ
ε (ijk ) 1 1 1 σ2
The main effect method is significant (p<0.0001) and the main effect mix is also significant
(p<0.0001), but the interaction between those two main effects is not significant (p=0.1052).
(c)
Term R F R EMS
r a b
i j k
Whole ri 1 a b σ 2+ ab σ 2r +a σ 2αβ
plot
αj r 0 b 2 rb ∑ α 2j 2 2 2
σ + + b σ rα + r σ αβ +σ rαβ
a−1
rα ij 1 0 b σ 2+b σ 2rα + σ 2rαβ
subplot βk r a 1 σ 2+ra σ 2β +a σ 2rβ
rβ ik 1 a 1 σ 2+ a σ 2rβ
αβ jk r 0 1 σ 2+ σ 2rαβ +r σ 2αβ
rαβijk 1 0 1 σ 2+ σ 2rαβ
ε (ijk ) 1 1 1 σ2
Test α j , F=(MSA+MSrAB)/(MSrA+MSAB)=(111.0475+0.7321)/(0.4908+1.6727)=51.666
( 111.0475+ 0.7321 )2
p= =2.026
111.04752 0.73212
+
2 12
( 0.4908+ 1.6727 )2
q= =8.89
0.4908 2 1.67272
+
4 6
P<0.0001
So we reject Ho and conclude the main effect method is significant.
Test β k , F=MSB/MSrB
Test (αβ ) jk, F=MSAB/MSrAB
2. (a)
A B C Mean
- - - 26
+ - - 34.67
- + - 39.67
+ + - 49.33
- - + 42.33
+ - + 37.67
- + + 54.67
+ + + 42.33
1
A= ∗¿
4
1
AB= ∗¿
4
1
B= ∗¿
4
C=3.41667*2=6.83
AB=-0.8333*2=-1.67
AC=-4.41667*2=-8.83
BC=-1.41667*2=-2.83
ABC=-1.08333*2=-2.17
Effects B, C, AC appear to be large.
(b) Based on the ANOVA table provided under (a), B, C, and AC are significant since their p values are
below 0.05.
(c) We only consider A, B, C, AC in the model.
A
^ B
^ ^
C ^
AC
y= ý …+ x 1+ x 2+ x 3+ x1x 3
2 2 2 2
X1=1 if A=+, x1=-1 if A= - . Same for B and C.
Plug in the parameter estimates, the fitted regression model is
y=40.83+0.167 x 1+5.67 x 2+ 3.42 x 3−4.42 x 1 x 3
Residual plots below include residual vs predicted values, residual vs A, residual vs B, residual vs C.
We can’t see patterns from those plots. So the constant variance assumption was not violated.
(e) Interaction plot of A and C:
From the contour plot, we can see when A=-1 and C=1, the response can get its highest value. The
conclusion is consistent with my answer in (e).
(g)
σ2 30.17
SE=
√ n∗2 k −2
√=
3∗2
=2.24
(d) The residual is normally distributed based on the QQ plot below. The residual plots of residual vs
predicted values, residual vs A, residual vs B are displayed below as well. We don’t see any violation
of the constant variance assumption.
(e) The ANOVA table of the 22 design is as below. We can see that factor A, D and interaction effect
AD are significant in this model.
(f) The difference of level means of effect D depends on levels of effect A. So effect A and D have
interaction.
(g) When A= - , D= +, the response has the largest value.
(h) If it’s necessary to let the response be 800, I would recommend the A= +, D= + based on the
contour plot in (g). ¿ 776.06−50.81+153.06−76.81=801.5