01 / 21

Confidence Level &
Margin of Error

Learn how to interpret confidence intervals, understand what confidence level truly means, and master the margin of error in statistical estimation.

College Statistics

What Is a Confidence Interval?

When we take a sample from a population, we compute a sample statistic (like \(\bar{x}\) or \(\hat{p}\)) to estimate a population parameter. But a single number is rarely exactly right. A confidence interval gives us a range of plausible values for the true parameter.

Point Estimate
The single best guess: \(\bar{x}\) or \(\hat{p}\)
Margin of Error
How far the interval extends from the estimate
Confidence Level
How often the method captures the true parameter

What Does Confidence Level Mean?

A 95% confidence level does not mean there is a 95% probability the parameter lies in your specific interval. Instead, it means: if we repeated the sampling process many times, about 95% of the resulting intervals would contain the true parameter.

True \(p\) ✓ Captures ✓ Captures ✓ Captures ✕ Misses ✓ Captures ✓ Captures ✓ Captures ✓ Captures ✓ Captures ✓ Captures Sample 1 Sample 4 Sample 10

Anatomy of a Confidence Interval

Point Estimate \(\hat{p}\) or \(\bar{x}\) Lower Bound Upper Bound \(E\) \(E\) Margin of Error

The Margin of Error Formula

For estimating a population proportion \(\hat{p}\) at confidence level \(C\):

\(z^*\)
Critical value from the standard normal distribution, determined by the confidence level
\(\hat{p}\)
Sample proportion: successes divided by sample size
\(n\)
Sample size: the number of observations in the sample

Common Critical Values \(z^*\)

Confidence Level \(z^*\) Value Alpha \(\alpha\)
90% 1.645 0.10
95% 1.960 0.05
99% 2.576 0.01

The Normal Curve and \(z^*\)

\(\mu\) \(-z^*\) \(+z^*\) 95% 2.5% 2.5% The central 95% lies between \(-1.96\) and \(+1.96\)

Confidence Level vs. Margin of Error

Feature Confidence Level Margin of Error
What it measures Long-run capture rate Width of the interval
Typical values 90%, 95%, 99% Depends on \(n\), \(\hat{p}\), \(z^*\)
Increase it... Interval gets wider Interval gets wider
Controlled by Researcher's choice of \(z^*\) \(z^*\), \(n\), and variability
Trade-off More confidence = less precision Smaller \(E\) = more precision

What Affects the Margin of Error?

1
Confidence level \(\uparrow\): Larger \(z^*\), so \(E\) increases. More confidence costs precision.
2
Sample size \(n \uparrow\): The denominator \(\sqrt{n}\) grows, so \(E\) decreases. Larger samples are more precise.
3
Variability \(\uparrow\): If \(\hat{p}(1-\hat{p})\) or \(\sigma\) is large, the data is more spread out, so \(E\) increases.
4
Quadrupling rule: To cut \(E\) in half, you must quadruple the sample size, since \(E \propto 1/\sqrt{n}\).

How to Construct a Confidence Interval

1
Check conditions: Random sample, independence (\(n \le 10\%\) of population), and normality (\(n\hat{p} \ge 10\) and \(n(1-\hat{p}) \ge 10\)).
2
Find the point estimate: Compute \(\hat{p} = x/n\) (proportion) or \(\bar{x}\) (mean).
3
Determine \(z^*\): Look up the critical value for your chosen confidence level (e.g., \(z^* = 1.96\) for 95%).
4
Compute the margin of error: \(E = z^* \sqrt{\hat{p}(1-\hat{p})/n}\).
5
State the interval: \((\hat{p} - E, \; \hat{p} + E)\) and interpret in context.

Example 1: Poll Results

A poll of \(n = 400\) voters finds that \(\hat{p} = 0.58\) support a proposal. Construct a 95% confidence interval for the true proportion.

1
Check conditions: Random sample assumed; \(n\hat{p} = 400(0.58) = 232 \ge 10\) ✓ and \(n(1-\hat{p}) = 168 \ge 10\) ✓
2
Critical value: 95% confidence → \(z^* = 1.96\)
3
Margin of error: \(E = 1.96\sqrt{\dfrac{0.58 \times 0.42}{400}} \approx 1.96(0.02468) \approx 0.0484\)
4
Interval: \((0.58 - 0.0484,\; 0.58 + 0.0484) = (0.5316,\; 0.6284)\)

Example 2: Changing Confidence Level

Using the same poll (\(n = 400\), \(\hat{p} = 0.58\)), what happens if we use a 99% confidence level instead?

1
New critical value: 99% → \(z^* = 2.576\)
2
New margin of error: \(E = 2.576 \times 0.02468 \approx 0.0636\)
3
New interval: \((0.5164,\; 0.6436)\), or \((0.516, 0.644)\)

Example 3: Required Sample Size

A researcher wants a 95% confidence interval for a proportion with a margin of error no larger than 0.03. No prior estimate of \(\hat{p}\) is available. What sample size is needed?

1
Set up: \(E = z^*\sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}} \le 0.03\)
2
Solve for \(n\): \(n \ge \left(\dfrac{z^*}{E}\right)^2 \hat{p}(1-\hat{p}) = \left(\dfrac{1.96}{0.03}\right)^2 (0.25) = 1067.1\)
3
Round up: \(n = 1068\). Always round up to guarantee the desired precision.

Interpreting In Context

The AP exam (and most statistics courses) require you to interpret a confidence interval in context. There is a specific template:

✓ Correct
"We are 95% confident that the true proportion of all voters who support the proposal is between 0.532 and 0.628."
✕ Incorrect
"There is a 95% probability that the true proportion is between 0.532 and 0.628."

Common Mistakes

✕ Probability Language
Saying "95% probability the parameter is in this interval." The parameter is fixed; the interval either captured it or it didn't.
✕ Forgetting Context
Writing the interval without stating what parameter it estimates or what the population is. Always name the variable and population.
✕ Ignoring Conditions
Skipping the check for randomness, independence (\(10\%\) rule), and normality (\(n\hat{p} \ge 10\), \(n(1-\hat{p}) \ge 10\)).
✕ Rounding Too Early
Rounding \(z^*\) or intermediate values too aggressively. Keep at least 3-4 decimal places during calculation.
✕ Rounding \(n\) Down
When solving for required sample size, always round \(n\) up. Rounding down gives a margin of error larger than desired.

Summary: Key Relationships

If you increase... Effect on \(E\) Effect on CI Width
Confidence level \(C\) \(E\) increases Wider
Sample size \(n\) \(E\) decreases Narrower
Variability \(\sigma\) or \(\hat{p}(1-\hat{p})\) \(E\) increases Wider
\(\hat{p}\) moves toward 0.5 \(E\) increases Wider
\(\hat{p}\) moves toward 0 or 1 \(E\) decreases Narrower

Question 1 of 5

A 95% confidence interval for a population proportion is (0.42, 0.58). What is the margin of error?

Question 2 of 5

Which statement is a correct interpretation of a 95% confidence interval?

Question 3 of 5

A researcher wants to decrease the margin of error of a confidence interval without changing the confidence level. What should they do?

Question 4 of 5

A poll uses \(n = 600\) and finds \(\hat{p} = 0.45\). Which \(z^*\) value corresponds to a 90% confidence interval?

Question 5 of 5

A 95% confidence interval based on \(n = 200\) has a margin of error of 0.06. If the sample size is increased to \(n = 800\) (everything else unchanged), the new margin of error will be approximately: