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.
For a count from a Poisson distribution, equal-tail inversion uses the inclusive upper-tail event for the lower endpoint and the inclusive lower-tail event for the upper endpoint. Their cumulative distribution indices differ by one, as displayed. If , the lower endpoint is zero. For observations of mean , apply this to their total of mean and divide endpoints by . The construction has at least the nominal frequentist coverage; discreteness can make it conservative.
Invert a family of hypothesis tests by including each parameter value in the confidence set exactly when its test does not reject. For any true value , the events and are identical. Thus size at most gives coverage at least , and exact size gives exact coverage. When the accepted set is an interval, this is a confidence interval.
For the normal sample mean with unknown variance, the central Student t-distribution interval excludes zero exactly when exceeds the same two-sided critical quantile. A two-sided p-value strictly below therefore implies exclusion of zero from the matching closed interval. Boundary conventions agree up to events of probability zero in this continuous model.
For a symmetric interval of the form , where and the standard error is nonnegative, adding and subtracting the endpoints proves the displayed identities. Thus the endpoints must be ordered and their midpoint must equal the point estimate. Rounding should be assessed using intervals of possible unrounded values before declaring a numerical contradiction.
When this confidence interval is obtained by inverting a matching two-sided test of , exclusion of agrees with rejection at the corresponding significance level, with the usual convention at boundary equality. This is a check for a specified symmetric interval procedure, such as the usual t interval for a mean difference; it does not require asymmetric intervals or intervals on transformed scales to have their midpoint at the estimate on the original scale.
A confidence interval for the success probability of a binomial distribution, based on the observed success count and number of trials. A nominal confidence level need not equal the actual finite-sample coverage probability; the distinction matters especially for small samples and proportions near zero or one.
For , , put and let be the quantile of the standard normal distribution. Inverting the approximate score test retains precisely the parameters satisfyingMultiplication and collection of terms gives the quadratic inequalityIts two roots are the displayed endpoints. The Wilson score interval stays within and remains nontrivial when or , unlike the unmodified Wald confidence interval. Its coverage probability is approximate and varies with ; it is not a uniformly exact 95% guarantee. Separate pointwise intervals for several groups are not a simultaneous confidence statement. The method is named after Edwin Bidwell Wilson.[ref]
Suppose and a positive estimator satisfies . Choose the standard normal quantile . For , an asymptotic confidence interval of level isProof. Convergence in distribution gives . Multiplication by the positive and rearrangement makes this event equivalent to . Both factors are positive when , so division yields exactly the displayed interval. Thus its coverage probability tends to . For coverage, . This inversion retains the unknown scale in the normalized error, rather than replacing it by the observed estimator before inversion.
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.
Let be independent and identically distributed observations from a continuous cumulative distribution function , with . The interval from the sample minimum to maximum contains random population probability . The probability integral transform identifies with the uniformized sample range, soFor small , setting makes this approximately . Solve for the unique positive when , then use the exact displayed inequality to choose an integer sample size.
This is a distribution-free tolerance interval for population content under the continuous iid model. It differs from a confidence interval for a fixed parameter. Atoms or dependent observations require their own treatment; uniformizing them does not automatically preserve the same ordinary sample-range calculation.
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.

