Comparing two proportions, like comparing two means, is common. If two
estimated proportions are different, it may be due to a difference in the populations
or it may be due to chance. A hypothesis test can help determine if a difference in
the estimated proportions
The difference of two proportions follows an approximate normal distribution. Generally,
the null hypothesis states that the two proportions are the same. That is,
Two types of medication for hives are being tested to determine if there is a difference in the percentage of adult patient reactions. Twenty out of a random sample of 200 adults given medication A still had hives 30 minutes after taking the medication. Twelve out of another random sample of 200 adults given medication B still had hives 30 minutes after taking the medication. Test at a 1% level of significance.
This is a test of 2 population proportions.
How do you know?
The problem asks for a difference in percentages.
Let
The words "is a difference" tell you the test is two-tailed.
Distribution for the test: Since this is a test of two binomial population proportions, the distribution is normal:
Therefore,
Calculate the p-value using the normal distribution: p-value = 0.1404.
Estimated proportion for group A:
Estimated proportion for group B:
![]() |
Half the p-value is below -0.04 and half is above 0.04.
Compare
Make a decision: Since
Conclusion: At a 1% level of significance, from the sample data, there is not sufficient evidence to conclude that there is a difference in the percentages of adult patients who did not react after 30 minutes to medication A and medication B.
TI-83+ and TI-84: Press STAT. Arrow over to TESTS and press
6:2-PropZTest. Arrow down and enter 20 for 200 for 12 for 200 for p1: and arrow to does not equal p2. Press
ENTER. Arrow down to Calculate and press ENTER. The p-value is Calculate do Draw.
"This book was purchased from the authors by the Maxfield Foundation and provided to the community as an open textbook available freely online and in PDF format. Bound copies of the book can also […]"