Construction of confidence interval for mean