A confidence interval is a random interval constructed from a statistical sample to cover a fixed unknown statistical parameter with a prescribed coverage probability. For a scalar target , a procedure with nominal confidence satisfiesThe subscript records which probability distribution generates the repeated samples. The endpoints are statistics, so they vary from sample to sample; the target is fixed. Equality gives exact nominal coverage probability, while the inequality also permits conservative procedures. For a general estimand , replace the target inside the interval by .
A realized confidence interval communicates the precision of an estimate in the target's own units. Reporting alone conceals the difference between an estimate with standard error and one with standard error . A narrow confidence interval indicates greater precision for the stated statistical model, rather than a guarantee that its assumptions describe the experiment correctly.
Once is observed, either contains the fixed target or does not. The 95% statement concerns the random procedure , not a posterior probability of 0.95 that this particular interval contains . A credible interval instead assigns specified posterior probability to a region under Bayesian inference. These interpretations can differ even when the numerical endpoints agree. The repeated-sampling interpretation is explained in NIST's confidence-limits teaching reference.
Jerzy Neyman's 1937 paper formulates the fixed-target, random-endpoint construction in Section II, especially equation (20) on page 348. Its confidence coefficient must hold across the allowed statistical parameters, rather than only at the value suggested by one sample. See Neyman, Outline of a Theory of Statistical Estimation Based on the Classical Theory of Probability and the original paper scan.
Suppose are independent and identically distributed with normal distribution , where the mean is unknown and the standard deviation is known. The sample mean has normal distribution and standard error . With the standard normal quantile at , the displayed confidence interval has exact coverage probability for every and every positive integer . No central limit theorem approximation is needed.
Take , and nominal confidence 95%. The standard error is , and . ThereforeRounded for reporting, this is . If , the realized confidence interval is approximately . Exact 95% calibration refers to the unrounded standard normal quantile; using literally gives coverage probability , almost but not exactly 0.95.
The confidence interval's width scales as : increasing sample size from 16 to 64 halves its half-width to . If is unknown, merely substituting the square root of a sample variance loses the displayed exact calibration; for the same normal distribution model, use a Student t confidence interval.
The figure holds the true mean at and independently generates 40 samples of 16 observations from the same normal distribution. NumPy's PCG64 generator with seed 42 gives 39 covering confidence intervals and one miss, at sample 32: observed coverage is . Every bar uses the unrounded standard normal quantile. This finite collection illustrates the moving endpoints; it does not establish the analytic coverage probability or require exactly two misses.
The beauty of the construction is that a familiar standard normal distribution calibrates every possible unknown mean at once. For a short proof, the pivotal quantityhas a probability distribution independent of . The event has probability ; rearranging it gives . The right panel shows the equivalent event when .
For the same normal distribution model, a two-sided test compares the null hypothesis with the alternative hypothesis . Under the null hypothesis, the standardized test statistic has standard normal distribution. Write for the standard normal distribution function. With , , and , the observed test statistic is . Its p-value isThus the p-value is a tail probability computed under the null hypothesis, including departures in both directions. It is not , the posterior probability of the null hypothesis, nor the probability that the observations arose "by chance". The normal distribution test statistic and its calibration appear in NIST's teaching reference for testing a process mean; the tail interpretation is stated in Penn State's hypothesis-testing notes.
Choose the significance level before observing the sample. The rejection region is , whose probability under is exactly 0.05. Here , so reject . This agrees with zero lying outside . More generally, a proposed belongs to the unrounded 95% confidence interval precisely when its two-sided test does not reject under this strict cutoff. The equality boundary has probability zero in this continuous statistical model.
The significance level and statistical power describe different repeated-experiment probabilities. At a specified alternative , put and . ThenThe first is the Type I error probability; the second is the Type II error probability at that alternative. For a planning alternative , keeping , and gives , and statistical power . At , and statistical power rises to . These are model calculations for specified alternatives, not posterior probabilities inferred from a nonsignificant result. They explain why failure to reject cannot establish equality and why choosing sample size before an experiment is useful.
Historically, Ronald Fisher's 1925 book discusses the normal cutoff and tail probability 0.05 as a convenient convention on page 47, rather than a mathematically compulsory threshold: [ref]
https://books.google.com/books/about/Statistical_Methods_for_Research_Workers.html?id=I0NBAAAAIAAJ. Fisher, Statistical Methods for Research Workers, first edition
.The coverage probability is the repeated-sampling probability that a random confidence interval contains the fixed true statistical parameter. A finite-sample level- procedure has coverage probability at least at every admissible statistical parameter; exact nominal coverage means equality. An asymptotically calibrated procedure approaches the nominal value as sample size grows, under its stated assumptions. Higher-order Edgeworth expansions can quantify the discrepancy from nominal coverage probability when their regularity conditions hold.
Observed coverage in finitely many repetitions is itself random. For independent repetitions of the exact normal mean confidence interval with known variance, the count of covering confidence intervals has binomial distribution . At , its expectation is , butConsequently, the 39 successes in the figure are compatible with exact 95% coverage probability. The guarantee follows from the pivotal quantity's probability distribution; the finite observed fraction is an illustration. Also distinguish a confidence interval for a fixed mean from a prediction interval for a future observation: the latter must accommodate the new observation's variation as well as estimation uncertainty.
The sample minimum and maximum enclose random population content given by the uniformized sample range. The exact failure probability for content at least is . For small , setting gives the displayed sample-size approximation at confidence . The positive solution is unique for , since decreases from one to zero. A tolerance interval concerns population content, rather than a confidence interval for a fixed parameter; the exact inequality should select the final integer size.
For an exponential distribution with mean , the maximum-likelihood estimator is and converges to a standard normal distribution. Inverting the event that this pivot lies between and gives the displayed confidence interval, provided . Its two-sided coverage probability has error , because the first Edgeworth expansion term is even and cancels between the two tails.
For jointly approximately normal estimates with estimated variances and covariance , a confidence interval for the ratio , where , can be obtained by inverting tests of . For each proposed ratio , the contrast has estimate and variance . Retain when its absolute standardized contrast is at most the chosen critical value . This gives the displayed quadratic inequality, with coefficients , , . When and the discriminant is positive, retain the interval between the roots. When , a confidence set can instead be two unbounded rays or the entire real line. Degenerate linear cases are interpreted directly from the inequality. A bounded interval must not be forced when the denominator is poorly separated from zero. Known covariance matrix and a joint normal distribution give exact normal critical values; estimated covariance usually gives approximate coverage, unless an appropriate exact common-scale pivot exists.
A lower confidence bound gives a one-sided confidence interval with the displayed coverage requirement for every admissible parameter. An upper bound instead satisfies . Coverage is a repeated-sampling property; it does not assign a posterior probability to the fixed parameter.
Invert a likelihood-ratio test for a scalar parameter, maximizing over nuisance parameters for each fixed candidate value. Under regularity, a level interval includes values whose profile log-likelihood is at most below its maximum. This explains the horizontal cutoff on a Box–Cox transformation likelihood plot.
If a positive rate has a confidence interval , monotonicity transforms it into for the reciprocal mean . This preserves the coverage event exactly and reverses the endpoints. It applies directly to mean exponential holding times.
For a sample of size from a continuous probability distribution, this interval covers the median with probability , for . Count observations below the median: their number has the binomial distribution with parameters . No strict increase of the distribution function is needed.
For two independent observations uniform on , the displayed interval of possible parameter values contains the true parameter almost surely. Intersecting any confidence interval with it preserves that interval's coverage, while excluding values inconsistent with the observations. The order statistics interval has coverage , since the observations straddle with probability . If their separation exceeds , the entire interval of possible parameters lies between the observations; this explains why the nominal one-half procedure can be unnecessarily wide on that event.
Articles by others on the same topic
There are currently no matching articles.

