H0 is True | Alternative is True | |
---|---|---|
Accept H0 | Correct | Type II Error ($\beta$) |
Accept Alternative | Type I Error ($\alpha$) | Correct |
T = \frac{41413 - 40000}{1952} = 0.724
mean earnings
return list
level
option, e.g., mean earnings, level(99)
.display
command as a calculator.display (41412.69 - 40000) / 1952.103
ttail
command to get the probability from the T distribution.help ttail
to learn the syntax.display ttail(170, 0.724) * 2
(for a two-tailed test).ttest earnings == 40000