7Proportions and Binomial Random Variables
and X
U
= 60, so
n
k
(0.525)(1 0.525)
knk
k
X
0
U
∑
−
=
.
Since 40 < 59 < 60, the null hypothesis is rejected.
Condence interval formulation:
Let
=P
X
ˆ
.
Then P
L
is the value such that
n
k
PP()(1 )
L
k
L
nk
kX
n
∑
−
=
.
and P
U
is the value such that
n
k
PP()(1 )
U
k
U
nk
k
X
0
∑
−
=
.
Then (P
L
, P
U
) is a 100(1 − 2β) percent condence interval for P. In the
example, with n = 100, X = 59, P
L
≈ 0.503, and P
U
≈ 0.673.
Computational considerations:
The same procedures used for Test 1.1 apply to Test 1.2.
Test 1.3 Difference of Two Proportions (Two-Sided)
Parameters:
p
1
= Pr{“success,” group or treatment 1}
p
2
= Pr{“success,” group or treatment 2}
n
1
= sample size, group or treatment 1
n
2
= sample size, group or treatment 2
Δ
L
= minimum allowable difference between p
1
and p
2
Δ
H
= maximum allowable difference between p
1
and p
2