Professional Documents
Culture Documents
Lesson 23
Section 3.2
Difference of Two Proportions
1
Difference of Proportions
Consider the following questions:
Can giving students a reminder cause them to
be a little thriftier?
Do blood thinners have an effect on the survival
of patients who had undergone CPR?
2
The Hypotheses
When the conditions are met, we are ready to test
whether the difference of two proportions is
significantly different from zero. We test the
hypotheses
H0: p1 p2 = 0
HA: p1 p2 0 (or >, or <)
The differences are almost always compared to
zero, but they can be compared other numbers.
3
Point Estimate
To start, we need to first identify a reasonable point
estimate of p1 p2 based on the sample. You may
have already guessed its form:
p1 p 2 Point estimate
for p1 p2.
4
Conditions
To use this test, we need to verify that the point
estimate follows the normal model by checking
certain conditions:
Each sample separately follows a normal model
(all sample observations are independent and
there are at least 10 successes and 10 failures).
The two samples are independent of each other.
5
Standard Error
Finally, we compute the estimate's standard error
and apply our inferential framework.
p1 1 p1 p2 1 p2
SE p1 p2
n1 n2
p1 1 p1 p2 1 p2
SE p1 p2
n1 n2
7
Question Wording
The way a question is phrased can influence a
person's response. For example, Pew Research
Center conducted a survey with the following question:
As you may know, by 2014 nearly all Americans will
be required to have health insurance. [
] while
[
]. Do you approve or
disapprove of this policy?
8
Question Wording
For each randomly sampled respondent, the
statements in brackets were randomized: either
they were kept in the order given above, or the two
statements were reversed. The table below shows
the results of this experiment.
11
Cancer Risk in Dogs
Of these two groups, researchers identified which
dogs had been exposed to 2,4-D in their owner's
yard.
The results are shown below.
p 1 p p 1 p
SE
nc nnc
15
Pooled Estimate of a
Proportion
We don't know the exposure rate, p, but we can
obtain a good estimate of it by pooling the results
of both samples:
16
Pooled Estimate of a
Proportion
When the null hypothesis suggests the proportions
are equal, we used the pooled proportion estimate
(p) to verify the success-failure condition and also
to estimate the standard error:
p 1 p p 1 p
SE
n1 n2
17
Example 5
Using p 0.345, n1 491, and n2 945, verify the
estimate for the standard error is SE = 0.026.
Then compute the p-value and make a conclusion
based on the context of the problem. Be certain to
draw a picture, compute the p-value, and state
your conclusion in both statistical language and
plain language.
18