Calculating the confidence interval for a population average