T-Test of a Mean
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 }[/math] is the sample standard deviation, [math]\displaystyle{ n }[/math] is the sample size, and [math]\displaystyle{ d_{eff} }[/math] is Extra deff:
[math]\displaystyle{ t = \sqrt{n/d_{eff}}\frac{\bar x - e}{s} }[/math]
where [math]\displaystyle{ p = 2 \Pr(t_{n-1} \ge |t|) }[/math] if [math]\displaystyle{ \bar x \ne e }[/math] and NaN otherwise. .