Docsity

Confidence Intervals for Assembly Time Comparison in Four Branches, Study notes of Statistics

Toggle sidebar
bg1
1
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 co mpany, 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))
!
Y
1"
=40.47,
!
Y
2"
=43.13,
!
Y
3"
=67.95,
!
Y
4"
=89.44.
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.1
From ANOVA table, MSE=6.1
1. Construct 95% simultaneous confidence intervals for all pair-wise comparisons of type: D = µi - µi’,
where i≠i’, using Tukey procedure.
The estimate of the pair-wise comparison is: D^ =
!
Y
i"#Y
$
i "
, so
D^1 =
!
Y
1"#Y
2"
= 40.47 – 43.13 = -2.66
D^2 =
!
Y
1"#Y
3"
= 40.47 – 67.95 = -27.48
D^3 =
!
Y
1"#Y
4"
= 40.47 – 89.44 = -48.97
D^4 =
!
Y
2"#Y
3"
= 43.13 – 67.95 = -24.82
D^5 =
= 43.13 – 89.44 = -46.31
D^6 =
!
Y
3"#Y
4"
= 67.95 – 89.44 = -21.49
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.10
Tukey multiple:
T = 1/√2 *q(1-0.05, 4, 40-4) = 1/√2 * 3.81 = 2.69
95% simultaneous CIs for D:
=> D^ +/- T* s{D^}
D1:
!
Y
1"#Y
2"
+/- T* s{D^} => -2.66 +/- 2.69*1.1
=> (-5.619, 0.299)
D2: (-30.439, -24.521)
D3: (-51.929, -46.011)
D4: (-27.779, -21.861)
D5: (-49.269, -43.351)
D6: (-24.449, -18.531)
pf3

Partial preview of the text

Download Confidence Intervals for Assembly Time Comparison in Four Branches and more Study notes Statistics in PDF only on Docsity!

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))

Y 1 " =40.47,

Y 2 " =43.13,

Y 3 " =67.95,

Y 4 " =89.44.

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.

  1. Construct 95% simultaneous confidence intervals for all pair-wise comparisons of type: D = μi - μi’, where i≠i’, using Tukey procedure. The estimate of the pair-wise comparison is: D^ =

Yi " # Yi $ " , so

D^ 1 =

Y 1 " # Y 2 " = 40.47 – 43.13 = - 2.

D^ 2 =

Y 1 " # Y 3 " = 40.47 – 67.95 = - 27.

D^ 3 =

Y 1 " # Y 4 " = 40.47 – 89.44 = - 48.

D^ 4 =

Y 2 " # Y 3 " = 43.13 – 67.95 = - 24.

D^ 5 =

Y 2 " # Y 4 " = 43.13 – 89.44 = - 46.

D^ 6 =

Y 3 " # Y 4 " = 67.95 – 89.44 = - 21.

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 :

Y 1 " # Y 2 " +/- T* s{D^} => - 2.66 +/- 2.69*1.

D 2 : (-30.439, - 24.521)

D 3 : (-51.929, - 46.011)

D 4 : (-27.779, - 21.861)

D 5 : (-49.269, - 43.351)

D 6 : (-24.449, - 18.531)

(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

  1. (This conclusion was made since the first confidence interval includes zero, implying that the two treatment means are the same; and all other confidence intervals do not include zero and are negative, implying that the two treatment means are different).
  2. Construct 95% simultaneous confidence intervals for contrasts: L 1 = 0.4μ 1 + 0.6μ 2 – 0.7μi – 0.3μ 4 , L 2 = 1/3μ 1 + 1/3μ 2 + 1/3μi – μ 4 , L 3 = ½μ 1 – 0 μ 2 – μi + ½μ 4 = ½μ 1 – μi + ½μ 4 using both Scheffe and Bonferroni procedures. Which procedure would you prefer? The estimate of the contrast is: L^ =

#^ c iYi ", so

L^ 1 =

0.4 Y 1 " + 0.6 Y 2 " # 0.7 Y 3 " # 0.3 Y 4 " = 0.4(40.47) + 0.6(43.13) – 0.7(67.95) – 0.3(89.44) = - 32.

L^ 2 =

13 Y 1 " + 13 Y 2 " + 13 Y 3 " # Y 4 " = 1/3(40.47) + 1/3(43.13) + 1/3(67.95) – (89.44) = - 38.

L^ 3 =

12 Y

1 " #^ Y 3 " +^

12 Y

4 " = 0.4(40.47) + 0.6(43.13)^ –^ 0.7(67.95)^ –^ 0.3(89.44) =^ - 2.

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.