Hypothesis testing: test statistic, p-value and confidence interval