Z
2-Prop
Interval
Command: TwoPropZInt
Description: This command obtains the confidence interval of the difference between the
proportions of successes of two populations.
The confidence interval is obtained using the following expressions.
The confidence level is 100 (1 – )%.
Left =
Right =
Command Syntax
C-Level value,
Definition of Terms
C-Level: confidence level (0 < C-Level < 1)
x
:
data value (integer,
1
n
:
size of sample 1 (positive integer)
1
x
:
data value (integer,
2
n
:
size of sample 2 (positive integer)
2
Input Example:
TwoPropZInt 0.95,132,200,90,150
Calculation Result Output
Left :
interval lower limit (left edge)
Right : interval upper limit (right edge)
ˆ p
:
estimated proportion of sample 1
1
ˆ p
:
estimated proportion of sample 2
2
n
:
size of sample 1
1
n
:
size of sample 2
2
7-10-5
Confidence Intervals
x
1
1– n
n
x
x
1
1
2
–
– Z
n
n
n
2
1
2
x
1
n
x
x
1
1
2
–
+ Z
n
n
2
1
2
x
n
x
value,
value,
1
1
x
> 0) of sample 1
1
x
> 0) of sample 2
2
20050501
x
x
x
1
2
2
1– n
n
1
2
2
+
n
1
2
x
x
x
1
2
2
1– n
1– n
n
1
2
2
+
n
n
1
2
n
value,
value
2
2
n
n
,
: sample size
1
2
x
x
,
: data
1
2