Ch11 (2 Files Merged)
Ch11 (2 Files Merged)
Ch11 (2 Files Merged)
CHI-SQUARE TESTS
Step 1:
H0 : p1 = p2 = p3 = p4 = p5 = .20
H1 : At least two of the five proportions are
not equal to .20
Step 2:
There are 5 categories
5 days on which the ATM is used
Multinomial experiment
We use the chi-square distribution to make
this test.
Step 3:
Area in the right tail = α = .01
k = number of categories = 5
df = k – 1 = 5 – 1 = 4
The critical value of χ2 = 13.277
Step 4:
All the required calculations to find the
value of the test statistic χ2 are shown in
Table 11.3.
(O E ) 2
2
23.184
E
Step 5:
The value of the test statistic χ2 = 23.184 is
larger than the critical value of χ2 = 13.277
It falls in the rejection region
Hence, we reject the null hypothesis
We state that the number of persons who
use this ATM is not the same for the 5 days
of the week.
Step 1:
H0 : The current percentage distribution of
opinions is the same as for 2009.
H1 : The current percentage distribution of
opinions is different from that for 2009.
Step 2:
There are 4 categories
5 days on opinion
Multinomial experiment
We use the chi-square distribution to make
this test.
Step 3:
Area in the right tail = α = .025
k = number of categories = 4
df = k – 1 = 4 – 1 = 3
The critical value of χ2 = 9.348
Step 4:
All the required calculations to find the
value of the test statistic χ2 are shown in
Table 11.4.
(O E ) 2
2
6.420
E
Step 5:
The value of the test statistic χ2 = 5.420 is
smaller than the critical value of χ2 = 9.348
It falls in the nonrejection region
Hence, we fail to reject the null hypothesis
We state that the current percentage
distribution of opinions is the same as for
2009.
A Test of Independence
A Test of Homogeneity
Definition
A test of independence involves a test of the
null hypothesis that two attributes of a
population are not related. The degrees of
freedom for a test of independence are
df = (R – 1)(C – 1)
Where R and C are the number of rows and
the number of columns, respectively, in the
given contingency table.
Step 1:
H0: Gender and opinions of adults are
independent
H1: Gender and opinions of adults are
dependent
Step 3:
α = .01
df = (R – 1)(C – 1) = (2 – 1)(3 – 1) = 2
The critical value of χ2 = 9.210
(O E ) 2
2
E
93 105.00 70 59.50 12 10.50
2 2 2
105.00 59.50 10.50
87 75.00 32 42.50 6 7.50
2 2 2
75.00 42.50 7.50
1.371 1.853 .214 1.920 2.594 .300 8.252
Step 2:
We are performing a test of independence
We use the chi-square distribution
Step 3:
α = .05.
df = (R – 1)(C – 1) = (2 – 1)(2 – 1) = 1
The critical value of χ2 = 3.841
588.60 501.40
440 491.40 470 418.60
2 2
491.40 481.60
4.489 5.269 5.376 6.311 21.445
Step 5:
The value of the test statistic χ2 = 21.445
It is larger than the critical value of χ2 = 3.841
It falls in the rejection region
Hence, we reject the null hypothesis
Definition
A test of homogeneity involves testing the
null hypothesis that the proportions of
elements with certain characteristics in two
or more different populations are the same
against the alternative hypothesis that these
proportions are not the same.
Step 1:
H0: The proportions of households that
belong to different income groups are the
same in both states
H1: The proportions of households that
belong to different income groups are not the
same in both states
Step 3:
α = .025
df = (R – 1)(C – 1) = (3 – 1)(2 – 1) = 2
The critical value of χ2 = 7.378
(O E )2
2
E
70 65 34 39 80 75
2 2 2
65 39 75
40 45 100 110 76 66
2 2 2
45 110 66
.385 .641 .333 .566 .909 1.515 4.339
Step 5:
The value of the test statistic χ2 = 4.339
It is less than the critical value of χ2
It falls in the nonrejection region
Hence, we fail to reject the null hypothesis
We state that the distribution of households
with regard to income appears to be similar
(homogeneous) in California and Wisconsin.
Step 2:
α = 1 - .95 = .05
α/2 = .05/2 = .025
1 – α/2 = 1 – .025 = .975
df = n – 1 = 25 – 1 = 24
χ2 for 24 df and .025 area in the right tail = 39.364
χ2 for 24 df and .975 area in the right tail = 12.401
(n 1)s 2
(n 1)s 2
to
/ 2
2
21 / 2
(n 1)s 2
2
2
Step 1:
H0 :σ2 ≤ .015
The population variance is within the acceptable
limit
H1: σ2 >.015
The population variance exceeds the acceptable
limit
Step 3:
α = .01.
df = n – 1 = 25 – 1 = 24
The critical value of χ2 = 42.980
(n 1)s 2
(25 1)(.029)
2
46.400
2
.015
From H0
Step 1:
H0: σ2 = 150
The population variance is not different from
150
H1: σ2 ≠ 150
The population variance is different from 150
Step 3:
α = .05
Area in the each tail = .025
df = n – 1 = 20 – 1 = 19
The critical values of χ2 32.852 and 8.907
From H0
Step 5:
The value of the test statistic χ2 = 21.533
It is between the two critical values of χ2
It falls in the nonrejection region
Consequently, we fail to reject H0.
We conclude that the population variance
of the current scores of high school seniors
on this standardized mathematics test does
not appear to be different from 150.
Prem Mann, Introductory Statistics, 7/E
Copyright © 2010 John Wiley & Sons. All right reserved
CHAPTER 12
ANALYSIS OF
VARIANCE
Definition
1. The F distribution is continuous and
skewed to the right.
2. The F distribution has two numbers of
degrees of freedom: df for the numerator
and df for the denominator.
3. The units of an F distribution, denoted F,
are nonnegative.
Definition
ANOVA is a procedure used to test the null
hypothesis that the means of three or more
populations are equal.
T T2
T 2
( x )
2 2
SSB 1
...
2 3
n1 n2 n3 n
T T T
2 2 2
SSW x ...
2 1 2 3
n1 n2 n3
∑x = T1 + T2 + T3 = 324+369+388 = 1081
n = n1 + n2 + n3 = 5+5+5 = 15
Σx² = (48)² + (73)² + (51)² + (65)² +
(87)² + (55)² + (85)² + (70)² +
(69)² + (90)² + (84)² + (68)² +
(95)² + (74)² + (67)²
= 80,709
SSB 432.1333
MSB 216.0667
k 1 3 1
SSW 2372.8000
MSW 197.7333
nk 15 3
MSB 216.0667
F 1.09
MSW 197.7333
Step 4 & 5:
The value of the test statistic F = 1.09
It is less than the critical value of F = 6.93
It falls in the nonrejection region
Hence, we fail to reject the null hypothesis
We conclude that the means of the three
population are equal.
Step 1:
H0: μ1 = μ2 = μ3 = μ4 (The mean number of
customers served per hour by each of the
four tellers is the same)
H1: Not all four population means are equal
Step 2:
Because we are testing for the equality of
four means for four normally distributed
populations, we use the F distribution to
make the test.
Step 3:
α = .05.
A one-way ANOVA test is always right-
tailed.
Area in the right tail is .05.
df for the numerator = k – 1 = 4 – 1 = 3
df for the denominator = n – k = 22 – 4
= 18
Prem Mann, Introductory Statistics, 7/E
Copyright © 2010 John Wiley & Sons. All right reserved
Figure 12.4 Critical value of F for df = (3, 18) and
α = .05.
n1 n2 n3 n4 n
(108)2 (87)2 (93)2 (110)2 (398) 2
255.6182
5 6 6 5 22
T12 T22 T32 T42
SSW x 2
1
n n2 n3 n4
SSB 255.6182
MSB 85.2061
k 1 4 1
SSW 158.2000
MSW 8.7889
nk 22 4
MSB 85.2061
F 9.69
MSW 8.7889
Step 5:
The value for the test statistic F = 9.69
It is greater than the critical value of F = 3.16
It falls in the rejection region
Consequently, we reject the null
hypothesis
We conclude that the mean number of
customers served per hour by each of the
four tellers is not the same.
Prem Mann, Introductory Statistics, 7/E
Copyright © 2010 John Wiley & Sons. All right reserved