Confidence interval and hypothesis testing