Lesson 12 INFERENCES ABOUT TWO PROPORTIONS
Lesson 12 INFERENCES ABOUT TWO PROPORTIONS
LEARNING OBJECTIVE:
• Conduct a formal hypothesis test of a claim about two population proportions (p).
Assumptions:
The following test statistic applies to null and alternative hypotheses that fit one of these three formats:
Population 1 Population 2
Test Statistic
𝑝̂1 − 𝑝̂ 2 𝑥1 𝑥2 𝑥1 + 𝑥2
𝑧= 𝑤ℎ𝑒𝑟𝑒 𝑝̂1 = , 𝑝̂ 2 = , 𝑝̅ = , 𝑞̅ = 1 − 𝑝̅
𝑝̅ 𝑞̅ 𝑝̅ 𝑞̅ 𝑛1 𝑛2 𝑛1 + 𝑛2
√ +
𝑛1 𝑛2
SOLUTION
H0: There is no difference between the proportion of women and proportion of men who favor spending more
money on gadgets. (p1 = p2)
H1: There is a difference between the proportion of women and proportion of men who favor spending more
money on gadgets. (p1 p2)
Data:
Women Men
n1 = 220 n2 = 175
x1 = 59 x2 = 56
59 56
𝑝̂1 = = 0.27 𝑝̂ 2 = = 0.32
220 175
59 + 56 115
𝑝̅ = = = 0.29 𝑞̅ = 1 − 𝑝̅ = 1 − 0.29 = 0.71
220 + 175 395
Test Statistic
Decision: Do not reject H0 since the computed z-value of – 1.094 is not within the critical region
Conclusion: At 5% level, there is no difference between the proportion of women and proportion of men who
favor spending more money on gadgets.
Example 2: A random sample of 153 people ages 16 to 19 was taken from Benguet, and 12 were found to be
high school dropouts. Another random sample of 128 people ages 16 to 19 was taken from Apayao and 7 were
found to be high school dropouts. Do these data indicate that the population proportion of high school dropouts
on Benguet is different (either way) from that of Apayao? Use a 1% level of significance.
SOLUTION:
H0: The proportion of high school dropouts on Benguet and Apayao is the same. (p1 = p2)
H1: The proportion of high school dropouts on Benguet is different from that of Apayao (p1 p2)
Data:
Benguet Apayao
n1 = 153 n2 = 128
x1 = 12 x2 = 7
12 7
𝑝̂1 = = 0.08 𝑝̂ 2 = = 0.06
153 128
12 + 7 19
𝑝̅ = = = 0.07 𝑞̅ = 1 − 𝑝̅ = 1 − 0.07 = 0.93
153 + 128 281
Test Statistic
𝑝̂1 − 𝑝̂ 2 0.08 − 0.06 0.02
𝑧= = = = 0.654
𝑝̅𝑞̅ 𝑝̅𝑞̅ 0.0306
√ √(0.07)(0.93) + (0.07)(0.93)
𝑛1 + 𝑛2 153 128
Critical Value(s)
=1% = 0.01
H1: (p1 p2) indicates a two-tailed test
Decision: Do not reject H0 since the computed z-value of 0.654 is not within the critical region
Conclusion: At 1% level, the proportion of high school dropouts in Benguet and Apayao is the same.
SOLUTION:
H0: The proportion of voter turnout in Baguio City and in Itogon Benguet is the same. (p1 = p2)
H1: The proportion of voter turnout in Baguio City is different from Itogon Benguet. (p1 p2)
Data:
Baguio Itogon
n1 = 228 n2 = 216
x1 = 141 x2 = 125
141 125
𝑝̂1 = = 0.62 𝑝̂ 2 = = 0.58
228 216
Test Statistic
Critical Values
=5% = 0.05
H1: (p1 p2) indicates a two-tailed test
Decision: Reject H0 since the computed z-value of 25.81 is within the critical region
Conclusion: At 5& level, the proportion of voter turnout in Baguio City is different from Itogon Benguet. In fact
proportion of voter turnout in Baguio City is significantly higher compared to Itogon Benguet.
Example 4: Among 198 smokers who underwent a “sustained care” program, 51 were no longer smoking after
six months. Among 199 smokers who underwent a “standard care” program, 30 were no longer smoking after six
months. Use 1% significance level to test the claim that the rate of success for smoking cessation is different with
the sustained care program compared to standard care program.
SOLUTION:
H0: The rate of success for smoking cessation is the same with the sustained care program compared to
standard care program. (p1 = p2)
H1: The rate of success for smoking cessation is different with the sustained care program compared to
standard care program. (p1 ≠ p2)
51 + 30 81
𝑝̅ = = = 0.204 𝑞̅ = 1 − 𝑝̅ = 1 − 0.204 = 0.796
198 + 199 397
Test Statistic
𝑝̂1 − 𝑝̂ 2 0.258 − 0.151 0.107
𝑧= = = = 2.675
𝑝̅𝑞̅ 𝑝̅𝑞̅ 0.040
√ √(0.204)(0.796) + (0.204)(0.796)
𝑛1 + 𝑛2 198 199
Decision: Reject H0 since the computed z-value of 2.675 is within the critical region
Conclusion: At 1% level, the rate of success for smoking cessation is different with the sustained care program
compared to standard care program.
EXERCISES
1. Generally speaking, would you say that most people can be trusted? A random sample of 250 people in Baguio
City ages 18–25 showed that 45 said yes. Another random sample of 280 people in Baguio City ages 35–45
showed that 71 said yes. Does this indicate that the population proportion of trusting people in Baguio is
different for the older group compared to the younger group? Use = 0.05.
2. Out of a random sample of 100 adult Filipinos from urban communities, 37 people believe in miracles.
However, out of a random sample of 100 adult Filipinos from the rural communities, 47 claims that they
believe in miracles. Does this indicate that the proportion of people from urban communities who believed in
miracles is different from the proportion of people in rural communities? Use = 1%.
3. In a study of JoyfulBee drive-through orders, it was found that 264 orders were accurate and 54 were not
accurate. For MangDonald’s, 329 orders were found to be accurate while 33 orders were not accurate. Use a
0.05 significance level to test the claim that JoyfulBee and MangDonald’s have the same accuracy rates.