Algorithm Search⌘K

Theoremadvanced

Lindley paradox

Also called Jeffreys-Lindley paradox.

With a diffuse prior and a large sample, data that reject a point null at any fixed significance level can still make a Bayes factor favour that null.

The Lindley paradox is a limit theorem about the Bayes factor for a point null hypothesis. If the test statistic stays at a value that a z-test calls significant, for example z=1.96z = 1.96, and the sample size grows, then the Bayes factor in favour of the null goes to infinity. So the same data can reject the null at the 5% level and give the null a posterior probability near 1. The two answers differ because they answer different questions, and the theorem makes the difference exact.

Statement

Let x1,…,xnx_1, \dots, x_n be independent N(θ,σ2)N(\theta, \sigma^2) with σ>0\sigma > 0 known, and let xˉ\bar x be their mean. Compare

M0:θ=θ0,M1:θ∼N(θ0,τ2),τ>0,M_0: \theta = \theta_0, \qquad M_1: \theta \sim N(\theta_0, \tau^2), \quad \tau > 0,

and write z=n (xˉ−θ0)/σz = \sqrt n\, (\bar x - \theta_0)/\sigma for the z-statistic.

Theorem.

  1. (Exact formula.) For every n≥1n \ge 1 and every data set,
B01=m0(x)m1(x)=1+nτ2σ2  exp⁡ ⁣(−z22⋅nτ2σ2+nτ2).B_{01} = \frac{m_0(x)}{m_1(x)} = \sqrt{1 + \frac{n\tau^2}{\sigma^2}}\; \exp\!\Big(-\frac{z^2}{2}\cdot \frac{n\tau^2}{\sigma^2 + n\tau^2}\Big).
  1. (Lindley's limit.) Fix zz, σ\sigma and τ\tau. As n→∞n \to \infty, B01→∞B_{01} \to \infty, and more exactly B01/(n (τ/σ) e−z2/2)→1B_{01} \big/ \big(\sqrt n\, (\tau/\sigma)\, e^{-z^2/2}\big) \to 1. So for prior probability P(M0)∈(0,1)P(M_0) \in (0, 1), P(M0∣x)→1P(M_0 \mid x) \to 1.
  2. (Bartlett's limit.) Fix nn, zz and σ\sigma. As τ→∞\tau \to \infty, B01→∞B_{01} \to \infty like n (τ/σ) e−z2/2\sqrt n\, (\tau/\sigma)\, e^{-z^2/2}.
  3. (General prior.) Replace the normal prior of M1M_1 by any prior density gg that is bounded on R\mathbb R and continuous and positive at θ0\theta_0. Fix zz and let n→∞n \to \infty, so that xˉ=θ0+σz/n\bar x = \theta_0 + \sigma z/\sqrt n. Then
B01∼n φ(z)σ g(θ0)→∞,B_{01} \sim \frac{\sqrt n\, \varphi(z)}{\sigma\, g(\theta_0)} \to \infty,

where φ\varphi is the standard normal density. Part 2 is the case g(θ0)=1/(τ2π)g(\theta_0) = 1/(\tau\sqrt{2\pi}).

The conditions matter: the null is a point that has positive prior probability, the prior of M1M_1 is proper and does not shrink with nn, and g(θ0)>0g(\theta_0) > 0. The section on tightness shows what happens when one of them fails.

In plain words

A significance test asks how surprising the data would be if the null were true. A fixed level, such as 5%, gives the same cut for every sample size. A Bayes factor asks which model predicted the data better. With many observations the estimate sits very close to the null value, at a small distance that the test still calls significant. The alternative model spread its prior belief over a wide range of values, so it gave little probability to that small region. The null put all its belief there. So the null wins the prediction contest, and it wins by more as the sample grows, even though the test keeps rejecting it.

Proof

Part 1. The likelihood factors as

∏i=1nf(xi∣θ)=h(x) nσφ(n(xˉ−θ)σ),h(x)=(2πσ2)−(n−1)/2n−1/2exp⁡(−∑i(xi−xˉ)22σ2),\prod_{i=1}^n f(x_i \mid \theta) = h(x)\, \frac{\sqrt n}{\sigma}\varphi\Big(\frac{\sqrt n(\bar x - \theta)}{\sigma}\Big), \qquad h(x) = (2\pi\sigma^2)^{-(n-1)/2} n^{-1/2} \exp\Big(-\frac{\sum_i (x_i - \bar x)^2}{2\sigma^2}\Big),

because ∑i(xi−θ)2=∑i(xi−xˉ)2+n(xˉ−θ)2\sum_i (x_i - \theta)^2 = \sum_i (x_i - \bar x)^2 + n(\bar x - \theta)^2. The factor h(x)h(x) does not depend on θ\theta, so it cancels in B01B_{01}, and we may work with xˉ∼N(θ,σ2/n)\bar x \sim N(\theta, \sigma^2/n). Under M0M_0, the density of xˉ\bar x is N(xˉ;θ0,σ2/n)N(\bar x; \theta_0, \sigma^2/n). Under M1M_1, xˉ=θ+e\bar x = \theta + e with θ∼N(θ0,τ2)\theta \sim N(\theta_0, \tau^2) and e∼N(0,σ2/n)e \sim N(0, \sigma^2/n) independent, so its marginal density is N(xˉ;θ0,σ2/n+τ2)N(\bar x; \theta_0, \sigma^2/n + \tau^2). With v0=σ2/nv_0 = \sigma^2/n, v1=σ2/n+τ2v_1 = \sigma^2/n + \tau^2 and d=xˉ−θ0d = \bar x - \theta_0,

B01=v1v0 exp⁡(−d22v0+d22v1).B_{01} = \sqrt{\frac{v_1}{v_0}}\, \exp\Big(-\frac{d^2}{2v_0} + \frac{d^2}{2v_1}\Big).

Here v1/v0=1+nτ2/σ2v_1/v_0 = 1 + n\tau^2/\sigma^2, and d2=z2σ2/nd^2 = z^2\sigma^2/n gives

−d22v0+d22v1=−z22+z22⋅σ2σ2+nτ2=−z22⋅nτ2σ2+nτ2.-\frac{d^2}{2v_0} + \frac{d^2}{2v_1} = -\frac{z^2}{2} + \frac{z^2}{2}\cdot\frac{\sigma^2}{\sigma^2 + n\tau^2} = -\frac{z^2}{2}\cdot\frac{n\tau^2}{\sigma^2 + n\tau^2}.

Part 2. With zz fixed, nτ2/(σ2+nτ2)→1n\tau^2/(\sigma^2 + n\tau^2) \to 1, so the exponential factor goes to e−z2/2>0e^{-z^2/2} > 0, and 1+nτ2/σ2/(n τ/σ)→1\sqrt{1 + n\tau^2/\sigma^2}\big/(\sqrt n\,\tau/\sigma) \to 1. The product of the two limits gives the stated equivalence, and the right side goes to infinity. Then P(M0∣x)=B01P(M0)/(B01P(M0)+P(M1))→1P(M_0 \mid x) = B_{01} P(M_0)\big/\big(B_{01}P(M_0) + P(M_1)\big) \to 1 by the odds form of the Bayes factor.

Part 3. With nn and zz fixed, nτ2/(σ2+nτ2)→1n\tau^2/(\sigma^2 + n\tau^2) \to 1 as τ→∞\tau \to \infty, and the same argument applies.

Part 4. As in Part 1, m0∝(n/σ)φ(z)m_0 \propto (\sqrt n/\sigma)\varphi(z) and

m1∝∫nσφ(n(xˉ−θ)σ)g(θ) dθ=∫φ(u) g(xˉ−σun) du,m_1 \propto \int \frac{\sqrt n}{\sigma}\varphi\Big(\frac{\sqrt n(\bar x - \theta)}{\sigma}\Big) g(\theta)\, d\theta = \int \varphi(u)\, g\Big(\bar x - \frac{\sigma u}{\sqrt n}\Big)\, du,

with the substitution u=n(xˉ−θ)/σu = \sqrt n(\bar x - \theta)/\sigma and the same factor h(x)h(x) in both. Since xˉ−σu/n=θ0+σ(z−u)/n→θ0\bar x - \sigma u/\sqrt n = \theta_0 + \sigma(z - u)/\sqrt n \to \theta_0 for each uu, continuity of gg at θ0\theta_0 gives pointwise convergence of the integrand to φ(u)g(θ0)\varphi(u)g(\theta_0). The integrand is at most φ(u)sup⁡g\varphi(u)\sup g, which is integrable, so dominated convergence gives m1/h(x)→g(θ0)m_1/h(x) \to g(\theta_0). Hence B01/(nφ(z)/(σg(θ0)))→1B_{01}\big/\big(\sqrt n\varphi(z)/(\sigma g(\theta_0))\big) \to 1. □\square

The exact formula of Part 1 agrees with a numerical integration of m1m_1 to a relative error below 10−1310^{-13} for the values in the table below.

Consequences

Take τ=σ=1\tau = \sigma = 1. The table gives B01B_{01} from Part 1 at the two-sided 5%, 1% and 0.1% critical values of zz. The labels are rounded; the entries use the exact quantiles 1.95996, 2.57583 and 3.29053.

zz (two-sided p) n=1n = 1 10 100 1000 10410^4 10510^5 10610^6 B01=1B_{01} = 1 at n≈n \approx
1.96 (0.05) 0.541 0.579 1.501 4.644 14.65 46.33 146.5 42
2.576 (0.01) 0.269 0.163 0.376 1.151 3.626 11.46 36.25 754
3.291 (0.001) 0.094 0.024 0.047 0.142 0.446 1.409 4.455 50379

At z=1.96z = 1.96 and prior odds 1, P(M0∣x)P(M_0 \mid x) is 0.3510.351, 0.3670.367, 0.6000.600, 0.8230.823, 0.9360.936, 0.9790.979 and 0.9930.993 along the same row. At n=104n = 10^4 the data reject M0M_0 at the 5% level, and on Jeffreys's grades they give strong support to M0M_0.

Frequentist view

The z-test rejects M0M_0 at level α\alpha when ∣z∣>zα/2\lvert z\rvert > z_{\alpha/2}. Under M0M_0, z∼N(0,1)z \sim N(0, 1) for every nn, so the probability of a false rejection is exactly α\alpha for every nn. For a fixed θ≠θ0\theta \ne \theta_0, ∣z∣\lvert z\rvert grows like n\sqrt n and the power goes to 1. The p-value of z=1.96z = 1.96 is 0.050.05 whatever nn is. All of these statements are about the distribution of zz under fixed parameter values, and none of them is a probability of M0M_0.

Bayesian view

B01B_{01} compares how well M0M_0 and M1M_1 predicted the observed xˉ\bar x. It depends on zz and on nτ2/σ2n\tau^2/\sigma^2, not on zz alone. Under M0M_0, zz stays bounded in probability, so Part 2 gives B01→∞B_{01} \to \infty in probability: the Bayes factor is consistent for the null. Under a fixed θ≠θ0\theta \ne \theta_0, z2z^2 grows like nn, the exponential factor wins, and B01→0B_{01} \to 0. Data with zz fixed at 1.961.96 as nn grows are typical of neither case: they come from θ−θ0\theta - \theta_0 of order σ/n\sigma/\sqrt n, a region where the prior of M1M_1 has mass of order 1/n1/\sqrt n.

What connects them

The connecting result is Lindley's limit, Part 2, written on the log scale:

log⁡B01=12log⁡n−z22+log⁡τσ+o(1).\log B_{01} = \tfrac12 \log n - \tfrac{z^2}{2} + \log\frac{\tau}{\sigma} + o(1).

Both views use the same statistic zz. The test compares z2z^2 with a constant. The Bayes factor compares z2z^2 with log⁡n\log n plus a constant that depends on the prior. A Bayesian who rejects M0M_0 when B01<kB_{01} < k uses the cut z2>log⁡n+2log⁡(τ/σ)−2log⁡k+o(1)z^2 > \log n + 2\log(\tau/\sigma) - 2\log k + o(1), which grows with nn, so the two rules must disagree for large nn. The first two terms are 12(BIC1−BIC0)\tfrac12(\mathrm{BIC}_1 - \mathrm{BIC}_0) for this model, because twice the maximized log likelihood ratio is z2z^2; so the Bayesian information criterion inherits the same growing cut. With τ=σ\tau = \sigma the remainder is o(1)o(1): log⁡B01\log B_{01} is 0.4060.406 against 12log⁡n−z2/2=0.382\tfrac12\log n - z^2/2 = 0.382 at n=100n = 100, and the two agree to 2×10−42 \times 10^{-4} at n=104n = 10^4.

A second link holds for every nn and every prior. The bound m1≤sup⁡θf(x∣θ)m_1 \le \sup_\theta f(x \mid \theta) on the Bayes factor page gives B01≥e−z2/2B_{01} \ge e^{-z^2/2}, so at z=1.96z = 1.96 no prior on M1M_1 gives B01B_{01} below 0.14650.1465, or P(M0∣x)P(M_0 \mid x) below 0.1280.128 with prior odds 1. A p-value of 0.05 is therefore never strong evidence against a point null in the Bayes factor sense. Berger and Sellke (1987) give sharper bounds for classes of symmetric priors.

Tightness

  • The rate n\sqrt n is exact. Part 2 is an equivalence, not a bound, and the table matches it.
  • A prior that shrinks with nn removes the paradox. If τ2=c σ2/n\tau^2 = c\,\sigma^2/n for a fixed c>0c > 0, Part 1 gives B01=1+c exp⁡(−z22⋅c1+c)B_{01} = \sqrt{1 + c}\,\exp\big(-\tfrac{z^2}{2}\cdot\tfrac{c}{1 + c}\big), a decreasing function of ∣z∣\lvert z\rvert alone, so B01B_{01} and the p-value then order data sets in the same way for every nn. At z=1.96z = 1.96 this is 0.6460.646, 0.5410.541 and 0.4810.481 for c=0.5c = 0.5, 11 and 44. Such a prior is chosen for the sample size, which most Bayesians reject as a statement of belief.
  • The point mass is needed. If M0M_0 is the half line θ≤θ0\theta \le \theta_0 and the prior is a continuous density, the posterior probability of M0M_0 tends to the one-sided p-value Φ(−z)\Phi(-z) as the prior spreads, and there is no paradox.
  • The prior must be proper. As τ→∞\tau \to \infty (Part 3), B01→∞B_{01} \to \infty for every data set, so an improper flat prior on M1M_1 always favours M0M_0. This is why Bayes factors with improper priors are not defined.
  • The condition g(θ0)>0g(\theta_0) > 0 matters. If gg vanishes at θ0\theta_0 (a non-local prior), the denominator of Part 4 goes to 0 faster and B01B_{01} grows faster than n\sqrt n.

History

Jeffreys built his significance tests in Theory of Probability (first edition 1939) on a point null with positive prior mass, and he knew that his Bayes factor needed larger ∣z∣\lvert z\rvert for larger samples. Lindley (1957) stated the conflict as a paradox: for any fixed level, a large enough sample gives data that are significant at that level and that make the null very probable. Bartlett (1957) replied that the posterior probability depends on the spread of the prior, so that a flat prior makes it go to 1 for any data, which is Part 3. Shafer (1982) and its discussion, and Berger and Sellke (1987), reopened the debate on how p-values and Bayes factors should be compared. The name Jeffreys-Lindley paradox credits both authors.

References

  1. Lindley 1957, pages 187 to 192 (the normal mean with a point null and a prior of fixed spread; general locator)
  2. Bartlett 1957, pages 533 to 534 (the dependence of the posterior probability on the spread of the prior; general locator)
  3. Harold Jeffreys, Theory of Probability, 3rd edition (1961), reprinted in Oxford Classic Texts in the Physical Sciences, Oxford University Press, 1998, Chapter 5 (significance tests with one new parameter) and Appendix B (the grades of K)
  4. Shafer 1982, the paper and its discussion (general locator)
  5. Berger and Sellke 1987, lower bounds on the posterior probability of a point null over classes of priors (general locator)
  6. Robert E. Kass and Adrian E. Raftery, Bayes factors, Journal of the American Statistical Association 90(430), 1995, the Schwarz approximation to the log Bayes factor and the remarks on diffuse priors (general locator)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/Q8ZSZF/text.yaml