Credible Interval

A credible interval for a parameter under posterior is any set satisfying

Unlike a frequentist confidence interval, the probability statement is a direct posterior probability: given the observed data (and the prior), there is a probability that lies in .

Two conventional choices of satisfy this constraint:

  • Equal-tail interval: , where is the -quantile of the posterior. Trivial to compute from posterior samples.
  • Highest posterior density (HPD) interval: , where is chosen so . This is the shortest credible set for unimodal posteriors.

The two coincide when the posterior is symmetric and unimodal (e.g., Gaussian); they can differ meaningfully for skewed posteriors, where the equal-tail interval can exclude the mode or include low-density tail regions.

Contrast with confidence intervals. A frequentist confidence interval satisfies for every fixed : the randomness is in the data, the parameter is fixed, and the coverage statement is over hypothetical repetitions of the experiment. A credible interval reverses this: the randomness is in (as a posterior random variable), the data are fixed at their observed value, and the probability statement is directly about the parameter. The two can coincide numerically under flat priors and regular models (e.g., Normal mean under a flat prior gives the same interval either way), but they answer different questions.

Intuition

Credible intervals summarize posterior uncertainty in a single “plausible range.” They are the Bayesian counterpart of confidence intervals but carry the interpretation that every student wishes a confidence interval had — a direct probability statement about where the parameter is. This conceptual cleanness is the main practical appeal of Bayesian inference: if the posterior has been correctly computed, the credible interval is the range containing of the posterior mass, full stop.

The choice between equal-tail and HPD comes down to skew. For a symmetric posterior, the two coincide and reporting either is fine. For a heavily skewed posterior (common with ratio parameters, variance components, or small-sample binomial proportions) the equal-tail interval can be noticeably wider than the HPD and can exclude the posterior mode. The HPD is always the shortest set with the required mass but may be disconnected for multi-modal posteriors — which is itself a useful signal that a single interval is the wrong summary.

Properties

(Direct Probability Interpretation) A credible interval has posterior probability of containing .

The statement "" is literal and direct, not a statement about the long-run frequency of repeated intervals. This matches most users’ intuition for what a interval “should” mean. The cost is that the probability statement is only as good as the prior: if the prior is misspecified, the posterior is miscalibrated and the credible interval can have poor frequentist coverage. For reasonable priors and regular models, Bernstein-von Mises asymptotics guarantee that the credible interval’s frequentist coverage approaches as , so the two notions converge in the large-data limit.

(HPD Minimizes Length) Among all sets with posterior probability , the HPD set has minimum total length.

Formally, the HPD region with chosen so minimizes over all sets with . The proof is a swap argument: any set with the same mass but different shape must include some low-density point not in and exclude some high-density point in , so swapping shortens the total length. For unimodal posteriors is an interval; for multi-modal posteriors it can be a union of disconnected intervals, which is either a feature (exposes the multi-modality) or a flag that the posterior summary is inadequate.

(Equal-Tail Is Transformation-Invariant) Equal-tail credible intervals are preserved under monotone reparameterization; HPD intervals are not.

If for a monotone increasing , the equal-tail posterior quantiles transform as . The interval is the equal-tail credible interval for . The HPD interval for is not in general — the Jacobian of reshapes the posterior density and moves the level-set boundary. For scale parameters (where “log- flat” is natural), this matters: the HPD interval for and the one for generally do not agree after back-transformation, while the equal-tail intervals do.

(Frequentist Coverage) A Bayesian credible interval has approximate frequentist coverage under regularity and diffuse priors.

For smooth parametric models with interior true parameter, the posterior concentrates around the MLE as (Bernstein-von Mises), so the credible interval converges to the frequentist Wald interval. For small or informative priors, the coverage can be systematically above or below — this is a feature of Bayesian inference, not a bug, because the coverage is conditional on the prior being correct. Diagnosing coverage requires simulation studies (fixed- frequentist audits of Bayesian intervals) and is standard practice for validated Bayesian workflows.

(Computation from Samples) Both interval types are trivial from MCMC output.

With posterior samples , the equal-tail interval is — just the empirical and quantiles. The HPD interval requires locating the minimum-width window containing of the samples: sort , consider every contiguous block of samples, and take the one with smallest spread. This is and gives the HPD interval to Monte Carlo precision. For multivariate posteriors, HPD regions require kernel density estimation or level-set methods and are rarely reported — marginal equal-tail intervals and joint credible ellipsoids from the posterior covariance are the standard substitutes.

(Credible Interval Confidence Interval) The two answer different questions and can give numerically different intervals for the same data.

A confidence interval quantifies the reliability of a procedure — “intervals built this way capture the truth of the time over repeated experiments.” A credible interval quantifies belief given observed data — “given what we saw, there is a probability the parameter is here.” For a Normal mean under a flat prior the two are numerically identical; for a Binomial proportion under a uniform prior the Bayesian credible interval differs from the Wilson confidence interval, and both differ from the Wald interval. In small samples near the boundary (e.g., or ), the Bayesian interval is well-defined and stays strictly inside while the Wald interval collapses to a single point — a practical advantage of the Bayesian approach.

Examples

See Also