Computing Test Statistic
Computing Test Statistic
a quantity calculated
from a sample data;
used to decide whether
the null hypothesis
should be rejected in a
hypothesis test
𝒛-test
used when the population variance 𝜎 2 or
standard deviation 𝜎 is known or when the
sample size 𝑛 is sufficiently large, that is, 𝑛 ≥ 30
The 𝑧-score is obtained using the formula
(ഥ
𝒙 − 𝝁) 𝒏
𝒛=
𝝈
where 𝑥ҧ is the sample mean, 𝜇 is the hypothesized population
mean, 𝜎 is the population standard deviation, and 𝑛 is the sample
size.
𝒕-test
used if the population variance 𝜎 and
2