How to compute the confidence interval