Where
and
are the two proportions,
is the sample size, and
is an estimate of the standard error of the difference between the proportions:
where
,
,
is computed as the Standard Error of
,
- the value for the
th observation is computed as
,
are the observed values on the two variables.