

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Sta106 / Winter 2009 (for extra study purposes only / written by TA) EXAMPLE: Simultaneous confidence intervals calculation Consider Dataset in your textbook: CH17TA02 (see data CD of chapter 17 for information). Suppose that the data represent time (in seconds) it takes for a technician to assemble parts. Consider that in 4 different branches of the company, 10 randomly selected technicians are evaluated. The goal of the study is to compare the assembly time between 4 branches. Suppose single factor ANOVA model is appropriate: Yij = μi + εij, i=1,…,4, j=1,…,10, εij ~ N(0,σ^2 ); (r = 4, ni = 10 for all i.) The fitted values are: (average assembly time (in seconds))
Analysis of Variance Table Response: Y Df Sum Sq Mean Sq F value Pr(>F) X 3 15953.5 5317.8 866.12 <2.2e- 16 *** Residuals 36 221.0 6. From ANOVA table, MSE=6.
Standard error is: (since group samples are all equal size = 10) s{D^} = √[MSE(1/ni + 1/ni’)] = √[6.1(1/10 + 1/10)] = 1. Tukey multiple: T = 1/√2 q(1-0.05, 4, 40-4) = 1/√2 * 3.81 = 2. 95% simultaneous CIs for D: => D^ +/- T s{D^} D 1 :
(Interpretation) With 95% confidence, the true difference in mean assembly time between branches 1 and 2 is somewhere between - 5.619 seconds and 0.299 seconds, between 1 and 2 is somewhere between - 30.439 seconds and - 24.521 seconds, and so on. (obviously, the standard interpretation of the confidence interval is a rather dull statement, which is difficult to understand) (Inference) The confidence interval D1 suggests with 95% confidence that the mean assembly time in branch 1 is not significantly different from that of branch 2. Alternatively, confidence intervals D2 through D6 suggest the mean assembly times between all other branches differ significantly. More specifically, with 95% confidence, the mean assembly time is shorter in branch 1 when compared to branches 3 and 4, it is also shorter in branch 2 when compared with branches 3 and 4, and is it also shorter in branch 3 than in branch
Standard error is: s{L^} = √[MSE(∑ci^2 /ni)] s{L^ 1 } = √[6.1((0.4)^2 /10 + (0.6)^2 /10 + (-0.7)^2 /10 + (-0.3)^2 /10)] = √[6.1(0.11)] = 0. s{L^ 2 } = √[6.1((1/3)^2 /10 + (1/3)^2 /10 + (1/3)^2 /10 + (-1)^2 /10)] = √[6.1(0.1333)] = 0. s{L^ 3 } = √[6.1((1/2)^2 /10 + (-1)^2 /10 + (1/2)^2 /10)] = √[6.1(0.15)] = 0. Scheffe multiple: S = √[(1-4)F(1-0.05, 4-1, 40-4)] = √[(3)2.866] = 2. 95% simultaneous CIs for L 1 , L 2 , L 3 : (using Scheffe) => L^ +/- S s{L^} L 1 : ! 0.4 Y 1 " + 0.6 Y 2 " # 0.7 Y 3 " # 0.3 Y 4 " +/- S* s{L^ 1 } => - 32.331 +/- 2.930. => (-34.73067, - 29.93133) L 2 : (-41.56616, - 36.28044) L 3 : (-5.79608 - 0.19392) Bonferroni multiple: B = t(1-0.05/(2g), 40-4) = t(1-0.05/(23), 40-4) = t(0.9916667, 36) = 2.