Paired t-Test of Proportions

From Q
Jump to navigation Jump to search

Where g1 and g2 are the two proportions, n is the sample size, and sg1−g2 is an estimate of the standard error of the difference between the proportions:

t=g1−g2sg1−g2


where

p=2Pr⁡(tv≥|t|),
v=n−1,
sg1−g2 is computed as the Standard Error of d,
the value for the ith observation is computed as di=x1−x2,
x1,x2∈{0,1} are the observed values on the two variables.