Complex Samples t-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:

t=x¯−esx¯

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