Unknown Variance, Check Mean
The goal is to check if a population’s mean is as claimed given that we have no knowledge on the population variance.
Suppose the sample size is n. The main test statistic is
t=s/nxˉ−μ0
| H0 |
H1 |
p-value |
Devision Rule, Reject H0 if … |
| μ=μ0 or μ≤μ0 |
μ>μ0 |
P(T>t) |
t>tn−1,α |
| μ=μ0 or μ≥μ0 |
μ<μ0 |
P(T<t) |
t<−tn−1,α |
| μ=μ0 |
μ=μ0 |
P(∣T∣>∣t∣) |
∣t∣>tn−1,α/2 |
Here, tdf,α can be retrieved from t-table. Notation df means degree of freedom, which is usually n−1.
If Z is a standardized normal r.v. Z∼N(0,1), and r.v. X has a χ2 distribution with v degrees of freedom, i.e., X∼χv2, independent of Z, then
X/vZ∼tv
i.e., follows a t-distribution with v degrees of freedom.
Confidence Interval
In testing H0:μ=μ0,H1:μ=μ0, the (1−α) CI for μ is
[xˉ−tn−1,α/2ns,xˉ+tn−1,α/2ns]
- ME=tn−1,α/2ns
- θ=μ,θ^=xˉ