Papers
Topics
Authors
Recent
2000 character limit reached

Bartlett's Anomaly in Bayesian Testing

Updated 1 December 2025
  • Bartlett's Anomaly is a phenomenon in Bayesian hypothesis testing where an infinitely diffuse prior under the alternative causes the Bayes factor to diverge, automatically favoring the null hypothesis.
  • The anomaly arises because as the prior variance increases, the marginal likelihood under the alternative becomes arbitrarily small, rendering the point-null hypothesis dominant regardless of the data.
  • This issue highlights the need for careful prior specification or the adoption of interval null hypotheses to avoid pathological inference in Bayesian testing.

Bartlett’s Anomaly refers to a phenomenon in Bayesian hypothesis testing under point nulls, wherein the Bayes factor for the null diverges to infinity as the variance of the conjugate prior on the alternative hypothesis becomes arbitrarily large. This guarantees acceptance of the null hypothesis regardless of the data, highlighting a critical incompatibility between diffuse priors and point-null testing. Although historically conflated with the Jeffreys–Lindley paradox, Bartlett’s Anomaly arises from prior-diffuseness, not sample-size asymptotics, and entails distinct implications and technical resolutions. Its identification has provoked reevaluation of both Bayesian test design and practical recommendations regarding prior specification (Lovric, 28 Nov 2025).

1. Historical Origin and Conceptual Differentiation

Bartlett’s Anomaly was first documented by Michael Bartlett in 1957, in response to an omission in Lindley’s normal-normal Bayes factor for point-null testing. Christian Robert’s 1993 paper cemented the widespread confusion by characterizing the Jeffreys–Lindley paradox as “the fact that a point null hypothesis will always be accepted when the variance of a conjugate prior goes to infinity,” whereas Lovrić later clarified that this is distinct from Lindley’s intended paradox.

The essential distinction is as follows:

Phenomenon Limiting Regime Result
Bartlett’s Anomaly τ2\tau^2 \to \infty (prior var.) Null favored for any fixed data xx
Jeffreys–Lindley Paradox nn\to\infty (sample size) Null favored despite fixed Type I error (fixed-α\alpha)

This split is not terminological: the analytic structure, practical consequences, and requisite solutions differ fundamentally (Lovric, 28 Nov 2025).

2. Formal Bayesian Model and Derivation

Consider a single observation xx from the Gaussian model xN(θ,σ2)x \sim N(\theta, \sigma^2) with known variance σ2\sigma^2. Testing proceeds between

H0:θ=0versusH1:θN(0,τ2)H_0 : \theta = 0 \qquad\text{versus}\qquad H_1 : \theta \sim N(0, \tau^2)

Assume equal prior odds, so that the Bayes factor B01(x)B_{01}(x) equals the posterior odds. The marginal likelihoods are:

  • Under H0H_0:

m0(x)=12πσ2exp(x22σ2)m_0(x) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left( -\frac{x^2}{2\sigma^2} \right)

  • Under H1H_1:

m1(x)=12πσ2exp((xθ)22σ2)12πτ2exp(θ22τ2)dθ=12π(σ2+τ2)exp(x22(σ2+τ2))m_1(x) = \int_{-\infty}^\infty \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left( -\frac{(x-\theta)^2}{2\sigma^2} \right) \frac{1}{\sqrt{2\pi\tau^2}} \exp\left( -\frac{\theta^2}{2\tau^2} \right) d\theta = \frac{1}{\sqrt{2\pi (\sigma^2 + \tau^2)}} \exp\left( -\frac{x^2}{2(\sigma^2 + \tau^2)} \right)

  • Thus, the Bayes factor is:

B01(x)=σ2+τ2σ2exp(x22(1σ21σ2+τ2))B_{01}(x) = \sqrt{\frac{\sigma^2+\tau^2}{\sigma^2}} \exp\left( -\frac{x^2}{2} \left( \frac{1}{\sigma^2} - \frac{1}{\sigma^2+\tau^2} \right ) \right )

For σ2=1\sigma^2=1,

B01(x)=1+τ2  exp(x2τ22(1+τ2))B_{01}(x) = \sqrt{1+\tau^2}\;\exp\left(-\frac{x^2\,\tau^2}{2(1+\tau^2)}\right)

3. Mathematical Mechanism of Bartlett’s Anomaly

As the prior variance τ2\tau^2 \to \infty with fixed xx and n=1n=1, the Bayes factor behaves as follows:

1+τ2τ,τ21+τ21\sqrt{1+\tau^2} \sim \tau, \qquad \frac{\tau^2}{1+\tau^2} \to 1

B01(x)τexp(x22)B_{01}(x) \approx \tau \exp\left(-\frac{x^2}{2}\right) \rightarrow \infty

Consequently, for any observed xx—regardless of extremity—a sufficiently diffuse prior under H1H_1 forces B01(x)B_{01}(x)\to\infty and posterior probability Pr(H0x)1\Pr(H_0|x)\to 1. This occurs independently of the data and produces an automatic endorsement of the null hypothesis.

4. Comparison to the Jeffreys–Lindley Paradox

In contrast, Lindley’s version fixes the prior variance τ2\tau^2 and examines the asymptotic regime where sample size nn\to\infty while controlling the frequentist Type I error (α\alpha). For xN(θ,1/n)x \sim N(\theta, 1/n) at a "just significant" value x=zα/2/nx = z_{\alpha/2}/\sqrt{n},

B01(x)=1+nτ2exp(zα/22nτ22(1+nτ2))(n)B_{01}(x) = \sqrt{1+n\tau^2} \exp\left(-\frac{z_{\alpha/2}^2 n \tau^2}{2(1+n\tau^2)}\right) \to \infty \quad (n\to\infty)

Both phenomena yield B01B_{01}\to\infty, but Bartlett’s Anomaly is driven by τ2\tau^2\to\infty (prior-diffuseness), whereas the Jeffreys–Lindley paradox arises from nn\to\infty (sample-size asymptotics). The practical implication of Bartlett’s Anomaly is the pathological favoring of the point null due to an uninformative or infinitely diffuse prior, in contrast to the inherent conflict in the Jeffreys–Lindley scenario between fixed significance testing and point-mass priors in large samples (Lovric, 28 Nov 2025).

5. Consequences for Prior Specification and Hypothesis Testing

Bartlett’s Anomaly demonstrates that in Bayesian point-null testing, improper or overly diffuse priors under H1H_1 render hypothesis comparison meaningless, as the Bayes factor can be manipulated to favor the null trivially:

  • Posterior probability “hacking”: by making the prior increasingly diffuse, it is possible to force B01B_{01}\to\infty, claiming maximal posterior support for H0H_0 regardless of the observed data.
  • Overly diffuse or improper priors on the alternative effectively neglect the point mass assigned to the null, resulting in a degenerate test.
  • Proposed fixes (e.g., Robert, 1993): calibrate prior odds relative to prior width, specifically setting (1π0)/τ=constant(1-\pi_0)/\tau = \text{constant} to arrest the divergence. Alternative methods include intrinsic and fractional Bayes factors or nonlocal priors, which penalize diffuse alternatives to prevent spurious support for the null as τ2\tau^2\to\infty.

However, such corrections address only the prior-diffuseness anomaly and not the sample-size paradox intrinsic to Jeffreys–Lindley (Lovric, 28 Nov 2025).

6. Resolution via Interval Nulls

The only comprehensive solution advanced is the adoption of interval, rather than point, null hypotheses. Replace H0:θ=0H_0: \theta=0 with an interval or “region of practical equivalence” H0:θδH_0: |\theta| \le \delta for some δ>0\delta>0, and use continuous priors on both [δ,δ][-\delta, \delta] and its complement. The Bayes factor generalizes to:

B01=θδf(xθ)π0(θ)dθθ>δf(xθ)π1(θ)dθB_{01} = \frac{\int_{|\theta|\le\delta} f(x|\theta) \pi_0(\theta) d\theta} {\int_{|\theta|>\delta} f(x|\theta)\pi_1(\theta)d\theta}

In the “just significant” regime where x0x \to 0 as nn\to\infty, both Bayesian and frequentist procedures converge: equivalence is declared when xδ|x| \le \delta. Specifically,

  • Frequentist TOST: reject H1H_1 if x<δcσ/n|x| < \delta - c \cdot \sigma/\sqrt{n} for an appropriate constant cc.
  • Bayesian: declare H0H_0 for B01>κB_{01} > \kappa, for thresholds such as $3$ or $10$.

Both pathologies—Bartlett’s Anomaly and the Jeffreys–Lindley paradox—are eliminated. The two paradigms then address the same scientifically relevant question and give consistent inferences (Lovric, 28 Nov 2025).

7. Summary and Implications

Bartlett’s Anomaly is the divergence of the Bayes factor in favor of the point null hypothesis, provoked solely by taking the alternative’s prior variance τ2\tau^2\to\infty. First identified by Bartlett (1957) and later distinguished from the Jeffreys–Lindley paradox (Lovric, 28 Nov 2025), it exposes the inappropriateness of uninformative or improper priors under point-null testing. While methodological corrections exist, the only definitive resolution is to replace point-null hypotheses with meaningful interval nulls, ensuring statistical analyses are grounded in substantive scientific distinctions and yielding alignment between Bayesian and frequentist decisions.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)
Slide Deck Streamline Icon: https://streamlinehq.com

Whiteboard

Forward Email Streamline Icon: https://streamlinehq.com

Follow Topic

Get notified by email when new papers are published related to Bartlett's Anomaly.