Z-Test of a Proportion

From Q
Jump to navigation Jump to search

Where g is the observed proportion and e is the expected proportion, n is the sample size and deff is Extra deff:

z=gedeffg(1g)/n

where p2(1Φ(|z|)= if ge and NaN otherwise.

An alternative version of this test uses Bessel's correction:

z=pedeffg(1g)/(n1)