2-PropZTest
(two-proportion
2-PropZTest
(p
and p
) from two populations. It takes as input the count of successes in each sample (
1
2
) and the count of observations in each sample (
x
2
(using the pooled sample proportion Ç) against one of the alternatives below.
H
: p
=p
0
1
2
•
H
: p
(
p1:
p2
ƒp
ƒ
a
1
2
•
H
: p
<p
(
)
p1:<p2
a
1
2
•
H
: p
>p
(
)
p1:>p2
a
1
2
Input:
Calculated
results:
Drawn
results:
test; item
) computes a test to compare the proportion of successes
z
6
)
Chapter 13: Inferential Statistics and Distributions
and
).
n
n
2-PropZTest
1
2
and
x
1
tests the null hypothesis
228