Complex Samples Z-Test of a Mean

From Q
Jump to navigation Jump to search

Where x¯ is the observed mean, e is the expected value, sx¯ is the estimated Standard Error of the observed mean and n is the sample size:

z=x¯−esx¯

where p=2(1−Φ(|z|)) if x¯≠e and NaN otherwise.