Analyze Phase

Confidence Intervals for a Mean and a Proportion

A confidence interval is a range, computed from sample data, that is likely to contain a population parameter such as a mean or a proportion. A 95% confidence interval comes from a method that captures the true value in about 95% of repeated samples, and its width shows how precisely the sample estimates the parameter.

Quick facts

Type
Interval estimate of a population parameter
Mean
x̄ ± t(α/2, n − 1) × s / √n; with σ known, x̄ ± z(α/2) × σ / √n
Proportion
p̂ ± z(α/2) × √[ p̂(1 − p̂) / n ]
Critical values
z = 1.96 (95%) and 2.58 (99%); t from the table with n − 1 df
Origin
Jerzy Neyman, first in 1934, with the full theory of estimation in 1937
Reference
IASSC™ Green Belt Body of Knowledge §3.2
Exam relevance
Green Belt (Analyze phase); frequent calculation and interpretation items

How do you calculate a confidence interval for a mean?

Every interval has the same shape: estimate ± critical value × standard error.

  • x̄ ± z(α/2) × σ / √n when σ is known (from long, stable history)
  • x̄ ± t(α/2, n − 1) × s / √n when σ is estimated by s, the usual case

Critical values come from the formula sheet: z = 1.96 for 95% and 2.58 for 99%; t with n − 1 degrees of freedom, read in the α/2 column because the interval is two-sided.

With σ known. Larchfield Logistics times 36 truck unloadings: x̄ = 55.0 minutes, and long-run data give σ = 9 minutes, so σ/√n = 9/6 = 1.5.

ConfidenceCalculationInterval
95%55.0 ± 1.96 × 1.5 = 55.0 ± 2.9452.06 to 57.94 min
99%55.0 ± 2.58 × 1.5 = 55.0 ± 3.8751.13 to 58.87 min

With σ unknown. Northgate Insurance samples 25 claims: x̄ = 18.0 days and s = 5.0 days, so s/√n = 1.0. With 24 df, t = 2.064 for 95%.

StepCalculationResult
Margin of error2.064 × 5.0 / √252.064
Interval18.0 ± 2.06415.94 to 20.06 days

Intervals are rounded half-up to two decimals. With an estimated σ, t gives a wider interval than z, reflecting the extra uncertainty.

A confidence interval for a mean is the sample mean plus or minus a critical value times the standard error, never times the standard deviation alone.

How do you calculate a confidence interval for a proportion?

For a proportion, the standard error comes from p̂ itself:

  • p̂ ± z(α/2) × √[ p̂(1 − p̂) / n ]

Worked example. Harbourside Council reviews 400 permit applications and finds 48 incomplete.

StepCalculationResult
p̂48 / 4000.12
Standard error√(0.12 × 0.88 / 400)0.0162
Margin of error (95%)1.96 × 0.01620.032
Interval0.12 ± 0.0320.088 to 0.152

Intermediate values are carried unrounded; the interval is rounded half-up to three decimals. The council can say that between about 9% and 15% of applications arrive incomplete.

This is the normal-approximation interval. It needs enough successes and failures: a common check is n·p̂ ≥ 5 and n(1 − p̂) ≥ 5 (here 48 and 352) (some texts ask for 10). For small samples or proportions near 0 or 1, exact or Wilson intervals are more reliable.

A confidence interval for a proportion follows the same estimate-plus-margin logic, with the binomial standard error √[p̂(1 − p̂)/n].

How do you interpret a confidence interval?

"95% confident" describes the method, not one interval. If the study were repeated many times, about 95% of the intervals built this way would contain the true parameter. The true mean is fixed; it is the interval that changes from sample to sample.

Three readings follow:

  • It is about the parameter, not individuals. The Northgate interval of 15.94 to 20.06 days brackets the mean claim time, not 95% of individual claims, which spread much wider.
  • It links to hypothesis tests. If a hypothesized value lies outside a 95% interval, a two-sided test at α = 0.05 rejects it. A target of 21 days is outside 15.94 to 20.06, so the mean differs from 21 days at the 5% level.
  • Intervals for a difference (between two teams, before and after a change) that include 0 mean the data do not show a difference at that confidence level.

The width is the practical message: a narrow interval means the estimate is precise; a wide one means more data are needed before deciding.

A confidence interval is read as a range of plausible values for the parameter, with its width showing how much the sample really tells.

What makes a confidence interval wider or narrower?

Four things set the width of the interval, all visible in the formulas:

ChangeEffect on widthWhy
Higher confidence (95% to 99%)WiderLarger critical value: 2.58 instead of 1.96
Larger sampleNarrowerThe standard error falls with √n; four times the data halves the width
More variation in the dataWiderLarger s or p̂(1 − p̂)
Small sample with σ estimatedWidert critical values exceed z, most at low df

In the Larchfield example, moving from 95% to 99% widened the interval from ±2.94 to ±3.87 minutes. Cutting the width in half at the same confidence would need 144 unloadings instead of 36.

The interval can also be planned: fix the margin of error E you need and solve for n before collecting data.

Confidence level, sample size and variation are the three levers that set the width of a confidence interval.

What are the common mistakes with confidence intervals?

Confidence intervals are more informative than a bare p-value: they show the size of an effect and the uncertainty around it in the units of the process. Their common misuses are:

  • Using s instead of s/√n. The interval becomes √n times too wide.
  • Reading the one-tailed t value. A two-sided 95% interval uses the 0.025 column, not 0.05.
  • Using z with a small sample and an estimated σ. The interval is too narrow.
  • Mixing up 1.96 and 2.58. 1.96 is for 95%, 2.58 for 99%.
  • Reading the interval as a range for individual values. That is a prediction or tolerance interval.
  • Saying the true mean "has a 95% chance" of being inside this interval. The confidence is in the method.
  • Ignoring bias. An interval from a non-random sample is precise about the wrong population.

Most errors with confidence intervals come from the standard error and the critical value, so write both down before computing the interval.

Confidence interval vs. prediction interval: what is the difference?

Confidence intervalPrediction interval
BracketsA parameter, such as the meanOne future individual value
WidthNarrowerWider: adds the spread of individual values
As n growsShrinks toward zero widthShrinks toward the spread of individual values, never to zero
Typical questionWhat is the mean claim time?How long will the next claim take?
Example useEstimating a baseline or a differenceForecasting from a regression model

A confidence interval estimates where the mean lies; a prediction interval estimates where the next single value will fall. Use the first for decisions about the process and the second for individual outcomes.

Exam focus

Confidence intervals sit in IASSC™ section 3.2 (inference), in Green Belt scope, as calculation and interpretation items. Expect to build an interval for a mean with z when σ is known or with t and n − 1 df when it is not, and an interval for a proportion. The traps are using s instead of s/√n, reading the one-tailed t value, using 2.58 at 95%, and treating the interval as a range for individual values. Practise in the Analyze phase drill.

Practise this DMAIC phase →

FAQ

What does a 95% confidence interval actually mean?

It means the method used to build the interval captures the true parameter in about 95% of repeated samples. For one computed interval, the true value is either inside or not; the 95% describes how reliable the procedure is, not a probability that the fixed true value moves around.

When do I use t instead of z for a confidence interval?

Use t whenever the population standard deviation is unknown and estimated by the sample standard deviation, which is almost always. Read t with n − 1 degrees of freedom in the α/2 column. Use z only when σ is known from long, stable history, or for proportions.

How do I make a confidence interval narrower?

Collect more data, reduce the variation in the data (for example with a better measurement system or by stratifying), or accept a lower confidence level. Because the width depends on √n, halving the width needs about four times the sample size.

What does it mean if a confidence interval for a difference includes zero?

It means the data are consistent with no difference at that confidence level, so a matching two-sided hypothesis test would not reject the null hypothesis. It does not prove the groups are equal: a wide interval that includes zero may also include differences large enough to matter.

What is the margin of error in a confidence interval?

The margin of error is the half-width of the interval: the critical value times the standard error. In the interval 18.0 ± 2.064 days, the margin of error is 2.064 days. Sample-size formulas start from the margin of error you are willing to accept.

Sources

Last reviewed

Six Sigma is a registered trademark of Motorola Trademark Holdings, LLC. IASSC™, International Association for Six Sigma Certification™, IASSC Certified Green Belt™ and IASSC Certified Yellow Belt™ are trademarks of the International Association for Six Sigma Certification. ASQ® and its certification names belong to ASQ. Other names may be trademarks of their respective owners. This guide is independent and is not affiliated with, endorsed by or sponsored by IASSC™, PeopleCert, ASQ® or any certifying body. Its practice questions are original and are not taken from any exam.