Paired Z-Test of Proportions

From Q
Jump to: navigation, search

Where and are the two proportions and is an estimate of the standard error of the difference between the proportions:

where:

if and NaN otherwise,
is computed as the Standard Error of ,
the value for the th observation is computed as ,
are the observed values on the two variables.