Complex Samples Z-Test of a Proportion

From Q
Jump to navigation Jump to search

Where g is the observed proportion, e is the expected proportion, sp is the estimated Standard Error of the observed proportion and n is the sample size,

n is the sample size:

z=gesp

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