One Sample Score Test of a Proportion

From Q
Jump to navigation Jump to search

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

z=gedeffe(1e)/n

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