Guidelines for Confidence Intervals
Confidence Interval Assumptions
Every confidence interval formula comes with fine print. The interval xˉ±tα/2,n−1s/n has its stated coverage guaranteed under the model used to derive its critical value. Some departures from that model still preserve approximately nominal coverage. In engineering work you are handed a data set, so you must decide which interval the data can support. This lesson explains the assumptions behind standard intervals, how they guide procedure choice, and how to check them.
Where the confidence level comes from
Each standard interval starts from a pivotal quantity whose distribution is known exactly when the assumptions hold. For independent observations from the same normal population with σ unknown,
Rearranging the inequality to isolate μ gives the interval. The coverage probability is the long-run proportion of intervals, built by the same procedure on repeated samples, that actually contain the parameter. The exact model guarantees coverage equal to the nominal level 1−α. Some departures preserve approximately nominal coverage; others cause substantial errors that the computed interval alone cannot reveal.
Three considerations govern the intervals in this chapter:
- Random sampling and independence. The observations form a random sample of independent, identically distributed values with finite variance, so that Var(Xˉ)=σ2/n.
- Population shape. The exact z, t and chi-square pivots assume a normal population; a sufficiently large sample can support a normal approximation for the mean under broader conditions.
- What is known about σ. Exactly known σ is a population parameter supplied independently of the current sample. Extensive historical data may justify treating an estimate as known when its estimation uncertainty is negligible and the process variance remains applicable. Otherwise, that uncertainty must be considered; the current sample standard deviation is not a known σ.
Choosing the interval
The assumptions you can justify decide the pivot, its degrees of freedom and the formula.
Parameter | Population and information | Pivot distribution | Interval |
|---|---|---|---|
Mean μ | Normal, σ known, any n | Standard normal z | xˉ±zα/2σ/n |
Mean μ | Normal, σ unknown, any n | t with n−1 degrees of freedom | xˉ±tα/2,n−1s/n |
Mean μ | Shape unknown, σ unknown, sufficiently large n | Approximately z | xˉ±zα/2s/n |
Variance σ2 | Normal | Chi-square with n−1 degrees of freedom | Based on (n−1)S2/σ2 |
Sample sizes of 30 or 40 are rough screening guidelines for the third row, not guarantees. The central limit theorem supports a normal approximation for the sample mean as n grows. Under these conditions, s also approaches σ, supporting its use in the approximate interval. Neither result guarantees accuracy at a particular sample size. Strong skewness, heavy tails or rare extreme observations can require substantially larger samples, even when the population is symmetric.
Checking the assumptions
A procedure is robust to an assumption when its actual coverage stays close to the nominal level even though that assumption is moderately violated. Check each assumption with the tool that suits it.
- Normality. Draw a normal probability plot; a roughly straight pattern supports normality without proving it. The t interval for a mean tolerates moderate non-normality, especially as n grows, but extreme observations warrant caution. In contrast, the chi-square interval for a variance is not robust: skewness or heavy tails can distort its coverage even in large samples.
- Independence. Plot observations in time order and review the sampling design. Repeated readings on the same specimen can be positively correlated; then Var(Xˉ) exceeds σ2/n and the usual interval is too narrow. Process drift also challenges the assumption of a common distribution.
- Random sampling. Review how the data were collected. A convenience sample, such as the first parts off the line, can be biased, and a larger sample does not repair dependence or a biased sampling method.
What to remember
- The exact model guarantees nominal coverage; some departures preserve approximately nominal coverage.
- Normal with σ known: use z. Normal with σ unknown: use t with n−1 degrees of freedom.
- For unknown population shape, z with s is a large-sample approximation; 30 or 40 observations do not guarantee accuracy.
- Historical estimates justify treating σ as known only when their uncertainty is negligible and their variance remains applicable.
- Mean intervals tolerate moderate non-normality better than chi-square variance intervals. More observations alone do not repair dependence or sampling bias.
Example: Choosing and checking an interval for concrete strength
A ready-mix supplier tests 12 concrete cylinders taken at random times from one day's production. The 28-day compressive strengths have a sample mean of xˉ=48.6 MPa and a sample standard deviation of s=2.4 MPa. Assume the sampled strengths are independent observations from the same population. A normal probability plot of the 12 values is close to a straight line, and the supplier has no long-run record of the process standard deviation.
a) Decide which 95% confidence interval for the mean strength the data support, and justify each assumption.
Check the assumptions one at a time.
- Random sampling and independence. Sampling at random times supports representation of that day's production. Independence is an additional assumption explicitly stated in the problem; it does not follow from random timing alone. Strengths from nearby times or cylinders from the same batch could otherwise be correlated.
- Population shape. The normal probability plot is close to straight, so a normal population is a reasonable model. This check matters here because n = 12 is too small to lean on the central limit theorem.
- Knowledge of the standard deviation. There is no long-run record, so σ is unknown and must be estimated by s.
Under independent sampling from a normal population with σ unknown, use the t interval with n−1 degrees of freedom:
b) Compute the 95% confidence interval for the mean compressive strength.
The interval uses n−1= ________ degrees of freedom. From a t table, the upper 2.5% point with 11 degrees of freedom is ________.
The standard error of the mean is s/n=2.4/12, which is ________, and the margin of error is 2.201×0.6928, which is ________.
Under the stated independence assumption and the normal population model, the 95% confidence interval for the mean compressive strength is 47.08≤μ≤50.12 MPa.
c) A colleague argues that 12 cylinders is close enough to a large sample and uses z0.025=1.960 instead. How does this change the interval, and what is its actual coverage?
With z, the margin of error becomes 1.960×0.6928, which is ________:
The correct t interval has width 2×1.5249, which is ________, while the z interval has width 2×1.3579=2.72 MPa. The ratio 1.960/2.201≈0.891, so the z interval is about 11% narrower.
Narrower is not better here. Under independent sampling from a normal population, the pivot T=(Xˉ−μ)/(S/12) follows a t distribution with 11 degrees of freedom, whose tails are heavier than the normal's. The probability that this T lies between −1.96 and 1.96 is approximately 0.92419. Thus, under these assumptions, the interval labelled 95% would capture the true mean in only about 92% of repeated samples. The colleague's interval overstates the precision of the estimate.
An engineering team keeps a one-page guide for choosing a confidence interval procedure. Match each interval procedure to the situation in which it is the appropriate choice.
Interval on the spread of a normal population; its coverage stays sensitive to non-normality even when the sample is large
Population shape unknown and standard deviation unknown, but the sample holds roughly 40 or more observations
Normal population whose standard deviation is fixed by a long, stable process history, so it is treated as known even for a small sample
Normal population, standard deviation unknown and estimated by s, with a sample too small to rely on the central limit theorem
z interval with known σ
Chi-square interval on σ²
Large-sample z interval using s
t interval with n − 1 degrees of freedom
Five 95% confidence intervals for a population mean are built from random samples drawn from normal populations. Use the critical values z0.025=1.960, t0.025,3=3.182, t0.025,8=2.306 and t0.025,15=2.131 as each scenario requires. Arrange the scenarios from the narrowest interval (smallest half-width) to the widest.
Loading ordering steps…