When 95% credible intervals cover 81%

In this article

A posterior can locate the right parameter and still report the wrong uncertainty.

Suppose I report a 95% Bayesian credible interval for a population mean. If I could repeat the data collection thousands of times, how often would that interval contain the mean? Under familiar conditions the answer approaches 95%. A wrong assumption about the observations' variance is enough to break that agreement.1Prompted by Anish Lakkapragada, “Bayesian Misspecification”.

The key is to distinguish two distributions. One is the posterior distribution of a parameter given this dataset. The other is the distribution of the estimator across new datasets. They have the same center asymptotically in this example, but different widths.

A deliberately wrong likelihood#

Let the true observations be independent draws from a normal distribution with mean zero and standard deviation σ. We want the mean, but fit a model that insists the standard deviation is one. Give its mean parameter a wide, proper prior:

Truth: Xi ∼ N(0, σ²)
Model: Xi | θ ∼ N(θ, 1)
Prior: θ ∼ N(0, 100)

The model is misspecified whenever σ differs from one. Still, the value of θ closest to the truth in Kullback–Leibler divergence is zero, so the fitted mean targets the right value. Completing the square gives the exact posterior:

θ | X ∼ N(nX̄/(n + 0.01), 1/(n + 0.01)).

Its central 95% interval has a half-width of 1.96/√(n + 0.01). Notice what is absent: σ. The data-generating standard deviation cannot affect the width because the fitted likelihood fixed it at one.

What repeated sampling sees#

Across fresh datasets, the sample mean has variance σ²/n. The posterior mean is only slightly shrunk toward zero by the prior, so its sampling variance is close to σ²/n too. At large n, the posterior variance is close to 1/n. The two agree only when σ = 1.

Posterior variance ≈ 1/n   |   Sampling variance of X̄ = σ²/n.

This is the one-dimensional version of the distinction between inverse curvature, H−1, and the sandwich variance, H−1JH−1, where H is expected negative log-likelihood curvature and J is score variance. Here H = 1 and J = σ². The sandwich describes how the estimate varies across samples; it is not automatically the covariance of the ordinary posterior.2Kleijn and van der Vaart, “The Bernstein–von Mises theorem under misspecification” (2012).

For a nearly flat prior and true mean zero, the actual coverage of the nominal 95% posterior interval is:

Coverage ≈ 2Φ(1.96/σ) − 1.

With σ = 1.5, this is 80.9%, rather than 95%. With σ = 2, it falls to 67.3%. If σ is below one, the interval is too wide and overcovers. These are repeated-sampling statements about the pseudo-true mean, not posterior probabilities conditional on any one dataset.

Check it with simulation#

I drew 50,000 independent datasets of size 100 for each true σ, keeping the fitted variance at one. For each dataset I formed the exact posterior interval and a comparison interval centered on the sample mean with standard error estimated from that dataset. The fixed-seed code and outputs are browsable in the reproduction repository.3Python script, CSV, and figure source.

True σPosterior intervalExact predictionEstimated sandwich interval
0.599.99%99.99%94.70%
1.094.94%95.00%94.70%
1.580.68%80.87%94.64%
2.067.34%67.29%94.80%
Line chart showing posterior interval coverage dropping from about 100% to 67% as true standard deviation rises from 0.5 to 2. Estimated sandwich interval coverage stays near 95%.
Exact posterior coverage is the blue curve; dots and squares are the seeded simulations. All intervals were labeled 95%.

The comparison interval uses 1.96 times the sample standard error. Its coverage is about 94.7% at n = 100 because that normal approximation is slightly narrow when σ is estimated; a Student-t critical value would correct this in the normal-data example. Simulation uncertainty is about ±0.2 percentage points for coverage near 95%.

What this example does and does not say#

The ordinary posterior is internally consistent with the model it was given. It answers a conditional question under a likelihood that has fixed the variance incorrectly. If the intended claim is about repeated-sampling coverage, the variance assumption has to be checked or the uncertainty calculation has to account for its failure.

This example is intentionally narrow: independent normal observations, one mean parameter, and a known zero true mean used only for evaluation. It does not establish that a sandwich interval solves every form of misspecification. Dependence, changing distributions, and biased pseudo-true targets need separate treatment. Its useful lesson is more basic: getting the center right does not guarantee getting the uncertainty right.

Cite this essay

@misc{somu2026credibleintervals,
  title  = {When 95\% credible intervals cover 81\%},
  author = {Somu, Arya},
  year   = {2026},
  url    = {https://aryasomu.com/writing/when-95-percent-credible-intervals-cover-81-percent.html}
}