Hexa Scholar

Credible intervals vs confidence intervals

Two blank navy cards in an open cream envelope beside a brass magnifying glass.
Two report cards under inspection: the interval’s label matters.

The question

Sort the claims before opening the calculations.

  1. 1 SeeSort claims into two reports.
  2. 2 TryCompare intervals across repeated samples.
  3. 3 ProveBuild the equal-tail probability argument.
  4. 4 ApplyCalculate endpoints and interpret probabilities.
Before you start · 3 quick checks on conditioning, density and standard error

Two ideas before you start

2 ideas

Probability is area, not height

A normal density with a selectable band around its center.

Change the band and watch the shaded area. A curve’s height at a point is different from the probability between two endpoints.

Exact definition

A continuous random variable with density f has probability \(\int_a^b f(t)\,dt\) in the interval [a, b]. Its cumulative distribution function, or CDF, is \(F(b)=P(X\le b)\). Subtracting CDF values gives the interval probability. A single point has zero probability under a continuous density.

A measurement can vary around one value

Sampling densities centered at the selected fixed parameter.

The curve describes possible new measurements. Choosing a different center changes the population being sampled.

Exact definition

Write θ for an unknown real parameter and Y for a measurement or sample mean. Our sampling model is \(Y\mid\theta\sim N(\theta,s^2)\), where the known standard error s is positive. The second argument of N is a variance. Lowercase y denotes the value actually observed. The density is considered as a function of Y for sampling, and as a function of θ for likelihood.

Refresher: the model and the notation

For a fixed number n of independent normal observations with common known standard deviation σ, their mean follows the model above with \(s=\sigma/\sqrt n\). A single calibrated measurement also fits it. Here s is supplied, never estimated from these data. Repetitions use fresh independent measurements of the same parameter, with the sampling rule fixed in advance.

A Bayesian analysis additionally chooses a proper prior \(\theta\sim N(m_0,\tau^2)\) before using the observation, with τ positive. This distribution represents uncertainty about the parameter. It does not say the physical parameter changes when you take another measurement. The posterior update lesson explains multiplying a prior by a likelihood. The base rates lesson explains why the quantity after the conditioning bar matters.

All examples below are hypothetical. The normal model permits every real parameter value. A constrained proportion, an unknown measurement variance, or a changing process would require a different model. Nothing here uses a normal approximation justified only by a large sample.

1 See

Which report can make this claim?

The drop targets accept dragged cards. To sort with a keyboard or touch, use the labeled buttons on each card.

2 Try

Repeat the measurement

3 Prove

Where does the interval probability come from?

Theorem

Assume \(Y\mid\theta\sim N(\theta,s^2)\), known \(s\gt0\), a proper \(N(m_0,\tau^2)\) prior with \(\tau\gt0\), and \(0\lt\alpha\lt1/2\). For an observed y, let F be the posterior CDF. Its normal density is positive everywhere, so F is continuous and strictly increasing.

Define \(L=F^{-1}(\alpha/2)\) and \(U=F^{-1}(1-\alpha/2)\). The interval [L, U] has posterior mass \(1-\alpha\). Separately, define \(q=\Phi^{-1}(1-\alpha/2)\) and the confidence rule \(C(Y)=[Y-qs,Y+qs]\). For every fixed real θ, this rule covers θ with sampling probability \(1-\alpha\). These probabilities condition on different things.

Choose the equations that justify these two claims. The endpoints in the first steps are posterior quantiles; the final step uses a sampling pivot. Neither calculation can replace the other merely because the percentage is the same.

4 Apply

Compute, then name the probability

Each task states its sampling and prior assumptions. Enter one decimal without units or a percent sign. Keep unrounded values until the last step; each answer accepts the stated absolute error.

Key point Report the interval’s type, level, and assumptions. A range for an unknown mean does not automatically describe a future observation. A posterior statement also needs its prior.
Level UndergraduatePrerequisites Conditional probability, normal densities and standard error; normal updating refreshed hereTime About 30 min

Further reading