---
title: Bartlett's Anomaly in Bayesian Testing
url: https://www.emergentmind.com/topics/bartlett-s-anomaly
type: topic
---

# Bartlett's Anomaly 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 [2511.22816].

## 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   | $\tau^2 \to \infty$ (prior var.) | Null favored for any fixed data $x$                   |
| Jeffreys–Lindley Paradox | $n\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 [2511.22816].

## 2. Formal Bayesian Model and Derivation

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

\[
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 $B_{01}(x)$ equals the posterior odds. The marginal likelihoods are:

- Under $H_0$:
  \[
  m_0(x) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left( -\frac{x^2}{2\sigma^2} \right)
  \]
- Under $H_1$:
  \[
  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:
  \[
  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 $\sigma^2=1$,
  \[
  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 $\tau^2 \to \infty$ with fixed $x$ and $n=1$, the Bayes factor behaves as follows:

\[
\sqrt{1+\tau^2} \sim \tau, \qquad
\frac{\tau^2}{1+\tau^2} \to 1
\]
\[
B_{01}(x) \approx \tau \exp\left(-\frac{x^2}{2}\right) \rightarrow \infty
\]

Consequently, for any observed $x$—regardless of extremity—a sufficiently diffuse prior under $H_1$ forces $B_{01}(x)\to\infty$ and posterior probability $\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 $\tau^2$ and examines the asymptotic regime where sample size $n\to\infty$ while controlling the frequentist Type I error ($\alpha$). For $x \sim N(\theta, 1/n)$ at a "just significant" value $x = z_{\alpha/2}/\sqrt{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 $B_{01}\to\infty$, but Bartlett’s Anomaly is driven by $\tau^2\to\infty$ (prior-diffuseness), whereas the Jeffreys–Lindley paradox arises from $n\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 [2511.22816].

## 5. Consequences for Prior Specification and Hypothesis Testing

Bartlett’s Anomaly demonstrates that in Bayesian point-null testing, improper or overly diffuse priors under $H_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 $B_{01}\to\infty$, claiming maximal posterior support for $H_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-\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 $\tau^2\to\infty$.

However, such corrections address only the prior-diffuseness anomaly and not the sample-size paradox intrinsic to Jeffreys–Lindley [2511.22816].

## 6. Resolution via Interval Nulls

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

\[
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 $x \to 0$ as $n\to\infty$, both Bayesian and frequentist procedures converge: equivalence is declared when $|x| \le \delta$. Specifically,

- Frequentist TOST: reject $H_1$ if $|x| < \delta - c \cdot \sigma/\sqrt{n}$ for an appropriate constant $c$.
- Bayesian: declare $H_0$ for $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 [2511.22816].

## 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 $\tau^2\to\infty$. First identified by Bartlett (1957) and later distinguished from the Jeffreys–Lindley paradox [2511.22816], 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.

Source: https://www.emergentmind.com/topics/bartlett-s-anomaly