A confidence interval (CI) is a range of values used to estimate an unknown population parameter, such as the true proportion of people who support a government initiative. Instead of measuring the entire population, researchers collect a sample and use statistical methods to infer information about the larger group.
Key components of confidence intervals include:
- Sample Mean (x̄): The average value from the sample, used as the center of the confidence interval
- Margin of Error (ME): The possible difference between the sample result and the true population value
- Confidence Level (1 − α): The probability that the confidence interval includes the true population value (i.e. 95% means we are 95% sure the interval contains the true value)
Formulas
Probability of Success
The probability of success in a given sample is represented as:
Where:
is the probability of success on a single trial is the sample proportion
Probability of Failure
The probability of failure is given by:
Where:
is the probability of failure on a single trial is the probability of success on a single trial
Confidence Interval for Mean
For a normal distribution, the confidence interval for a Population Mean (
A simplified form for the P% confidence interval is:
Where:
is the sample mean is the critical value from the standard normal distribution is the population standard deviation (or estimated from the sample) is the sample size is the population mean is the significance level, and
Confidence Interval for Proportion
For a Population Proportion based on binomial data, the confidence interval is given by:
Where:
is the sample proportion is the critical value from the standard normal distribution is the probability of success is the probability of failure is the sample size
Sample Size & Margin of Error
For a specified Margin of Error
Where:
is the sample size is the critical value from the standard normal distribution is the population standard deviation is the margin of error
These formulas help determine confidence intervals and required sample sizes when estimating population parameters based on sample data. They account for sampling variability and ensure that estimates remain within a specified level of accuracy.
Example
A sample of 100 students has an average test score of 75 with a standard deviation of 10. Find the 95% confidence interval.
First, we can identify the given values:
- Sample Mean:
- Standard Deviation:
- Sample Size:
- Critical Value:
Next, we can calculate the Standard Error. This measures the variability of the sample mean:
Then, we can find the Margin of Error:
Finally, we can construct the interval by adding or subtracting the margin of error to the sample mean. We can do so using the following formula:
We can determine the lower interval value by subtracting the Margin of Error to the average test score:
We can determine the higher interval value by adding the Margin or Error to the average test score:
Therefore, we can determine the Confidence Interval is (73.04, 76.96). This means we are 95% confident that the true average test score lies between 73.04 and 76.96.
Check yourself
Work each one out before you reveal it. Nothing here is recorded.
In a survey of 500 voters, 320 support a new policy. Find the 99% confidence interval for the proportion of supporters.
A researcher wants to estimate the average weight of fish with a margin of error of 2 kg and 95% confidence. The estimated standard deviation is 12 kg. Find the required sample size.
Ready to practice this?
You have just read the whole lesson — no account needed. One is what lets you mark it complete, see how far through the course you are, and practice the topic with questions picked for you.
- Progresssaved, and counted in your progress through the course
- Unlimitedadaptive practice questions, on every plan
No credit card. Under 18? We email your parent or guardian when you sign up.
Three ways to make this stick
Reading it once isn’t the same as being able to do it on Thursday.