Professional Documents
Culture Documents
Statistics 8.4
Objectives/Assignment
How to perform a z-test for the
difference between two population
proportions p1 and p2.
Assignment: pp. 404-406 #1-12
Statistics 8.4
Statistics 8.4
Statistics 8.4
n1q1 5,
n2p2 5,
n2q2 5
Statistics 8.4
p1 p 2
p1q1 p2 q2
n1
n2
Statistics 8.4
n
p
x
n
p
and
1
1
1
2
2
2
p
n1 n2
Statistics 8.4
p1 p 2
1 1
pq ( )
n1 n2
where
q 1 p
Statistics 8.4
Statistics 8.4
Statistics 8.4
Statistics 8.4
Solution
You want to determine whether there is a
difference in the proportions. So, the null and
alternative hypotheses are:
Ho: p1 = p2
and p1 p2 (claim)
Statistics 8.4
Solution
The weighted estimate of the population
proportion is:
x1 x2
p
n1 n2
60 95
155
p
0.344
200 250 450
Statistics 8.4
Solution
The standardized test statistic is:
( p 1 p 2 ) ( p1 p2 )
z
1 1
pq ( )
n1 n2
(0.30 0.38) (0)
z
1.775
1
1
(0.344)(0.656)(
)
200 250
Statistics 8.4
Solution
The graph shows the
location of the
rejection regions and
the standardized test
statistic. Because z
is in the rejection
region, you should
decide to reject the
null hypothesis. You
have enough
evidence at the 10%
level to conclude
there is a difference in
the proportion of
female and the
proportion of male
Internet users who
plan to shop online.
Statistics 8.4
Statistics 8.4
Solution
You want to determine whether there is a
difference in the proportions. So, the null and
alternative hypotheses are:
Ho: p1 p2
Statistics 8.4
Solution
The weighted estimate of the population
proportion is:
x1 x2
p
n1 n2
301 357
658
p
0.073
4700 4300 9000
Statistics 8.4
Solution
The standardized test statistic is:
( p 1 p 2 ) ( p1 p2 )
z
1 1
pq ( )
n1 n2
)
4700 4300
Statistics 8.4
Solution
The graph shows the
location of the
rejection region and
the standardized test
statistic. Because z
is in the rejection
region, you should
decide to reject the
null hypothesis. At
the 1% level, there is
enough evidence to
conclude that the
death rate is lower for
those who took the
medication than for
those who took the
placebo.