Unlock access to all the studying documents.
View Full Document
Chapter 11
Comparisons Involving Proportions and a
Test of Independence
Learning Objectives
1. Be able to develop interval estimates and conduct hypothesis tests about the difference between the
proportions of two populations.
2. Know the properties of the sampling distribution of the difference between two proportions
.
3. Be able to conduct hypothesis tests about the difference between the proportions of three or more
populations.
4. For a test of independence, be able to set up a contingency table, determine the observed and
expected frequencies, and determine if the two variables are independent.
5. Understand the role of the chi-square distribution in conducting the tests in this chapter and be able
to compute the chi-square test statistic for each application.
Solutions:
1. a.
1 1 2 2
1 2 .05
12
(1 ) (1 )p p p p
p p z nn
−−
− +
1 1 2 2
12
100(.28) 140(.20) .2333
100 140
n p n p
pnn
++
= = =
++
( ) ( )
12
12
.28 .20 1.44
11
11 .2333 1 .2333
1100 140
pp
z
pp
nn
−−
= = =
−+
−+
p – value = 2(1 – .9251) = .1498
c. p-value > .05; do not reject H0. We cannot conclude that the two population proportions
differ.
3. a.
1 1 2 2
12
200(.22) 300(.16) .1840
200 300
n p n p
pnn
++
= = =
++
( ) ( )
12
12
.22 .16 1.70
11
11 .1840 1 .1840
1200 300
pp
z
pp
nn
−−
= = =
−+
−+
1 1 2 2
1 2 .025
12
(1 ) (1 )p p p p
p p z nn
−−
− +
.55(1 .55) .48(1 .48)
.55 .48 1.96 400 400
−−
− +
.07 .0691 (.0009 to .1391)
b. The point estimate of the proportion of men who trust recommendations made on Pinterest is
1 1 2 2
.025
12
(1 ) (1 )
.18 p p p p
znn
−−
+
1 1 2 2
12
24 18 .1495
119 162
n p n p
pnn
++
= = =
++
( ) ( )
12
12
.2017 .1111 2.10
11
11 .1495 1 .1495
1119 162
pp
z
pp
nn
−−
= = =
−+
−+
p=n1p1+n2p2
n1+n2
=104 +74
200 +200 =.445
z=p1–p2
p1–p
( )
1
n1
+1
n2
æ
è
çö
ø
÷
=.52–.37
.445 1–.445
( )
1
200 +1
200
æ
è
çö
ø
÷
=3.02
= 1470/1750 = .84 (current year)
= 1458/1800 = .81 (previous year)
c.
p=n1p1+n2p2
n1+n2
=1750(.84)+1800(.81)
1750 +1800 =.8248
increase in hotel occupancy rates compared to last year. The point estimate is a 3% increase with a 95%
confidence interval from .5% to 5.5%.
11. H0:
Ha: Not all population proportions are equal
Expected Frequencies (eij)
= 7.99 shows the p–value is between .025 and .01
Using Excel, the p–value corresponding to
p–value > .05, do not reject H0. We are unable to reject the null hypothesis that the population
proportions are the same.
Ha: Not all population proportions are equal
b. Observed Frequencies (fij)
Expected Frequencies (eij)
Chi Square Calculations (fij – eij)2 / eij
= 14.74 shows the p–value is less than .01
Using Excel, the p–value corresponding to
= 14.74 is .0006
p–value < .05, reject H0. Conclude that the three suppliers do not provide equal proportions of defective
15. a. H0:
Ha: Not all population proportions are equal
Expected Frequencies (eij)
Female
41
46
36
44
167
Chi Square Calculations (fij – eij)2 / eij
Degrees of freedom = k – 1 = (4 – 1) = 3
Using the
= 2.49 shows the p–value is greater than .10
Using Excel, the p–value corresponding to
= 2.49 is .4771
p–value > .05, do not reject H0. Conclude that we are unable to reject the hypothesis that the population
proportion of male fish is equal in all four locations.
16. a.
Expected Frequencies (eij)
Chi Square Calculations (fij – eij)2 / eij
= 3.41
df = k – 1 = (2 – 1) = 1
Using the
= 3.41 shows the p–value is between .10 and .05
2
p–value < .10, reject H0. Conclude that the two offices do not have the same population proportion
error rates.
c. With two populations, a chi–square test for equal population proportions has 1 degree of freedom. In
this case the test statistic
is always equal to z2. This relationship between the two test statistics
hypothesis tests about the equality of the two population proportions.
17. a. H0:
Ha: Not all population proportions are equal
Chi Square Calculations (fij – eij)2 / eij
Degrees of freedom = df = k – 1 = (4 – 1) = 3
Using the
= 20.47 shows the p–value is less than .01
.05, reject H0. Conclude the population proportions are not all equal.
b. Great Britain 344/800 = .43
Israel 265/500 = .53 (Largest with 53% of adults)
18. H0: The distribution of defects is the same for all suppliers
Ha: The distribution of defects is not the same all suppliers
Chi Square Calculations (fij – eij)2 / eij
= 5.70
Degrees of freedom = (r – 1)(k – 1) = (3 – 1)(3 – 1) = 4
Using Excel, the p–value corresponding to
= 5.70 is .2227
p–value > .05, do not reject H0. Conclude that we are unable to reject the hypothesis that the
population distribution of defects is the same for all three suppliers. There is no evidence that quality of
Ha: The column variable is not independent of the row variable
Observed Frequencies (fij)
Expected Frequencies (eij)
P
114
Q
Total
50
70
80
200
P
Q