Algorithm Search⌘K

Theoremcore

Cramer-Rao bound

Also called Cramer-Rao inequality, Cramer-Rao lower bound, CRLB, information inequality.

Under regularity conditions, the variance of any unbiased estimator is at least the inverse of the Fisher information. An estimator that attains it is efficient.

The Cramér-Rao bound says that, under regularity conditions, no unbiased estimator of ψ(θ)\psi(\theta) from nn iid observations has variance below ψ′(θ)2/(nI(θ))\psi'(\theta)^2 / (n I(\theta)), where I(θ)I(\theta) is the Fisher information of one observation. An unbiased estimator that attains the bound is called efficient, and it is then a minimum variance unbiased estimator. The bound is attained exactly only in one-parameter exponential families, but the maximum likelihood estimator attains it in the limit of large samples. Fréchet (1943), Darmois (1945), Rao (1945) and Cramér (1946) found it independently.

Statement

Let X1,…,XnX_1, \ldots, X_n be iid with density or mass function f(x;θ)f(x; \theta), let Un(θ)U_n(\theta) be the score of the sample, and let I(θ)=Var⁡θ ∂θlog⁡f(X1;θ)I(\theta) = \operatorname{Var}_\theta\, \partial_\theta \log f(X_1; \theta).

Conditions.

  1. Θ\Theta is an open interval of R\mathbb R (an open set of Rk\mathbb R^k for a vector θ\theta).
  2. The support {x:f(x;θ)>0}\{x : f(x; \theta) > 0\} does not depend on θ\theta.
  3. f(x;θ)f(x; \theta) is differentiable in θ\theta for every xx.
  4. For the estimator TT below, ∫f(x;θ) dx\int f(x; \theta)\, dx and ∫T(x)f(x;θ) dx\int T(x) f(x; \theta)\, dx can both be differentiated in θ\theta under the integral sign (sums for discrete data, and the integrals are over the whole sample space).
  5. 0<I(θ)<∞0 < I(\theta) < \infty.

Theorem (one parameter). Let T=T(X1,…,Xn)T = T(X_1, \ldots, X_n) have EθT=ψ(θ)\mathbb{E}_\theta T = \psi(\theta) and Var⁡θT<∞\operatorname{Var}_\theta T < \infty for all θ\theta. Under conditions 1 to 5,

Var⁡θ(T) ≥ ψ′(θ)2nI(θ)for every θ∈Θ.\operatorname{Var}_\theta(T) \ \ge\ \frac{\psi'(\theta)^2}{n I(\theta)} \qquad \text{for every } \theta \in \Theta.

Equality holds for every θ\theta if and only if Un(θ)=a(θ) (T−ψ(θ))U_n(\theta) = a(\theta)\,(T - \psi(\theta)) with probability 1 for some function a(θ)a(\theta), that is, the score is an affine function of TT. This happens exactly when ff is a one-parameter exponential family with sufficient statistic TT, up to affine maps.

Biased estimators. If TT estimates θ\theta with bias b(θ)=EθT−θb(\theta) = \mathbb{E}_\theta T - \theta, take ψ(θ)=θ+b(θ)\psi(\theta) = \theta + b(\theta): Var⁡θ(T)≥(1+b′(θ))2/(nI(θ))\operatorname{Var}_\theta(T) \ge (1 + b'(\theta))^2 / (n I(\theta)).

Theorem (vector form). Let θ∈Θ⊆Rk\theta \in \Theta \subseteq \mathbb R^k, let T∈RmT \in \mathbb R^m have EθT=ψ(θ)\mathbb{E}_\theta T = \psi(\theta) with finite second moments, let D(θ)=∂ψ/∂θD(\theta) = \partial \psi / \partial \theta be the m×km \times k Jacobian, and let the k×kk \times k information matrix I(θ)I(\theta) be invertible. Under the conditions above,

Cov⁡θ(T) ⪰ 1n D(θ) I(θ)−1 D(θ)⊤,\operatorname{Cov}_\theta(T) \ \succeq\ \frac{1}{n}\, D(\theta)\, I(\theta)^{-1}\, D(\theta)^\top,

where A⪰BA \succeq B means that A−BA - B is positive semidefinite. In particular, for an unbiased estimator of one coordinate θj\theta_j, Var⁡θ(T)≥[I(θ)−1]jj/n\operatorname{Var}_\theta(T) \ge [I(\theta)^{-1}]_{jj}/n, which is at least 1/(nI(θ)jj)1/(n I(\theta)_{jj}): not knowing the other parameters can only raise the bound.

In plain words

Information measures how sharply the probability of the data changes when the unknown quantity changes. If the data change a lot, they can pin down the unknown quantity well; if they change little, they cannot. The bound turns this into a number. Any method that is right on average must have a spread at least as large as one over the total information. More data add information, so the floor falls as the sample grows. The bound holds only for smooth models whose set of possible values does not move with the unknown quantity, and only for methods that are right on average.

Proof

One parameter. Let fn(x;θ)=∏if(xi;θ)f_n(x; \theta) = \prod_i f(x_i; \theta) be the joint density, so Un(θ)=∂θlog⁡fn(X;θ)U_n(\theta) = \partial_\theta \log f_n(X; \theta) and ∂θfn=Unfn\partial_\theta f_n = U_n f_n.

Step 1: the score has mean zero and variance nI(θ)n I(\theta). By condition 4 applied to ∫fn=1\int f_n = 1, EθUn=∫∂θfn dx=∂θ1=0\mathbb{E}_\theta U_n = \int \partial_\theta f_n\, dx = \partial_\theta 1 = 0. The terms of UnU_n are iid, each with variance I(θ)I(\theta), so Var⁡θUn=nI(θ)\operatorname{Var}_\theta U_n = n I(\theta). (Condition 2 makes the support of fnf_n fixed, so log⁡fn\log f_n is defined on it for every θ\theta.)

Step 2: the covariance of TT with the score. By condition 4 applied to ∫Tfn\int T f_n,

ψ′(θ)=∂θ∫T(x)fn(x;θ) dx=∫T(x) Un(θ)fn(x;θ) dx=Eθ[TUn]=Cov⁡θ(T,Un),\psi'(\theta) = \partial_\theta \int T(x) f_n(x; \theta)\, dx = \int T(x)\, U_n(\theta) f_n(x; \theta)\, dx = \mathbb{E}_\theta[T U_n] = \operatorname{Cov}_\theta(T, U_n),

where the last step uses EθUn=0\mathbb{E}_\theta U_n = 0.

Step 3: the Cauchy-Schwarz inequality. For any two random variables with finite variance, Cov⁡(A,B)2≤Var⁡(A)Var⁡(B)\operatorname{Cov}(A, B)^2 \le \operatorname{Var}(A)\operatorname{Var}(B), with equality if and only if one is an affine function of the other with probability 1. So

ψ′(θ)2=Cov⁡θ(T,Un)2≤Var⁡θ(T)⋅nI(θ),\psi'(\theta)^2 = \operatorname{Cov}_\theta(T, U_n)^2 \le \operatorname{Var}_\theta(T)\cdot n I(\theta),

and dividing by nI(θ)>0n I(\theta) > 0 (condition 5) gives the bound.

Step 4: equality. Since Var⁡θUn>0\operatorname{Var}_\theta U_n > 0, equality at θ\theta holds if and only if Un(θ)=a(θ)(T−ψ(θ))U_n(\theta) = a(\theta)(T - \psi(\theta)) with probability 1 for some constant a(θ)a(\theta); taking the covariance with TT gives a(θ)=nI(θ)/ψ′(θ)a(\theta) = n I(\theta)/\psi'(\theta). If this holds for every θ\theta, integrate ∂θlog⁡fn=a(θ)T−a(θ)ψ(θ)\partial_\theta \log f_n = a(\theta) T - a(\theta)\psi(\theta) in θ\theta:

fn(x;θ)=h(x)exp⁡(η(θ) T(x)−B(θ)),η′=a,B′=aψ,f_n(x; \theta) = h(x)\exp\big(\eta(\theta)\, T(x) - B(\theta)\big), \qquad \eta' = a, \quad B' = a\psi,

an exponential family in which TT is the sufficient statistic. Conversely, in such a family Un=η′(θ)(T−EθT)U_n = \eta'(\theta)(T - \mathbb{E}_\theta T), so TT attains the bound for ψ(θ)=EθT\psi(\theta) = \mathbb{E}_\theta T.

Vector form. As in Step 2, Cov⁡θ(T,Un)=D(θ)\operatorname{Cov}_\theta(T, U_n) = D(\theta), and Cov⁡θ(Un)=nI(θ)\operatorname{Cov}_\theta(U_n) = n I(\theta). Let W=T−D (nI)−1UnW = T - D\,(nI)^{-1} U_n. Then

0⪯Cov⁡θ(W)=Cov⁡θ(T)−2D(nI)−1D⊤+D(nI)−1(nI)(nI)−1D⊤=Cov⁡θ(T)−1nDI−1D⊤,0 \preceq \operatorname{Cov}_\theta(W) = \operatorname{Cov}_\theta(T) - 2 D (nI)^{-1} D^\top + D (nI)^{-1}(nI)(nI)^{-1} D^\top = \operatorname{Cov}_\theta(T) - \tfrac{1}{n} D I^{-1} D^\top,

because a covariance matrix is positive semidefinite. ■\blacksquare

Consequences

Efficient estimators are UMVUEs. If an unbiased TT attains the bound at every θ\theta, no unbiased estimator has smaller variance anywhere, so TT is the minimum variance unbiased estimator.

Exact checks. Each line gives the bound and the variance of an unbiased estimator.

model estimand I(θ)I(\theta) bound estimator, variance
Bernoulli(p)(p) pp 1/(p(1−p))1/(p(1-p)) p(1−p)/np(1-p)/n Xˉ\bar X, p(1−p)/np(1-p)/n (attains)
Poisson(λ)(\lambda) λ\lambda 1/λ1/\lambda λ/n\lambda/n Xˉ\bar X, λ/n\lambda/n (attains)
N(μ,σ2)N(\mu, \sigma^2), σ2\sigma^2 known μ\mu 1/σ21/\sigma^2 σ2/n\sigma^2/n Xˉ\bar X, σ2/n\sigma^2/n (attains)
N(μ,σ2)N(\mu, \sigma^2), μ\mu known σ2\sigma^2 1/(2σ4)1/(2\sigma^4) 2σ4/n2\sigma^4/n 1n∑i(Xi−μ)2\frac{1}{n}\sum_i (X_i - \mu)^2, 2σ4/n2\sigma^4/n (attains)
N(μ,σ2)N(\mu, \sigma^2), both unknown σ2\sigma^2 diagonal matrix 2σ4/n2\sigma^4/n S2S^2 (divisor n−1n - 1), 2σ4/(n−1)2\sigma^4/(n-1)
Poisson(λ)(\lambda) e−λe^{-\lambda} 1/λ1/\lambda λe−2λ/n\lambda e^{-2\lambda}/n (1−1/n)T(1 - 1/n)^T, e−2λ(eλ/n−1)e^{-2\lambda}(e^{\lambda/n} - 1)

For Bernoulli data with n=4n = 4 and p=1/3p = 1/3, I=9/2I = 9/2, nI=18nI = 18, and an exact sum over the 16 outcomes gives E U4=0\mathbb{E}\, U_4 = 0, Var⁡(U4)=18\operatorname{Var}(U_4) = 18 and Var⁡(Xˉ)=1/18\operatorname{Var}(\bar X) = 1/18, equal to the bound. In the last two rows the UMVUE stays above the bound, so no unbiased estimator attains it: for e−λe^{-\lambda} at n=5n = 5, λ=1\lambda = 1, the UMVUE variance is 0.029960.02996 and the bound is 0.027070.02707. Since ex−1>xe^{x} - 1 > x, the gap is strict, but the ratio tends to 1 as n→∞n \to \infty.

Asymptotic efficiency. Under conditions stronger than those above, the maximum likelihood estimator satisfies n(θ^−θ)→N(0,I(θ)−1)\sqrt n(\hat\theta - \theta) \to N(0, I(\theta)^{-1}) in distribution: it attains the bound in the limit (asymptotic normality of the MLE). The bound also sets the scale of the standard error, 1/nI(θ)1/\sqrt{n I(\theta)}.

Design. Since the bound depends on the design through II, maximizing a scalar function of the information matrix is the basis of optimal experimental design.

Tightness

A moving support breaks the bound. For Uniform(0,θ)(0, \theta), condition 2 fails. The naive information is E[(∂θlog⁡f)2]=1/θ2\mathbb{E}[(\partial_\theta \log f)^2] = 1/\theta^2, which would give the "bound" θ2/n\theta^2/n. The unbiased estimator n+1nmax⁡iXi\frac{n+1}{n}\max_i X_i has variance θ2/(n(n+2))\theta^2/(n(n+2)), of order 1/n21/n^2; at n=5n = 5 it is θ2/35\theta^2/35, against the "bound" θ2/5\theta^2/5.

Biased estimators can go below. The bound with ψ(θ)=θ\psi(\theta) = \theta applies to unbiased estimators only. The constant estimator T=θ0T = \theta_0 has variance zero. Shrinkage estimators such as the James-Stein estimator trade a bias for a lower mean squared error.

Superefficiency. The asymptotic statement is not a bound at every point. Hodges's estimator, which replaces Xˉ\bar X by 00 when ∣Xˉ∣<n−1/4\lvert \bar X \rvert < n^{-1/4} in the normal mean problem, has asymptotic variance 00 at θ=0\theta = 0 and 1/I1/I elsewhere. Le Cam showed that such improvements can happen only on a set of parameter values of Lebesgue measure zero.

Attainment is rare. For a fixed nn, the bound is attained for every θ\theta only for affine functions of the mean of TT in a one-parameter exponential family (Step 4). For other estimands, the UMVUE, when it exists, lies strictly above it.

Sharper bounds. The Bhattacharyya bounds use higher derivatives of ff and are closer to the UMVUE variance. The Hammersley-Chapman-Robbins bound replaces the derivative by a difference,

Var⁡θ(T)≥sup⁡Δ≠0(ψ(θ+Δ)−ψ(θ))2Eθ[(fn(X;θ+Δ)/fn(X;θ)−1)2],\operatorname{Var}_\theta(T) \ge \sup_{\Delta \ne 0} \frac{(\psi(\theta + \Delta) - \psi(\theta))^2}{\mathbb{E}_\theta\big[(f_n(X; \theta + \Delta)/f_n(X; \theta) - 1)^2\big]},

and needs no differentiability, but needs the support of f(⋅ ;θ+Δ)f(\cdot\,; \theta + \Delta) to lie in that of f(⋅ ;θ)f(\cdot\,; \theta). The van Trees inequality is a Bayesian form that bounds the average mean squared error over a prior, for any estimator, biased or not.

History

Fréchet (1943) and Darmois (1945) gave the inequality, and Rao (1945) and Cramér (1946) gave it independently in the forms that became standard. Rao's paper also contains the multiparameter form and the Rao-Blackwell argument. Fisher (1925) had defined the information and claimed that maximum likelihood is efficient in large samples. The name "information inequality", used by Lehmann and Casella, avoids the question of priority.

References

  1. George Casella and Roger L. Berger, Statistical Inference, second edition, Duxbury, 2002, Section 7.3.2, Theorem 7.3.9 (the Cramér-Rao inequality) and Corollary 7.3.15 (attainment)
  2. E. L. Lehmann and George Casella, Theory of Point Estimation, second edition, Springer, 1998, Chapter 2, Section 2.5 (the information inequality, with the multiparameter form and other bounds)
  3. Rao 1945, the lower bound for the variance of unbiased estimators, in one and several parameters
  4. Cramér 1946, the chapters on the theory of estimation (the inequality for the variance of an estimate)

Where this leads

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/ER50ZC/text.yaml