







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!








If we define s = MSE , thens is an estimate of the common population standard deviation, σ, of the populations under consideration. (This presumes, of course, that the equal- standard-deviations assumption holds.)
The reason for the wordvariance in the phraseanalysis of variance is because the analysis of variance procedure for comparing means involves analyzing the variation in the sample data.
H 0 : μ 1 =μ 2 = L =μ k H (^) a : Not all means are equal.
Suppose in reality that the null hypothesis is false. Does this mean that no two of the populations have the same mean? If not, what does it mean?
If, in reality, the null hypothesis is false, this translates into “Not all of the means are the same” or equivalently “ At least two of the means are not the same.” (Notice that “at least two” applies to 2 or 3 or … ork means.) This last statement in quotes is not equivalent to saying “ No two of the populations have the same mean” since this is equivalent to saying, “ All of the population means are different.”
MSTr (orSSTr) is a statistic that measures the variation among the sample means for a one-way ANOVA.
b. as a measure of variation within the samples.
MSE (orSSE) is a statistic that measures the variation within the samples for a one-way ANOVA.
c. to compare the variation among the sample means to the variation within the samples.
The statistic that compares the variation among the sample means to the variation within
the samples is F =
MSTr MSE
Hank Joseph Susan 8 8 10 10 9 9 9 9 10 11 8 11 10 10 9
( Note: y 1 = 9.6, y (^) 2 = 8.8 , y (^) 3 = 9.8 , s 1 2 = 1.3, s 2 2 = 0.7, s 3 2 = 0.7, and y = 9.4 .) Construct the one- way ANOVA table for the data. Compute SSTr and SSE using the defining formulas.
2
2
2
2
2
2 = 2.
SSE = ( n 1 − 1 ) s 1 2
SSTo = SSTr + SSE = 2.8 + 10.8 = 13.
MSTr =
SSTr k − 1
N − k
MSTr MSE
Source df S S MS = SS/df F-statistic p-value
Treatments 2 2.8 1.4 1.5556 p-value > 0.
Error 12 10.8 0.
Total 14 13.
Source df SS MS = SS/df F-statistic Treatments _____ 2.124 0.708 0. Error 20 _____ _____ Total _____ _____
MSTr =
SSTr df (^) Tr
⇒ df (^) Tr =
SSTr MSTr
MSTr MSE
MSTr F
df (^) E
SSTo = SSTr + SSE = 2.124 + 18.880 = 21. dfTo = dfTr + df (^) E = 3 + 20 = 23
Source df SS MS = SS/df F-statistic Treatments 3 2.124 0.708 0. Error 20 18.880 0. Total 23 21.
Brand A Brand B Brand C Brand D 42 28 24 20 30 36 36 32 39 31 28 38 28 32 28 28 29 27 33 25
Preliminary data analyses indicate that the independent samples come from normal populations with equal standard deviations. At the 5% significance level, does there appear to be a difference in mean lifetime among the four brands of batteries?
Let the subscripts 1, 2, 3, and 4 refer to BrandA, BrandB, BrandC, and BrandD, respectively. Each sample size is 5, and the total number of pieces of data is 20.
Step 0 : Check Assumptions Step 1 : Hypotheses H 0 : μ 1 =μ 2 =μ 3 =μ 4 ( The mean lifetimes are equal. )
H (^) a : Not all of the means are equal. Step 2 : Significance Level α = 0. Step 3 : Critical Value and Rejection Region F α ,( df 1 = k −1, df (^) 2 = N − k ) = F 0.05,( df 1 = 4 −1, df (^) 2 = 20 − 4 ) = F 0.05,( df 1 =3, df (^) 2 = 16 ) = 3. Reject the null hypothesis ifF ≥ 3.24 (P-value ≤ 0.05). Step 4 : Construct the One-way ANOVA Table T 1 = 168 ; T 2 = 154 ; T 3 = 149 ; T 4 = 143
T = 614 ; y (^) ij 2 j = 1
n (^) i ∑ i = 1
k ∑ =^ y 1 j
2 j = 1
n (^) i ∑ +^ y 2 j
2 j = 1
n (^) i ∑ +^ y 3 j
2 j = 1
n (^) i ∑ +^ y 4 j
2 j = 1
n (^) i ∑ =^ 19,
SSTo = y (^) ij 2 j = 1
n (^) i ∑ i = 1
k ∑ −^
2
N
2
20
SSTr =
( T 1 )
2
n 1
( T 2 )
2
n 2
( T 3 )
2
n 3
( T 4 )
2
n 4
2
N
2
5
2
5
2
5
2
5
2
20
SSE = SSTo − SSTr = 560.2 − 68.2 = 492.
Source df SS MS = SS/df F-statistic p-value Treatments 3 68.2 22.7333 0.7393 p-value > 0. Error 16 492.0 30. Total 19 560. Step 5 : Decision Since 0.7393 < 3.24 (p-value > 0.05), fail to reject the null hypothesis. Step 6 : State conclusion in words At the α = 0.05 level of significance, there is not enough evidence to conclude that the mean lifetimes of the brands of batteries differ.
Brand 1 Brand 2 Brand 3 Brand 4 Brand 5 286 279 270 284 281 276 277 262 271 293 281 284 277 269 276 274 288 280 275 292
Preliminary data analyses indicate that the independent samples come from normal populations with equal standard deviations. Do the data provide sufficient evidence to conclude that a difference exists in mean weekly earnings among nonsupervisory workers in the five industries? Perform the required hypothesis test using α = 0.05. ( Note: T 1 = 1,117, T 2 = 1,128 , T 3 = 1,089 , T 4 = 1,099,
T 5 = 1,142 , and y (^) ij 2 j = 1
4 ∑ i = 1
5 ∑ =^ 1,555,185 .)
Let the subscripts 1, 2, 3, 4, and 5 refer to Brand 1, Brand 2, Brand 3, Brand 4, and Brand 5 respectively. Each sample size is 4, and the total number of data pieces is 20.
Step 0 : Check Assumptions Step 1 : Hypotheses H 0 : μ 1 =μ 2 =μ 3 =μ 4 =μ 5 ( The mean driving distances are equal. )
H (^) a : Not all of the means are equal. Step 2 : Significance Level α = 0. Step 3 : Critical Value and Rejection Region F α ,( df 1 = k −1, df (^) 2 = N − k ) = F 0.05,( df 1 = 5 −1, df (^) 2 = 20 − 5 ) = F 0.05,( df 1 =4, df (^) 2 = 15 ) = 3. Reject the null hypothesis ifF ≥ 3.06 (P-value ≤ 0.05). Step 4 : Construct the One-way ANOVA Table
T = Ti i = 1
5 ∑ =^ 5,
SSTo = y (^) ij 2 j = 1
4 ∑ i = 1
5 ∑ −^
2
N
2
20
SSTr =
( T 1 )
2
n 1
( T 2 )
2
n 2
( T 3 )
2
n 3
( T 4 )
2
n 4
( T 5 )
2
n 5
2
N
2
4
2
4
2
4
2
4
2
4
2
20
SSE = SSTo − SSTr = 1,153.75 − 485.5 = 695.
Source df SS MS = SS/df F-statistic p-value Treatments 4 458.50 114.625 2.4730 0.05 <p-value < 0. Error 15 695.25 46. Total 19 1,153. Step 5 : Decision Since 2.4730 < 3.06 (p-value > 0.05), fail to reject the null hypothesis. Step 6 : State conclusion in words At the α = 0.05 level of significance, there is not enough evidence to conclude that the mean driving distances of the brands of golf balls differ.
Length of Stay Number of Patients Group A 3 6 4 14 Group B 4 18 5 2 Group C 4 10 5 9 6 1 Group D 4 8 5 12 a. Test for the existence of an effect due to anesthesia type. (Use α = 0.01)
Step 0 : Check Assumptions Step 1 : Hypotheses H 0 : μ A =μ B =μ C =μ D H (^) a : at least one inequality
Step 2 : Significance Level α = 0. Step 3 : Critical Value and Rejection Region Critical Value: F α ,( df 1 = k −1, df (^) 2 = N − k ) = F 0.01, ( df 1 = 3, df (^) 2 = 76 ) ≈ F 0.01, ( df 1 = 3, df (^) 2 = 60 ) = 4. Reject the null hypothesis ifF ≥ 4.13. Step 4 : Construct the One-way ANOVA Table (^ T (^) i )
2
i = 1^ ni
k ∑ =^
[( 3* 6^ ) +^ (^ 4 *14)]
2
[( 4 *18^ ) +^ (5 *2^ )]
2
[( 4 10^ ) +^ (5 9^ ) +^ (6 *1^ )]
2
[( 4 * 8^ ) +^ (5 *12^ )]
2
[^74 ]
2
20
[^82 ]
2
20
[^91 ]
2
20
[^92 ]
2
20
2
N
[( 3*6) +^ (4 *14^ ) +^ (4 18^ ) +^ (5 2^ ) +^ (^ 4 10) +^ (5 9^ ) +^ (6 *1^ ) +^ (^ 4 8) +^ (512^ )]
2
[( 3*6) +^ (4 * 50^ ) +^ (5 23^ ) +^ (61^ )]
2
[ 339 ]
2
80
y (^) ij^2 j = 1
n (^) i ∑ i = 1
k ∑ =^3
( ) +^4
( ) +^4
( ) +^5
( ) +^4
( ) +^5
( ) +^6
( )
2 ( *8) +^5
2 ( *12) = 1465
SSTr =
( T (^) i )
2
i = 1^ n^ i
k ∑ −^
( Y (^) ..)
2
SSE = y (^) ij 2 j = 1
n (^) i ∑ i = 1
k ∑ −^
( T (^) i )
2
i = 1^ n^ i
k ∑ =^1465 −^ 1447.25^ =^ 17.
Source df SS MS = SS/df F-statistic p-value Treatments 3 10.7375 3.5792 15.3219 p-value < 0. Error 76 17.7500 0. Total 79 28. Step 5 : Decision Since 15.3219 ≥ 4.13 (p-value ≤ 0.01), we shall reject the null hypothesis. Step 6 : State conclusion in words At the α = 0.01 level of significance, there exists enough evidence to conclude that there is an effect due to anesthesia type.
b. Does it appear that the assumptions for the analysis of variance are fulfilled? Explain.
From the description of the problem, the samples seem to be independent; however, the variances appear to be a bit different.
c. Construct side-by-side boxplots to check the assumptions. Do the results support your answer in (b)?
Side-by-Side Boxplots
Anesthetic Group
Group A Group B Group C Group D
4
The boxplots seem to be similar in shape (except for Group B, whose spread is close to that of the others), so our results are acceptable.
d. What specific recommendations can be made on the basis of these data?
The epidural MS appears to have the shortest average stay, and it is the safest method; therefore, I recommend use of the epidural MS for the patients.
2
i = 1^ ni
k ∑ =^
2
8
2
8
2
8
2
8
2
N
2
2
16
y (^) ij^2 j = 1
n (^) i ∑ i = 1
k ∑ =^ 2.^
2
2
2
2
2
2
2
2
= 267.
SSB =
( Y (^) i • )
2
i = 1^ n^ i
t ∑ −^
( Y (^) ••)
2
SSW = y (^) ij 2 j = 1
n (^) i ∑ i = 1
t ∑ −^
( Y (^) i • )
2
i = 1^ ni
t ∑ =^ 267.8549^ −^ 241.6357^ =^ 26.
Source df SS MS = SS/df F -statistic p -value Treatments 1 4.0905 4.0905 2.1842 p -value > 0. Error 14 26.2192 1. Total 15 30. Step 5 : Decision Since 2.1842 < 4.60 (p-value > 0.05), we fail to reject the null hypothesis. Step 6 : State conclusion in words At the α = 0.05 level of significance, there is not enough evidence to conclude that there is a difference in the average pollution indexes for the two areas.
The table below shows the observed pollution indexes of air samples in two areas of a city. Test the hypothesis that the mean pollution indexes are the same for the two areas. (Use α=0.05.)
Area A Area B 2.92 4.69 1.84 3. 1.88 4.86 0.95 3. 5.35 5.81 4.26 4. 3.81 5.55 3.18 4. Step 0 : Check Assumptions (Pooled-t Approach) Step 1 : Hypotheses (Pooled-t Approach) H 0 : μ A −μ B = 0 H (^) a : μ A −μ B ≠ 0 Step 2 : Significance Level α = 0. Step 3 : Critical Value(s) and Rejection Region(s) Since we don’t know the population variances ( σ (^) A 2 and σ B 2 ) but think that they are equal (air comes from areas of the same city), we’ll use the pooledt-test. Critical Values: ± t α 2 ,^ df^ = n^ A^ +^ n^ B^ −^2
= ± t 0 .0 2 5, df =1 4 = ±2. Reject the null hypothesis ifT≤–2.145 or ifT ≥ 2.145. Step 4 : Test Statistic
y (^) A =
∑ y^ A nA
= 4.3588 y (^) B =
∑ y^ B nB
s (^) p =
∑^ y^ A^2 −^
(∑ y^ A )
2
nA
(∑ y^ B )
2
nB
nA + nB − 2
2
8
2
8
( y^ A −^ y^ B ) −δ 0
s (^) p
nA
n (^) B
Step 5 : Conclusion Since –2.145 ≤ 1.4780 ≤ 2.145 (0.2 >p-value > 0.1 > 0.05 = α), we fail to reject the null hypothesis. Step 6 : State conclusion in words At the α = 0.05 level of significance, there is not enough evidence to conclude that the mean pollution indexes are the same for the two areas.
***** Showt 2 =F:**
t = 1.4780 ⇒ t 2 = 2.1845 ≈ 2.1842 = F (off due to rounding error).
Branch 1 15 20 19 14 Branch 2 11 15 11 Branch 3 18 19 23
Step 0 : Check Assumptions Step 1 : Hypotheses H 0 : μ 1 =μ 2 =μ 3 H (^) a : at least one inequality Step 2 : Significance Level α = 0. Step 3 : Critical Value and Rejection Region Critical Value: F α ,( df 1 = k −1, df (^) 2 = N − k ) = F 0.05,( df 1 =2, df (^) 2 = 7 ) = 4. Reject the null hypothesis ifF ≥ 4.74. Step 4 : Construct the One-way ANOVA Table (^ T (^) i )
2
i = 1^ ni
k ∑ =^
2
4
2
3
2
3
2
4
2
3
2
3
2
N
2
10
2
10
y (^) ij 2 j = 1
n (^) i ∑ i = 1
k ∑ =^15
2
SSTr =
( T (^) i )
2
i = 1^ n^ i
k ∑ −^
2
N
SSE = y (^) ij 2 j = 1
n (^) i ∑ i = 1
k ∑ −^
( T (^) i )
2
i = 1^ n^ i
k ∑ =^2863 −^ 2812.3333^ =^ 50.
Source df S S MS = SS/df F -statistic p -value Treatments 2 89.8333 44.9167 6.2056 0.01 < p -value < 0. Error 7 50.6667 7. Total 9 140. Step 5 : Decision Since 6.2056 ≥ 4.74 (p-value ≤ 0.05), we shall reject the null hypothesis. Step 6 : State conclusion in words At the α = 0.05 level of significance, there exists enough evidence to conclude that there are differences in the branches regarding sick leave taken during 1990.