Complex Samples t-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 estimated Standard Error of the observed proportion and n is the sample size,

n is the sample size:

t=g−esp

where p=2Pr⁡(tn−1≥t) if g≠e and NaN otherwise.