Z-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 }[/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{ z = \sqrt{n/d_{eff}}\frac{\bar x - e}{s} }[/math]

where [math]\displaystyle{ p = 2(1-\Phi(|z|)) }[/math] if [math]\displaystyle{ \bar x \ne e }[/math] and NaN otherwise.