STA 106 Homework Assignment 5
Please read and follow the instructions on Canvas.
1. Download diagnostics.csv from Canvas. Let the ANOVA model be
Yij = mu i + epsi ij , i = 1, 2, 3, 4, j = 1, . . . , ni,
where i indicates the level of treatment (i = 1: A; i = 2: B; i = 3: C;i = 4: D). Fit the
above model on the data in R.
(a) (20 pts) Construct simultaneous 95% condence intervals for L1 = mu 2 −mu 1, L2 = mu 3 −mu 1,
and L3 = mu 4 − mu 1 using Bonferroni correction.
(b) (20 pts) Interpret the constructed condence intervals in Part (a).
(c) (20 pts) Construct simultaneous 95% condence intervals for L1 = mu 2 −mu 1, L2 = mu 3 −mu 1,
and L3 = mu 4 − mu 1 using Tukey-Kramer method.
(d) (20 pts) Which set of simultaneous confidence intervals would you use? Explain.
(e) (20 pts) Explain briefly how to apply Scheffe method to construct the confidence intervals for L1, L2, and L3. treatment response
A -1.03128
C 2.274357
C 2.482992
B 11.09315
D ########
C 3.177152
D 1.179389
C 3.069062
C 3.361218
C 2.769406
D ########
B 11.57758
A ########
B 13.45907
A 3.029234
B 12.47922
A ########
D ########
C 3.697002
A ########
B 11.43373
A ########
D 2.87888
B 13.2425
A 1.269861
B 12.4125
A ########
C 2.189293
B 11.59678
C 4.98798
C 5.73799
C 8.844059
A 1.588759
D ########
B 11.23262
D ########
C 2.106891
A ########
C 2.739321
B 11.34234
D ########
B 10.92411
C 4.872933
B 15.91872
A 2.79116
C 7.824006
D 6.365162
C 4.277439
C 2.973588
C 4.108569