← Back to Book Detail

7.3 Inference for Two-Sample Proportions (43/25) -- Significant Statistics: An Introduction ...

Browse
172%

7.3 Inference for Two-Sample Proportions

7.3 Inference for Two-Sample Proportions Comparing two proportions, like comparing two means, is also very common when we are working with categorical data. If our parameter of inference is p1 – p2, then we can estimate it with – . When conducting inference on two independent population proportions, the following characteristics should be present: - The two independent samples are simple random samples that are independent. - For each of the samples, the number of successes is at least five, and the number of failures is at least five. - Growing literature states that the population must be at least ten or 20 times the size of the sample. This keeps each population from being over-sampled and causing incorrect results. Sampling Distribution of the Difference in Two Proportions We can build a sampling distribution for – similar to what we did for the difference in two independent sample means. The difference of two proportions follows an approximate normal distribution. We will wait to show the standard error and sampling distribution because we calculate them slightly differently for hypothesis tests and confidence intervals. Hypothesis Test for the Difference in Two Proportions 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 reflects a difference in the population proportions. Generally, the null hypothesis states that the two proportions are the same (i.e., H0: p1 = p2). Since we are assuming there is no difference in the null, we can use both samples to estimate the pooled proportion, pp , calculated as follows: pp = We can use this pooled proportion in the calculation of our z-test statistic: z = Example Two types of medication for hives are being tested to determine if there is a difference in the proportions 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. Solution The problem asks for a difference in proportions, making it a test of two proportions. Let A and B be the subscripts for medication A and medication B, respectively. Then pA and pB are the desired population proportions. Random variable: – = difference in the proportions of adult patients who did not react after 30 minutes to medication A and to medication B. H0: = or – = 0 HA: ≠ or – ≠ 0 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. Find the pooled proportion: pp pp = = = 0.08 1 – pp = 0.92 – follows an approximate normal distribution. Calculate the p-value using the normal distribution: p-value = 0.1404 Estimated proportion for group A: = = =
← Previous Chapter Next Chapter →