What is a Confidence Interval?
A confidence interval describes the amount of uncertainty associated with a sample estimate of a population parameter. Every confidence interval consists of two parts: a confidence level and a range of values.
For example, based on sample data, we might assert with 90% confidence that a population mean is greater than 100 and less than 200. Here, the confidence level is 90%, and the range of values is 100 to 200.
How to Interpret a Confidence Interval
Suppose that a 90% confidence interval states that the population mean is greater than 100 and less than 200. How would you interpret this statement?
Some people think it means there is a 90% chance that the population mean falls between 100 and 200. That is incorrect. Like any population parameter, the population mean is a constant, not a random variable. It does not change. The probability that a constant falls within any given range is always 0.00 or 1.00 - never a value in between, like 0.90.
Here is what a confidence interval means in statistics. Suppose we used the same sampling plan to select different samples and computed a different confidence interval for each sample. Some confidence intervals would include the true population parameter and some would not. A 90% confidence level means that we would expect 90% of the confidence intervals to include the population parameter; a 95% confidence level means that we would expect 95% of the confidence intervals to include the parameter; and so on.
Prerequisites
This lesson assumes that you are familiar with the standard error of a sampling distribution and the margin of error, topics that we covered in previous lessons. If you are not familiar with these topics, click one or both of the links below for a quick review:
- Lesson 49: What is the Standard Error?
- Lesson 50: Margin of Error
How to Construct a Confidence Interval
There are four steps to constructing a confidence interval.
- Identify a sample statistic. Choose the statistic (e.g, sample mean, sample proportion) that you will use to estimate a population parameter.
- Select a confidence level. The confidence level describes the uncertainty of a sampling plan. Often, researchers choose 90%, 95%, or 99% confidence levels; but any percentage can be used.
- Find the margin of error. If you are working on a homework
problem or a test question, the margin of error may be given.
Often, however, you will need to compute the margin of error,
based on one of the following equations.
Margin of error = Critical value * Standard deviation of statistic
Margin of error = Critical value * Standard error of statistic
Note: Instructions for computing the critical value appear in the lesson on margin of error. And formulas for computing the standard deviation and standard error appear in the lesson on standard error. - Specify the confidence interval. The uncertainty is denoted
by the confidence level. And the range of the confidence
interval is defined by the following equation.
Confidence interval = Sample statistic ± Margin of error
You can use the same four-step recipe to construct a confidence interval around any sample statistic, as you will see in the next six lessons:
- Confidence Interval: Proportions
- Confidence Interval: Difference Between Proportions
- Confidence Interval: Sample Mean
- Confidence Interval: Difference Between Means
- Mean Difference Between Matched Pairs
- Regression Slope: Confidence Interval
Sample Size Calculator
As you may have guessed, the four steps required to specify a confidence interval can involve many time-consuming computations. Stat Trek's Sample Size Calculator does this work for you - quickly, easily, and error-free. In addition to constructing a confidence interval, the calculator creates a summary report that lists key findings and documents analytical techniques. Whenever you need to construct a confidence interval, consider using the Sample Size Calculator. The calculator is free. It can found in the Stat Trek main menu under the Stat Tools tab. Or you can tap the button below.
Sample Size CalculatorTest Your Understanding
Problem 1
Suppose we want to estimate the average weight of an adult male in Dekalb County, Georgia. We draw a random sample of 1,000 men from a population of 300,000 men and weigh them. We find that the average man in our sample weighs 180 pounds, and the standard deviation of the sample is 30 pounds. What is the 95% confidence interval.
(A) 180 + 1.86
(B) 180 + 3.0
(C) 180 + 5.88
(D) 180 + 30
(E) None of the above
Solution
The correct answer is (A). To specify the confidence interval, we work through the four steps below.
- Identify a sample statistic. Since we are trying to estimate the mean weight in the population, we choose the mean weight in our sample (180) as the sample statistic.
- Select a confidence level. In this case, the confidence level is defined for us in the problem. We are working with a 95% confidence level.
- Find the margin of error. Previously, we described
how to compute the margin of error.
The key steps are shown below.
- Find standard error. The standard error (SE) of the
mean is:
SE = s / sqrt( n )
SE = 30 / sqrt(1000) = 30/31.62 = 0.95
where s is the sample standard deviation and n is the sample size.
- Find critical value. The critical value is a factor used to
compute the margin of error. To express the critical value
as a
t-score, follow these steps.
- Compute alpha (α):
α = 1 - (confidence level / 100) = 0.05
- Find the critical probability (p*):
p* = 1 - α/2 = 1 - 0.05/2 = 0.975
- Find the
degrees of freedom (df):
df = n - 1 = 1000 - 1 = 999
- The critical value is the t-score having 999 degrees of freedom and a cumulative probability equal to 0.975. From the t Distribution Calculator, we find that the critical value is about 1.96.
Note: We might also have expressed the critical value as a z-score. Because the sample size is large, a z-score analysis produces the same result - a critical value equal to about 1.96.
- Compute alpha (α):
- Compute margin of error (ME):
ME = critical value * standard error
ME = 1.96 * 0.95 = 1.86
- Find standard error. The standard error (SE) of the
mean is:
- Specify the confidence interval. The range of the confidence interval is defined by the sample statistic + margin of error. And the uncertainty is denoted by the confidence level. Therefore, this 95% confidence interval is 180 + 1.86.