Complex Samples t-Test of a Mean

From Q
Jump to navigation Jump to search

Where [math]\displaystyle{ \bar x }[/math] is the observed mean, [math]\displaystyle{ e }[/math] is the expected value, [math]\displaystyle{ s_{\bar x} }[/math] is the estimated Standard Error of the observed mean and [math]\displaystyle{ n }[/math] is the sample size:

[math]\displaystyle{ t = \frac{\bar x - e}{s_{\bar x}} }[/math]

where [math]\displaystyle{ p = 2 \Pr(t_{n-1} \ge |t|) }[/math] if [math]\displaystyle{ \bar x \ne e }[/math] and NaN otherwise.