Connecting hypothesis testing and confidence intervals
1 Hypothesis testing
Consider the two-sided hypothesis testing case
Where the test statistic used in order to test the above claim is:
At the 5% significance level:
- we reject the null hypothesis
whenever the observed t-statistic lies beyond the critical values:
- we do not reject the null hypothesis
whenever the observed t-statistic lies within the critical values:
2 Confidence interval
A 95% confidence interval for the population mean is given by
This is often written as
where
3 From HT to CI
In the hypothesis test, we do not reject the null hypothesis at the 5% significance level whenever