Source: Principles of Statistics I, Texas A&M / Tamhane & Dunlop Ch. 6–7, 9
Tags: interval estimators, confidence interval, prediction interval, tolerance interval, pivot method, t-distribution, chi-square, F-distribution, pooled variance, Welch-Satterthwaite, paired data, exponential CI
There are three types of interval estimators: confidence intervals (for fixed parameters), prediction intervals (for a future observation), and tolerance intervals (for a proportion of the population). Confidence intervals are most commonly built using the pivot method, where you find a function of the data and the parameter whose sampling distribution is free of unknowns, then invert the probability inequality.
Confidence interval (CI)
A 100(1 − α)% CI for a parameter θ is an interval (θ̂L, θ̂U) constructed from a random sample such that P[θ̂L ≤ θ ≤ θ̂U] = 1 − α. It reflects the uncertainty in using a point estimator for θ.
Prediction interval (PI)
An interval (Ŷn+1,L, Ŷn+1,U) that captures the next random observation Yn+1 with probability 1 − α. It forecasts a single future value, not a parameter.
Tolerance interval (TI)
An interval (LP,γ, UP,γ) such that we are 100γ% confident it contains at least 100P% of the population values. Two tuning parameters: P (proportion captured) and γ (confidence that the interval achieves that capture).
Pivot
A function g(Y, θ) of the data and the unknown parameter whose sampling distribution does not depend on θ. The pivot is the engine behind most exact CI constructions.
Level of confidence
The 100(1 − α)% value refers to the long-run process: across many repeated samples, approximately (1 − α) of the constructed intervals will contain θ. Any single realised interval either contains θ or it does not.
Coverage probability
C(θ, n) = P[θ ∈ (θ̂L, θ̂U)]. Compares the true capture rate to the nominal level 1 − α.
Expected width
E[W(θ, n)] = E[θ̂U − θ̂L]. A measure of precision. Between two CIs with the same coverage, the one with shorter expected width is preferred.
CI targets a fixed parameter (μ, σ, p, β, etc.). Example: "We are 99% certain the mean tumour-appearance time is in (40, 60) hours."
PI targets the next random observation. Example: "We are 98% certain the tensile strength of the next specimen is in (1.23, 2.31)."
TI targets a region of the population. Example: "We are 95% certain that 99% of bearing diameters fall in (0.99, 1.02) cm."
Find a function g(Y, θ) whose sampling distribution does not depend on θ.
Use the cdf of g to obtain percentiles Cα/2 and C1−α/2 satisfying P[Cα/2 ≤ g(Y, θ) ≤ C1−α/2] = 1 − α.
Algebraically invert the inequality to isolate θ, giving L ≤ θ ≤ U.
The cdf of the pivot can be determined by exact derivation, by asymptotic (large-n) approximation, or by bootstrap.
Setting: Y1, …, Yn iid N(μ, σ²), σ unknown.
Pivot: g(Y, μ) = (Ŷ − μ) / (S / √n), which follows a t-distribution with df = n − 1.
100(1 − α)% CI for μ:
Ŷ ± tα/2, n−1 · S / √n
The t-percentile tα/2, n−1 = qt(1 − α/2, n − 1) in R.
Setting: Y1, …, Yn iid N(μ, σ²).
Pivot: g(Y, σ) = (n − 1)S² / σ², which follows a chi-square distribution with df = n − 1.
100(1 − α)% CI for σ:
( √[(n−1)S² / χ²1−α/2, n−1] , √[(n−1)S² / χ²α/2, n−1] )
Note the inversion: the larger chi-square percentile goes in the denominator of the lower bound.
Pooled variance: S²p = [(n₁ − 1)S²₁ + (n₂ − 1)S²₂] / (n₁ + n₂ − 2)
Pivot follows t with df = n₁ + n₂ − 2.
CI: (Ŷ − X̄) ± tα/2, n₁+n₂−2 · Sp√(1/n₁ + 1/n₂)
Do not pool. Use separate sample variances.
Pivot is approximately t with Welch-Satterthwaite df:
dfWS = (w₁ + w₂)² / [w₁²/(n₁ − 1) + w₂²/(n₂ − 1)], where wi = S²i/ni
CI: (Ŷ − X̄) ± tα/2, dfWS · √(S²₁/n₁ + S²₂/n₂)
This is an approximate CI because the pivot distribution is only approximately t.
Setting: (Y₁, X₁), …, (Yn, Xn) are iid pairs. Define Di = Yi − Xi.
If the pairs are positively correlated, pairing reduces Var(Ŷ − X̄) compared to the independent-samples case:
Var(Ŷ − X̄) = Var(Ŷ) + Var(X̄) − 2·Cov(Ŷ, X̄)
The problem reduces to a one-sample CI for μD:
CI: D̄ ± tα/2, n−1 · SD / √n
Note: df = n − 1 (number of pairs minus one), not 2(n − 1).
Trade-off of pairing: variance is reduced, but df drops from 2(n − 1) to n − 1, making the t-percentile larger. The net benefit depends on the strength of the positive correlation.
Setting: Y1, …, Yn iid Exp(β). The MLE is β̂ = Ŷ.
Pivot: g(Y, β) = 2nŶ / β, which follows a chi-square distribution with df = 2n.
This works because nŶ = ΣYi ~ Gamma(n, β), and 2W/β ~ χ²(2n) when W ~ Gamma(n, β).
100(1 − α)% CI for β:
( 2nŶ / χ²1−α/2, 2n , 2nŶ / χ²α/2, 2n )
R commands: χ²α/2, 2n = qchisq(α/2, 2n) and χ²1−α/2, 2n = qchisq(1 − α/2, 2n).
Example: For a 95% CI with n = 10, use df = 20. χ²0.025, 20 = 9.591 and χ²0.975, 20 = 34.170.
Setting: Yi iid Exp(β₂), Xi iid Exp(β₁), independent.
Pivot: (Ŷ/β₂) / (X̄/β₁), which follows an F-distribution with df = (2n₂, 2n₁).
100(1 − α)% CI for β₁/β₂:
( (X̄/Ŷ) · Fα/2, 2n₂, 2n₁ , (X̄/Ŷ) · F1−α/2, 2n₂, 2n₁ )
Useful F-table identity: F1−α, n₁, n₂ = 1 / Fα, n₂, n₁
Parameter | Population | Pivot distribution | df |
|---|---|---|---|
μ (normal) | N(μ, σ²) | t | n − 1 |
σ (normal) | N(μ, σ²) | χ² | n − 1 |
μ₂ − μ₁ (equal var) | Independent normals | t | n₁ + n₂ − 2 |
μ₂ − μ₁ (unequal var) | Independent normals | approx. t | dfWS |
μD (paired) | Paired normals | t | n − 1 |
β (exponential) | Exp(β) | χ² | 2n |
β₁/β₂ (exponential) | Independent exponentials | F | (2n₂, 2n₁) |
⚠️ The confidence level refers to the process, not to any single interval. A realised CI either contains θ (probability 1) or does not (probability 0).
⚠️ For paired data, df = n − 1, not 2(n − 1). Using the wrong df is a common exam error.
⚠️ When inverting a chi-square pivot, the larger chi-square value goes in the denominator of the lower CI bound. The direction flips.
⚠️ The Welch-Satterthwaite CI is approximate. The equal-variance (pooled) CI is exact under its assumptions.
⚠️ For the exponential CI, the chi-square df is 2n, not n − 1.
Q: What are the three conditions required for the t-based CI for a normal mean to be exact?
A: (1) X̄ has a normal distribution, (2) (n − 1)S²/σ² has a chi-square distribution, and (3) X̄ and S are independent. All three hold when sampling from N(μ, σ²).
Q: A sample of n = 10 from an Exp(β) distribution yields Ŷ = 5.3. Construct a 95% CI for β.
A: The pivot 2nŶ/β ~ χ²(20). CI = (2·10·5.3 / χ²0.975,20, 2·10·5.3 / χ²0.025,20) = (106 / 34.170, 106 / 9.591) = (3.10, 11.05).
Q: Why does pairing sometimes produce a narrower CI than two independent samples, and when might it not?
A: Pairing reduces variance when pairs are positively correlated, because Var(D̄) = Var(Ŷ) + Var(X̄) − 2Cov(Ŷ, X̄). However, the df drops to n − 1, raising the t-percentile. If the correlation is weak, the increased t-percentile can outweigh the variance reduction, producing a wider interval.
Q: For the F-distribution pivot comparing two exponential means, why is df = (2n₂, 2n₁) rather than (n₂ − 1, n₁ − 1)?
A: Because each 2niŶi/βi is chi-square with df = 2ni (from the Gamma-to-chi-square transformation), not from a sample-variance calculation which would give ni − 1.
confidence interval, pivot method, t-distribution CI, chi-square CI, pooled two-sample t-test, Welch-Satterthwaite degrees of freedom, paired t-interval, exponential confidence interval, F-distribution ratio, interval estimation, exact confidence interval, sampling distribution of pivot, level of confidence interpretation