Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When calculating the confidence interval for the population mean and the variance is unknown, I take it that you have to use the t-distribution.

However, do you use the one-tailed or two-tailed test values for $\alpha/2$?

share|improve this question
This question doesn't make complete sense to me. You calculate confidence intervals for sample means. Yes, if the variance is unknown, you should use the t-distribution, rather than the normal. As for 1 vs 2 tailed CI's, you could use either, depending on what is more relevant for your substantive question. – gung Nov 29 '12 at 5:00

It depends on your alternative hypothesis about the mean. If your alternative hypothesis is: true mean is not equal to 0, that means true mean can be both greater than 0 or less than 0. Thus it becomes a two tail test. If you are using R, you may find this link useful:

A (1 - a) confidence lower bound for the distribution mean is:


A (1 - a) confidence upper bound for the distribution mean is:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.