Lecture 13

Fisher information and the Cramér–Rao bound

Course edition
Fall 2026
Last updated
October 19, 2026

Part IV · Optimality · Lecture 2 of 2

Student PDFReport an issue

A guided route

Lecture map

High and mid topics are both examined. Follow the topic links, and open optional branches when they help.

These notes support STAT 709 at the University of Wisconsin–Madison. Use them alongside the cited textbooks; corrections and questions are welcome.

High priorityOverview

  • Score. The score measures how a likelihood responds to a parameter change.

  • Information. Under the usual regularity conditions, its covariance is Fisher information; the inverse information bounds the covariance of unbiased estimators of the parameter.

  • Main route. We prove the bound, examine equality and failure of equality, and connect it to Gaussian regression.

  • Extensions. Geometric curvature supports the main route; the KL interpretation and Gauss–Markov extension are optional.

Recap from earlier lecturesFrom Lectures 3, 4, 8, 11 and 12: likelihood and optimality · 1 min

Reminder only: this block introduces no new exam requirements.

Learning goals

High priorityIntroduction

In this lecture, we will introduce an important lower-bound result for unbiased estimation.

1. Fisher information

High priorityFisher information

  • Model. Suppose that \(X\)XX is drawn (e.g., single observation or sequence of i.i.d. data) from \(P_{\theta} \in \mathcal{P} = \{P_\theta: \theta\in\Theta\}\)Pθ∈𝒫={Pθ:θ∈Θ}P_{\theta} \in \mathcal{P} = \{P_\theta: \theta\in\Theta\}, where the parameter space \(\Theta \subset \mathbb{R}^k\)Θ⊂ℝk\Theta \subset \mathbb{R}^k is an open set.

  • Density. Also suppose that \(P_\theta\)PθP_\theta has p.d.f. \(f_\theta\)fθf_\theta w.r.t. a dominating measure \(\mu\)μ\mu on the observation space for any \(\theta\in\Theta\)θ∈Θ\theta\in\Theta, and \(f_\theta\)fθf_\theta is differentiable in \(\theta\)θ\theta.

Definition 1Fisher information

For the parametric family \(\{P_\theta: \theta\in\Theta\}\){Pθ:θ∈Θ}\{P_\theta: \theta\in\Theta\}, the Fisher information (matrix) is defined as \[\begin{aligned} I(\theta) = \mathbb{E}\left[\frac{\partial}{\partial \theta} \log f_\theta(X)\left(\frac{\partial}{\partial \theta} \log f_\theta(X)\right)^\top\right], \end{aligned}\]I(θ)=𝔼[∂∂θlogfθ(X)(∂∂θlogfθ(X))⊤],\begin{aligned} I(\theta) = \mathbb{E}\left[\frac{\partial}{\partial \theta} \log f_\theta(X)\left(\frac{\partial}{\partial \theta} \log f_\theta(X)\right)^\top\right], \end{aligned} where the expectation is taken over \(P_{\theta}\)PθP_{\theta}. We also write \(I_X(\theta)\)IX(θ)I_X(\theta) to emphasize the dependence on \(X\)XX should confusion arise.

Note that by definition, \(I(\theta)\)I(θ)I(\theta) is always positive semidefinite. We call \(\frac{\partial}{\partial \theta} \log f_\theta(X)\)∂∂θlogfθ(X)\frac{\partial}{\partial \theta} \log f_\theta(X) the score function.

Proposition 1
  • (i) If \(X\)XX and \(Y\)YY are independent and their scores have mean zero and finite second moments, then the Fisher information about \(\theta\)θ\theta in \((X, Y)\)(X,Y)(X, Y) is \[\begin{aligned} I_{(X, Y)}(\theta) = I_X(\theta) + I_Y(\theta). \end{aligned}\]I(X,Y)(θ)=IX(θ)+IY(θ).\begin{aligned} I_{(X, Y)}(\theta) = I_X(\theta) + I_Y(\theta). \end{aligned} If \(X_1, \ldots, X_n\)X1,…,XnX_1, \ldots, X_n are i.i.d., then \[\begin{aligned} I_{(X_1, \ldots, X_n)}(\theta) = nI_{X_1}(\theta) \end{aligned}\]I(X1,…,Xn)(θ)=nIX1(θ)\begin{aligned} I_{(X_1, \ldots, X_n)}(\theta) = nI_{X_1}(\theta) \end{aligned}

  • (ii) Suppose that \(f_\theta\)fθf_\theta is twice differentiable in \(\theta\)θ\theta. Under a “regularity condition,” \[\begin{aligned} I(\theta) = -\mathbb{E}\left[\frac{\partial^2}{\partial\theta\partial\theta^\top}\log f_\theta(X)\right]. \end{aligned}\]I(θ)=−𝔼[∂2∂θ∂θ⊤logfθ(X)].\begin{aligned} I(\theta) = -\mathbb{E}\left[\frac{\partial^2}{\partial\theta\partial\theta^\top}\log f_\theta(X)\right]. \end{aligned}

Proof.

  • (i) The joint log density is the sum of the two log densities, so its score is \(s_X+s_Y\)sX+sYs_X+s_Y. Independence and \(\E s_X=\E s_Y=0\)𝔼sX=𝔼sY=0\mathbb{E}s_X=\mathbb{E}s_Y=0 kill both cross terms in \(\E(s_X+s_Y)(s_X+s_Y)^\top\)𝔼(sX+sY)(sX+sY)⊤\mathbb{E}(s_X+s_Y)(s_X+s_Y)^\top, leaving \(I_X+I_Y\)IX+IYI_X+I_Y.

  • (ii) A useful observation is the following identity. \[\begin{aligned} \frac{\partial^2}{\partial\theta\partial\theta^\top}\log f_\theta(X) &= \frac{\dfrac{\partial^2}{\partial\theta\partial\theta^\top}f_\theta(X)}{f_\theta(X)} \\ &\quad - \frac{\partial}{\partial\theta}\log f_\theta(X) \left[\frac{\partial}{\partial\theta}\log f_\theta(X)\right]^\top. \end{aligned}\]∂2∂θ∂θ⊤logfθ(X)=∂2∂θ∂θ⊤fθ(X)fθ(X)−∂∂θlogfθ(X)[∂∂θlogfθ(X)]⊤.\begin{aligned} \frac{\partial^2}{\partial\theta\partial\theta^\top}\log f_\theta(X) &= \frac{\dfrac{\partial^2}{\partial\theta\partial\theta^\top}f_\theta(X)}{f_\theta(X)} \\ &\quad - \frac{\partial}{\partial\theta}\log f_\theta(X) \left[\frac{\partial}{\partial\theta}\log f_\theta(X)\right]^\top. \end{aligned} When taking expectation, we get \[\begin{aligned} \mathbb{E}\left[\frac{\dfrac{\partial^2}{\partial\theta\partial\theta^\top}f_\theta(X)}{f_\theta(X)}\right] &= \int \frac{\dfrac{\partial^2}{\partial\theta\partial\theta^\top}f_\theta(x)}{f_\theta(x)} f_\theta(x) \; d\mu(x) \\ &= \int \frac{\partial^2}{\partial\theta\partial\theta^\top}f_\theta(x) \; d\mu(x) \\ & = \frac{\partial^2}{\partial\theta\partial\theta^\top}\int f_\theta(x) \;d\mu(x)\quad\text{(regularity condition)} \\ & = 0.\quad (\text{since } \int f_\theta(x) \;d\mu(x)\equiv 1) \end{aligned}\]𝔼[∂2∂θ∂θ⊤fθ(X)fθ(X)]=∫∂2∂θ∂θ⊤fθ(x)fθ(x)fθ(x)dμ(x)=∫∂2∂θ∂θ⊤fθ(x)dμ(x)=∂2∂θ∂θ⊤∫fθ(x)dμ(x)(regularity condition)=0.(since ∫fθ(x)dμ(x)≡1)\begin{aligned} \mathbb{E}\left[\frac{\dfrac{\partial^2}{\partial\theta\partial\theta^\top}f_\theta(X)}{f_\theta(X)}\right] &= \int \frac{\dfrac{\partial^2}{\partial\theta\partial\theta^\top}f_\theta(x)}{f_\theta(x)} f_\theta(x) \; d\mu(x) \\ &= \int \frac{\partial^2}{\partial\theta\partial\theta^\top}f_\theta(x) \; d\mu(x) \\ & = \frac{\partial^2}{\partial\theta\partial\theta^\top}\int f_\theta(x) \;d\mu(x)\quad\text{(regularity condition)} \\ & = 0.\quad (\text{since } \int f_\theta(x) \;d\mu(x)\equiv 1) \end{aligned}

 ◻

  • Meaning. The regularity condition is an annoying technicality that ensures the exchangeability of integrals with differentials (again, physicists don’t care).

  • Sufficient conditions. A useful sufficient condition is a parameter-independent support and locally integrable envelopes for the first two parameter derivatives.

  • Limitation. Smoothness alone, or compact support whose boundary moves with the parameter, does not suffice.

  • Examples. Regular full exponential families provide important examples.

What “Information” means.

  • Nonnegativity and additivity. Fisher information shares two familiar properties with quantities such as discrete entropy and KL divergence: it is nonnegative (positive semidefinite in the matrix case), and it is additive for independent observations under the stated mean-zero-score conditions. The additivity follows because independent centered scores have zero cross covariance.

  • Parameter scale. An important difference is its dependence on parametrization. Changing the scale of the parameter changes the score and therefore the numerical value of Fisher information. For a scalar change \(\theta=\psi(\eta)\)θ=ψ(η)\theta=\psi(\eta), \[I_\eta(\eta)=[\psi'(\eta)]^2 I_\theta(\psi(\eta)).\]Iη(η)=[ψ′(η)]2Iθ(ψ(η)).I_\eta(\eta)=[\psi'(\eta)]^2 I_\theta(\psi(\eta)). See Remark 1 for the matrix version and why the variance bound for a fixed target is unchanged.

  • Change of observations. For comparison, discrete entropy is unchanged by a one-to-one relabeling of outcomes, and KL divergence is unchanged when the same invertible transformation is applied to both distributions.

  • Two different transformations. These are changes of the observations, whereas the formula above changes the parameter. Fisher information for a fixed parameter is also unchanged by an invertible, parameter-independent transformation of the observations. The entropy comparison here concerns discrete entropy; differential entropy for continuous variables is not generally invariant. See the change-of-variables discussion and Fisher-information notes.

High priorityPractice: Information in Bernoulli observations

See Exercise 1 in Section 8 for the full statement and complete solution.

2. Cramér–Rao lower bound

High priorityCramér–Rao lower bound

  • Positive definiteness. Recall that a symmetric matrix \(A\)AA is positive definite if \(u^\top A u > 0\)u⊤Au>0u^\top A u > 0 for all nonzero vectors \(u\)uu, and it is positive semidefinite if \(u^\top A u \ge 0\)u⊤Au≥0u^\top A u \ge 0 for all vectors \(u\)uu.

  • Two equivalent notations. For symmetric matrices \(A\)AA and \(B\)BB of the same size, both \(A\ge B\)A≥BA\ge B and \(A\succeq B\)A≽BA\succeq B will mean that \(A-B\)A−BA-B is positive semidefinite, equivalently \(u^\top(A-B)u\ge0\)u⊤(A−B)u≥0u^\top(A-B)u\ge0 for every vector \(u\)uu.

  • Meaning of the inequality. This is the matrix order, not an entrywise comparison. We use \(\succeq\)≽\succeq in Theorem 1 to make that meaning explicit.

  • Target and dimensions. Let \(\nu = g(\theta)\)ν=g(θ)\nu = g(\theta) be the quantity of interest where \(g:\R^d\to\R^k\)g:ℝd→ℝkg:\mathbb{R}^d\to\mathbb{R}^k is differentiable; in this section \(\theta\in\R^d\)θ∈ℝd\theta\in\mathbb{R}^d and \(Dg(\theta)\)Dg(θ)Dg(\theta) is the \(k\times d\)k×dk\times d Jacobian.

  • Moment condition. Assume \(T\)TT has finite covariance.

  • Unbiased estimator. Suppose that \(X\)XX is drawn from a distribution in \(\{P_{\theta}: \theta \in \Theta\}\){Pθ:θ∈Θ}\{P_{\theta}: \theta \in \Theta\} and \(T(X)\)T(X)T(X) is an unbiased estimator of \(\nu\)ν\nu.

  • Density. Let \(f_{\theta}\)fθf_{\theta} be the density function with respect to a reference measure \(\mu\)μ\mu.

Theorem 1

Suppose that \(I(\theta)\)I(θ)I(\theta) is positive definite, and that for any \(\theta \in \Theta\)θ∈Θ\theta \in \Theta,

\[\begin{aligned} \frac{\partial }{\partial \theta} \int h(x) f_\theta(x)\; d\mu(x) = \int h(x) \frac{\partial }{\partial \theta} f_\theta(x)\; d\mu(x), \end{aligned}\]∂∂θ∫h(x)fθ(x)dμ(x)=∫h(x)∂∂θfθ(x)dμ(x),\begin{aligned} \frac{\partial }{\partial \theta} \int h(x) f_\theta(x)\; d\mu(x) = \int h(x) \frac{\partial }{\partial \theta} f_\theta(x)\; d\mu(x), \end{aligned}

(1)

holds for \(h(x) \equiv 1\)h(x)≡1h(x) \equiv 1 and \(h(x) = T(x)\)h(x)=T(x)h(x) = T(x) (regularity conditions). Then, \[\begin{aligned} \mathrm{Cov}(T(X)) \succeq Dg(\theta)I(\theta)^{-1}Dg(\theta)^\top. \end{aligned}\]Cov(T(X))≽Dg(θ)I(θ)−1Dg(θ)⊤.\begin{aligned} \mathrm{Cov}(T(X)) \succeq Dg(\theta)I(\theta)^{-1}Dg(\theta)^\top. \end{aligned}

  • Lower bound. Fisher information provides a lower bound on variance (and thus MSE) of unbiased estimators for a parametric family.

  • When it proves optimality. It may not always be achievable, but if we can find an estimator that achieves this lower bound, then we certify the optimality of this estimator in the class of unbiased estimators (namely certifying UMVUE).

  • Reference. See wiki for the multivariate case.

Proof. Proof for only \(k = 1\)k=1k = 1 and \(d=1\)d=1d=1; similar for \(k > 1\)k>1k > 1.

  • Goal. Our goal is

    \[\begin{aligned} \mathrm{Var}(T(X)) \mathbb{E}\left[\left(\frac{\partial }{\partial \theta} \log f_\theta(X)\right)^2\right] \ge (g'(\theta))^2. \end{aligned}\]Var(T(X))𝔼[(∂∂θlogfθ(X))2]≥(g′(θ))2.\begin{aligned} \mathrm{Var}(T(X)) \mathbb{E}\left[\left(\frac{\partial }{\partial \theta} \log f_\theta(X)\right)^2\right] \ge (g'(\theta))^2. \end{aligned}

    (2)
  • Two identities. It suffices to show the following two equalities. \[\begin{aligned} \mathbb{E}\left[\left(\frac{\partial }{\partial \theta} \log f_\theta(X)\right)^2\right] &= \mathrm{Var}\left(\frac{\partial }{\partial \theta} \log f_\theta(X)\right),\\ g'(\theta) &= \mathrm{Cov}\left(T(X), \frac{\partial }{\partial \theta} \log f_\theta(X)\right). \end{aligned}\]𝔼[(∂∂θlogfθ(X))2]=Var(∂∂θlogfθ(X)),g′(θ)=Cov(T(X),∂∂θlogfθ(X)).\begin{aligned} \mathbb{E}\left[\left(\frac{\partial }{\partial \theta} \log f_\theta(X)\right)^2\right] &= \mathrm{Var}\left(\frac{\partial }{\partial \theta} \log f_\theta(X)\right),\\ g'(\theta) &= \mathrm{Cov}\left(T(X), \frac{\partial }{\partial \theta} \log f_\theta(X)\right). \end{aligned}

  • Cauchy–Schwarz. Once they are proved, Equation 2 follows from Cauchy–Schwarz inequality: \[\begin{aligned} \mathrm{Var}(\xi_1) \mathrm{Var}(\xi_2) \ge \big[\mathrm{Cov}(\xi_1, \xi_2)\big]^2. \end{aligned}\]Var(ξ1)Var(ξ2)≥[Cov(ξ1,ξ2)]2.\begin{aligned} \mathrm{Var}(\xi_1) \mathrm{Var}(\xi_2) \ge \big[\mathrm{Cov}(\xi_1, \xi_2)\big]^2. \end{aligned}

  • The score has mean zero. Note that \[\begin{aligned} \mathbb{E}\left[\frac{\partial }{\partial \theta} \log f_\theta(X)\right] &= \int\frac{\dfrac{\partial }{\partial \theta} f_\theta(x)}{f_\theta(x)} f_\theta(x)\; d\mu(x) \\ &= \int \frac{\partial }{\partial \theta} f_\theta(x) \; d\mu(x) \\ &= \frac{\partial }{\partial \theta} \underbrace{\int f_\theta(x) \; d\mu(x)}_{\equiv 1} = 0, \end{aligned}\]𝔼[∂∂θlogfθ(X)]=∫∂∂θfθ(x)fθ(x)fθ(x)dμ(x)=∫∂∂θfθ(x)dμ(x)=∂∂θ∫fθ(x)dμ(x)⏟≡1=0,\begin{aligned} \mathbb{E}\left[\frac{\partial }{\partial \theta} \log f_\theta(X)\right] &= \int\frac{\dfrac{\partial }{\partial \theta} f_\theta(x)}{f_\theta(x)} f_\theta(x)\; d\mu(x) \\ &= \int \frac{\partial }{\partial \theta} f_\theta(x) \; d\mu(x) \\ &= \frac{\partial }{\partial \theta} \underbrace{\int f_\theta(x) \; d\mu(x)}_{\equiv 1} = 0, \end{aligned}

  • The target derivative is a covariance. Also, \[\begin{aligned} \mathbb{E}\left[T(X)\frac{\partial }{\partial \theta}\log f_\theta(X)\right] &= \int T(x)\frac{\dfrac{\partial }{\partial \theta} f_\theta(x)}{f_\theta(x)} f_\theta(x)\; d\mu(x) \\ &= \int T(x)\frac{\partial }{\partial \theta} f_\theta(x) \; d\mu(x) \\ &= \frac{\partial }{\partial \theta} \int T(x)f_\theta(x)\; d\mu(x) \\ &= \frac{\partial }{\partial \theta} g(\theta) \qquad \text{ (by unbiasedness)}\\ &= g'(\theta). \end{aligned}\]𝔼[T(X)∂∂θlogfθ(X)]=∫T(x)∂∂θfθ(x)fθ(x)fθ(x)dμ(x)=∫T(x)∂∂θfθ(x)dμ(x)=∂∂θ∫T(x)fθ(x)dμ(x)=∂∂θg(θ) (by unbiasedness)=g′(θ).\begin{aligned} \mathbb{E}\left[T(X)\frac{\partial }{\partial \theta}\log f_\theta(X)\right] &= \int T(x)\frac{\dfrac{\partial }{\partial \theta} f_\theta(x)}{f_\theta(x)} f_\theta(x)\; d\mu(x) \\ &= \int T(x)\frac{\partial }{\partial \theta} f_\theta(x) \; d\mu(x) \\ &= \frac{\partial }{\partial \theta} \int T(x)f_\theta(x)\; d\mu(x) \\ &= \frac{\partial }{\partial \theta} g(\theta) \qquad \text{ (by unbiasedness)}\\ &= g'(\theta). \end{aligned}

 ◻

Again, the differentiation identities require a common support and suitable local domination of the derivatives; decay of the density alone does not control its parameter derivatives.

Remark 1Reparameterization
  • Change of coordinates. Let \(\theta=\psi(\eta)\)θ=ψ(η)\theta=\psi(\eta) be a differentiable change of coordinates with invertible Jacobian \(J=D\psi(\eta)\)J=Dψ(η)J=D\psi(\eta).

  • Information and target derivative. The chain rule for column scores gives \(s_\eta=J^\top s_\theta\)sη=J⊤sθs_\eta=J^\top s_\theta, hence \[\begin{aligned} I_\eta(\eta)&=J^\top I_\theta(\psi(\eta))J,\\ D_\eta(g\circ\psi)&=D_\theta g\,J. \end{aligned}\]Iη(η)=J⊤Iθ(ψ(η))J,Dη(g∘ψ)=DθgJ.\begin{aligned} I_\eta(\eta)&=J^\top I_\theta(\psi(\eta))J,\\ D_\eta(g\circ\psi)&=D_\theta g\,J. \end{aligned}

  • The same variance bound. Substitution into the bound cancels \(J\)JJ and \(J^{-1}\)J−1J^{-1}. The information matrix changes with coordinates, but the lower bound for the same target does not: we cannot cheat the lower bound by reparameterization.

Remark 2Asymptotic optimality of MLE

Under the regularity and consistency conditions discussed in Lecture 11, the MLE has asymptotic variance \((nI_{X_1}(\theta))^{-1}\)(nIX1(θ))−1(nI_{X_1}(\theta))^{-1}, which matches the lower bound asymptotically. This is a key advantage of MLE.

The unbiased variance bound.

The Cramér–Rao inequality compares the derivative of the target with information. Equality requires a centered estimator to be a linear transformation of the score, so the bound need not be attainable.

High priorityPractice: A bound attained by the Poisson mean

See Exercise 2 in Section 8 for the full statement and complete solution.

3. Two interpretations of Fisher information

3.1. Geometric view of Fisher information

Mid priorityGeometric view of Fisher information

  • Loss. \(\log f_\theta(x)\)logfθ(x)\log f_\theta(x) is also known as the log-likelihood (or written as loglik) function. A natural loss that we want to minimize is the following negative loglik. \[\begin{aligned} \ell(\theta; X) = -\log f_\theta(X). \end{aligned}\]ℓ(θ;X)=−logfθ(X).\begin{aligned} \ell(\theta; X) = -\log f_\theta(X). \end{aligned}

  • Independent data. If we have i.i.d. data \(X = (X_1,\ldots, X_n)\)X=(X1,…,Xn)X = (X_1,\ldots, X_n), then \[\begin{aligned} \ell(\theta; X) = -\sum_{i=1}^{n} \log f_\theta(X_i). \end{aligned}\]ℓ(θ;X)=−∑i=1nlogfθ(Xi).\begin{aligned} \ell(\theta; X) = -\sum_{i=1}^{n} \log f_\theta(X_i). \end{aligned}

  • Expected curvature. Note that Fisher information is related to the expected curvature (in one dimension, the rate of change of tangent vector) of \(\ell(\theta; X)\)ℓ(θ;X)\ell(\theta; X), since \[\begin{aligned} I(\theta) = \mathbb{E}\left[\frac{\partial^2}{\partial\theta\partial\theta^\top}\ell(\theta; X)\right]. \end{aligned}\]I(θ)=𝔼[∂2∂θ∂θ⊤ℓ(θ;X)].\begin{aligned} I(\theta) = \mathbb{E}\left[\frac{\partial^2}{\partial\theta\partial\theta^\top}\ell(\theta; X)\right]. \end{aligned}

  • Stationary point. Recall that in MLE, we estimate \(\theta\)θ\theta by minimizing the negative log-likelihood \(\ell(\theta; X)\)ℓ(θ;X)\ell(\theta; X). We provide some geometric heuristics. An obvious property of MLE is that an interior differentiable minimum corresponds to a stationary point of \(\ell(\theta; X)\)ℓ(θ;X)\ell(\theta; X), which means \[\begin{aligned} \frac{\partial}{\partial\theta}\ell(\hat \theta; X) = 0, \end{aligned}\]∂∂θℓ(θ̂;X)=0,\begin{aligned} \frac{\partial}{\partial\theta}\ell(\hat \theta; X) = 0, \end{aligned}

  • Interpretation. Intuitively, consider the one-dimensional case for simplicity, a large \(I(\theta)\)I(θ)I(\theta) means larger local convexity, so noise perturbation is easier to control. Figures 1 and 2 compare small and large \(I(\theta)\)I(θ)I(\theta). The following is an intuitive understanding of Fisher information. \[\begin{aligned} \text{large } I(\theta) &\Rightarrow \text{easy to find }\theta \\ &\Rightarrow \text{less uncertainty / smaller lower bound}. \end{aligned}\]large I(θ)⇒easy to find θ⇒less uncertainty / smaller lower bound.\begin{aligned} \text{large } I(\theta) &\Rightarrow \text{easy to find }\theta \\ &\Rightarrow \text{less uncertainty / smaller lower bound}. \end{aligned}

A shallow upward-curving graph illustrating small Fisher information.
A steeper upward-curving graph illustrating large Fisher information.

In the Normal mean model, the negative log-likelihood above its minimum is \(I(\mu)(\mu-\bar X)^2/2\)I(μ)(μ−X‾)2/2I(\mu)(\mu-\bar X)^2/2, where \(I(\mu)=n/\sigma^2\)I(μ)=n/σ2I(\mu)=n/\sigma^2. Quadrupling information halves the horizontal width at a fixed likelihood drop. Compare Lecture 8’s likelihood-width example.

Example 1

Let \(X_1, X_2, \ldots, X_n \stackrel{\iid}{\sim} \mathcal{N}(\mu, \sigma^2)\)X1,X2,…,Xn∼i.i.d.𝒩(μ,σ2)X_1, X_2, \ldots, X_n \stackrel{\mathrm{i.i.d.}}{\sim} \mathcal{N}(\mu, \sigma^2), where \(\sigma^2 > 0\)σ2>0\sigma^2 > 0 is known. \[\begin{aligned} \frac{\partial }{\partial \mu} \log f_\mu(X) = \sum_{i=1}^{n} (X_i - \mu) / \sigma^2 \Longrightarrow I(\mu) = \frac{n}{\sigma^2}. \end{aligned}\]∂∂μlogfμ(X)=∑i=1n(Xi−μ)/σ2⇒I(μ)=nσ2.\begin{aligned} \frac{\partial }{\partial \mu} \log f_\mu(X) = \sum_{i=1}^{n} (X_i - \mu) / \sigma^2 \Longrightarrow I(\mu) = \frac{n}{\sigma^2}. \end{aligned} We know \(\bar{X}\)X‾\bar{X} is a UMVUE. It is easy to check \[\begin{aligned} \mathrm{Var}(\bar{X}) = [I(\mu)]^{-1}, \end{aligned}\]Var(X‾)=[I(μ)]−1,\begin{aligned} \mathrm{Var}(\bar{X}) = [I(\mu)]^{-1}, \end{aligned} attaining the Cramér–Rao lower bound.

Remark 3

\(\sigma/\sqrt{n}\)σ/n\sigma/\sqrt{n} is the “effective noise level.” A large sample size \(n\)nn reduces uncertainty.

Instructor’s NoteCurvature and uncertainty

Imagine locating the bottom of a bowl after a small tilt. A narrow bowl moves its minimizer only a little; a shallow bowl moves it farther. Expected likelihood curvature plays that role locally. The drawings preserve this intuition, while the score covariance is the precise definition.

3.2. Information theoretic interpretation

Low priority — not examined: Information theoretic interpretation

Let us recall the information notations.

  • Mutual information: Defined generally for random variables, unchanged under one-to-one mapping.

  • Fisher information: Defined for specific parametric models, changed under reparameterization.

  • Local comparison. Both information quantities measure the amount of information about \(\theta\)θ\theta given observation \(X\)XX. Here we give a concrete connection: Under certain “regularity conditions,”

    \[\begin{aligned} D(P_{\theta_0} || P_{\theta_0 + \xi}) = \frac{1}{2}\xi^\top I(\theta_0)\xi + o(\|\xi\|^2); \end{aligned}\]D(Pθ0||Pθ0+ξ)=12ξ⊤I(θ0)ξ+o(∥ξ∥2);\begin{aligned} D(P_{\theta_0} || P_{\theta_0 + \xi}) = \frac{1}{2}\xi^\top I(\theta_0)\xi + o(\|\xi\|^2); \end{aligned}

    (3)
  • Taylor expansion. By Taylor expansion at \(\theta_0\)θ0\theta_0, with all parameter derivatives below evaluated at \(\theta=\theta_0\)θ=θ0\theta=\theta_0, \[\begin{aligned} \log f_{\theta_0 + \xi}(X) &= \log f_{\theta_0}(X) + \xi^\top \nabla_\theta\log f_\theta(X) \\ &\quad + \frac{1}{2}\xi^\top \nabla^2_\theta(\log f_\theta(X))\xi + o(\|\xi\|^2), \end{aligned}\]logfθ0+ξ(X)=logfθ0(X)+ξ⊤∇θlogfθ(X)+12ξ⊤∇θ2(logfθ(X))ξ+o(∥ξ∥2),\begin{aligned} \log f_{\theta_0 + \xi}(X) &= \log f_{\theta_0}(X) + \xi^\top \nabla_\theta\log f_\theta(X) \\ &\quad + \frac{1}{2}\xi^\top \nabla^2_\theta(\log f_\theta(X))\xi + o(\|\xi\|^2), \end{aligned}

  • Taking expectation. Thus, by the definition of KL divergence and the fact \(\mathbb{E}_{\theta_0}[ \nabla_\theta\log f_\theta(X) ] =0\)𝔼θ0[∇θlogfθ(X)]=0\mathbb{E}_{\theta_0}[ \nabla_\theta\log f_\theta(X) ] =0, we obtain Equation 3.

  • Interpretation. Thus, Fisher information characterizes how hard it is to distinguish two distributions in a parametric family under the KL divergence. To draw an analogy, Fisher information \(I(\theta_0)\)I(θ0)I(\theta_0) in Equation 3 plays a similar role as local convexity plays in optimization.

4. Cramér–Rao lower bound may not be attained

Mid priorityCramér–Rao lower bound may not be attained

Let \(X_1, X_2, \ldots, X_n \stackrel{\iid}{\sim} \mathcal{N}(\mu, \sigma^2)\)X1,X2,…,Xn∼i.i.d.𝒩(μ,σ2)X_1, X_2, \ldots, X_n \stackrel{\mathrm{i.i.d.}}{\sim} \mathcal{N}(\mu, \sigma^2), where \(\sigma^2 > 0\)σ2>0\sigma^2 > 0 is known, and we are interested in estimating \(\nu = g(\mu) =\mu^2\)ν=g(μ)=μ2\nu = g(\mu) =\mu^2. The following calculation verifies

  • (1) \(h(\bar{X}) = \bar{X}^2 - \frac{\sigma^2}{n}\)h(X‾)=X‾2−σ2nh(\bar{X}) = \bar{X}^2 - \frac{\sigma^2}{n} is UMVUE.

  • (2) \(\mathrm{Var}(h(\bar{X})) = \frac{4\mu^2\sigma^2}{n} + \frac{2\sigma^4}{n^2}\)Var(h(X‾))=4μ2σ2n+2σ4n2\mathrm{Var}(h(\bar{X})) = \frac{4\mu^2\sigma^2}{n} + \frac{2\sigma^4}{n^2}.

  • (3) Cramér–Rao lower bound for \(\nu\)ν\nu is \(\frac{4\mu^2\sigma^2}{n}\)4μ2σ2n\frac{4\mu^2\sigma^2}{n}.

  • (4) If, however, we are interested in estimating \(\mu\)μ\mu, then as in Example 1, both \(\Var(\bar X)\)Var(X‾)\mathrm{Var}(\bar X) and the Cramér–Rao lower bound are \(\sigma^2/n\)σ2/n\sigma^2/n.

Write \(\bar X=\mu+\tau G\)X‾=μ+τG\bar X=\mu+\tau G, where \(G\sim N(0,1)\)G∼N(0,1)G\sim N(0,1) and \(\tau^2=\sigma^2/n\)τ2=σ2/n\tau^2=\sigma^2/n. Then \[h(\bar X)-\mu^2=2\mu\tau G+\tau^2(G^2-1).\]h(X‾)−μ2=2μτG+τ2(G2−1).h(\bar X)-\mu^2=2\mu\tau G+\tau^2(G^2-1). The two terms are uncorrelated because \(\E G^3=\E G=0\)𝔼G3=𝔼G=0\mathbb{E}G^3=\mathbb{E}G=0, and \(\Var(G^2)=2\)Var(G2)=2\mathrm{Var}(G^2)=2. This gives the stated variance. The rule is unbiased and is a function of the complete sufficient statistic \(\bar X\)X‾\bar X, so Lehmann–Scheffé makes it the UMVUE. The information is \(n/\sigma^2\)n/σ2n/\sigma^2 and \(g'(\mu)=2\mu\)g′(μ)=2μg'(\mu)=2\mu, giving the displayed lower bound. Note that \(h(\bar{X})\)h(X‾)h(\bar{X}) matches the leading order term but not the exact lower bound. Why?

  • We know that \(\bar X\)X‾\bar X is the MLE for estimating \(\mu\)μ\mu with optimal asymptotic variance \(V = \sigma^2/n\)V=σ2/nV = \sigma^2/n. By the delta method, the first-order asymptotic variance of \(g(\bar X)\)g(X‾)g(\bar X) is \([g'(\mu)]^2 V\)[g′(μ)]2V[g'(\mu)]^2 V—this expression is the Cramér–Rao variance bound for the transformed target \(g(\mu)\)g(μ)g(\mu) (and equals inverse information when \(g\)gg is a valid local reparametrization), so the asymptotic variance matches the lower bound. However, the asymptotic variance does not need to equal the actual variance of \(h(\bar X)\)h(X‾)h(\bar X); nevertheless, it matches the leading-order term in this case.

  • The reason for the gap between the variance and the lower bound is that we have a strict inequality in Cauchy–Schwarz inequality in Equation 2. Recall that the equality condition for Cauchy–Schwarz inequality is \(T(X)-g(\theta) = c_\theta\, \frac{\partial }{\partial \theta} \log f_\theta(X)\)T(X)−g(θ)=cθ∂∂θlogfθ(X)T(X)-g(\theta) = c_\theta\, \frac{\partial }{\partial \theta} \log f_\theta(X) a.s. for some constant \(c_\theta\)cθc_\theta. This does not hold for \(T(X) = h(\bar X)\)T(X)=h(X‾)T(X) = h(\bar X).

Mid priorityPractice: An exponential Normal target

See Exercise 3 in Section 8 for the full statement and complete solution.

5. Examples of Cramér–Rao lower bound

5.1. Exponential family

Mid priorityExponential family

Let \(\Theta \subset \mathbb{R}^k\)Θ⊂ℝk\Theta \subset \mathbb{R}^k be an open set. Let \(\{f_\theta: \theta\in\Theta\}\){fθ:θ∈Θ}\{f_\theta: \theta\in\Theta\} be the exponential family with p.d.f. \[\begin{aligned} f_\theta(x) = \exp\{\eta(\theta)^\top T(x) - \xi(\theta)\} c(x). \end{aligned}\]fθ(x)=exp{η(θ)⊤T(x)−ξ(θ)}c(x).\begin{aligned} f_\theta(x) = \exp\{\eta(\theta)^\top T(x) - \xi(\theta)\} c(x). \end{aligned} Suppose that \(X\)XX is drawn from a distribution \(P_{\theta}\)PθP_{\theta} with corresponding p.d.f. \(f_{\theta}\)fθf_{\theta} in this exponential family.

Proposition 2
  • (i) Regularity conditions in Equation 1 are satisfied for any measurable \(h\)hh with \[\begin{aligned} \E_\eta|h(X)| < \infty \end{aligned}\]𝔼η|h(X)|<∞\begin{aligned} \mathbb{E}_\eta|h(X)| < \infty \end{aligned} throughout an open neighborhood of the parameter.

  • (ii) Consider the natural parameter \(\eta\)η\eta. Then \[\begin{aligned} \mathrm{Var}(T(X)) = I(\eta). \end{aligned}\]Var(T(X))=I(η).\begin{aligned} \mathrm{Var}(T(X)) = I(\eta). \end{aligned}

  • (iii) Suppose \(I(\eta)\)I(η)I(\eta) is positive definite, so the mean parameter is locally invertible, and \(\nu=\mathbb E[T(X)]\)ν=𝔼[T(X)]\nu=\mathbb E[T(X)] is the parameter of interest, and \(\bar{I}(\nu)\)I‾(ν)\bar{I}(\nu) denotes the Fisher information. Then \[\begin{aligned} \mathrm{Var}(T) = [\bar I(\nu)]^{-1}. \end{aligned}\]Var(T)=[I‾(ν)]−1.\begin{aligned} \mathrm{Var}(T) = [\bar I(\nu)]^{-1}. \end{aligned}

Proof. Under natural parameters \(\eta\)η\eta, we write the exponential family as \[\begin{aligned} f_\eta(X) = \exp\{\eta^\top T(X) - \xi(\eta)\}c(X). \end{aligned}\]fη(X)=exp{η⊤T(X)−ξ(η)}c(X).\begin{aligned} f_\eta(X) = \exp\{\eta^\top T(X) - \xi(\eta)\}c(X). \end{aligned} (i) + (ii) proved in Homework 4. In addition, we proved that \(f_\eta(x)\)fη(x)f_\eta(x) is \(C^{\infty}\)C∞C^{\infty}. Also, from Homework 4, \[\begin{aligned} \nu = \frac{\partial }{\partial \eta}\xi(\eta). \end{aligned}\]ν=∂∂ηξ(η).\begin{aligned} \nu = \frac{\partial }{\partial \eta}\xi(\eta). \end{aligned} By reparameterization, \[\begin{aligned} I(\eta) = \frac{\partial \nu}{\partial \eta} \bar{I}(\nu) \frac{\partial \nu}{\partial \eta}^\top. \end{aligned}\]I(η)=∂ν∂ηI‾(ν)∂ν∂η⊤.\begin{aligned} I(\eta) = \frac{\partial \nu}{\partial \eta} \bar{I}(\nu) \frac{\partial \nu}{\partial \eta}^\top. \end{aligned} Note that \[\begin{aligned} \frac{\partial \nu}{\partial \eta} = \frac{\partial^2}{\partial \eta\partial \eta^\top}\xi(\eta) = \mathrm{Var}(T) = I(\eta). \end{aligned}\]∂ν∂η=∂2∂η∂η⊤ξ(η)=Var(T)=I(η).\begin{aligned} \frac{\partial \nu}{\partial \eta} = \frac{\partial^2}{\partial \eta\partial \eta^\top}\xi(\eta) = \mathrm{Var}(T) = I(\eta). \end{aligned} So, \[\begin{aligned} \bar{I}(\nu) = [I(\eta)]^{-1} = [\mathrm{Var}(T)]^{-1}. \end{aligned}\]I‾(ν)=[I(η)]−1=[Var(T)]−1.\begin{aligned} \bar{I}(\nu) = [I(\eta)]^{-1} = [\mathrm{Var}(T)]^{-1}. \end{aligned} ◻

5.2. Linear model

High priorityLinear model
Quick Explanation
Isotropic noise

Basics.

Data \((X_1, Z_1), \ldots, (X_n, Z_n)\)(X1,Z1),…,(Xn,Zn)(X_1, Z_1), \ldots, (X_n, Z_n), where \(X_i \in \mathbb{R}\)Xi∈ℝX_i \in \mathbb{R}, \(Z_i \in \mathbb{R}^p\)Zi∈ℝpZ_i \in \mathbb{R}^p. Often independent across \(i = 1, 2, \ldots, n\)i=1,2,…,ni = 1, 2, \ldots, n, and they follow

\[X_i = \beta^\top Z_i + \epsilon_i,\]Xi=β⊤Zi+ϵi,X_i = \beta^\top Z_i + \epsilon_i,

(4)

where

  • \(X_i\)XiX_i is the response, observation, or outcome.

  • \(\beta\)β\beta is the coefficient vector.

  • \(Z_i\)ZiZ_i is the vector of explanatory variables (or covariates, features, attributes, regressors, predictors).

  • \(\epsilon_i\)ϵi\epsilon_i is the random error (or noise).

  • Design variables. Here \(Z_i\)ZiZ_i can be random or nonrandom.

  • Working assumption. For simplicity, we will treat \(Z_i\)ZiZ_i as fixed (If \(Z_i\)ZiZ_i is random and independent of the other random variables, we condition on \(Z_i\)ZiZ_i and conclusions remain the same.)

  • Matrix form. We can also write the matrix form. \[\begin{aligned} \underset{n\times 1}{X} = \underset{n\times p}{Z} \cdot \underset{p\times 1}{\beta} + \underset{n\times 1}{\epsilon}. \end{aligned}\]Xn×1=Zn×p⋅βp×1+ϵn×1.\begin{aligned} \underset{n\times 1}{X} = \underset{n\times p}{Z} \cdot \underset{p\times 1}{\beta} + \underset{n\times 1}{\epsilon}. \end{aligned}

  • Intercept. Note: Equation 4 subsumes the case with an intercept term: \(X_i=\beta_0+\beta^\top Z_i+\epsilon_i\)Xi=β0+β⊤Zi+ϵiX_i=\beta_0+\beta^\top Z_i+\epsilon_i. In the matrix form, we include a column of ones in \(Z\)ZZ for the intercept.

Least squares estimator (LSE).

LSE \(\hat{\beta}\in\R^p\)β̂∈ℝp\hat{\beta}\in\mathbb{R}^p satisfies

\[\begin{aligned} \|X - Z\hat{\beta}\|^2 = \min_{b\in\R^p}\|X - Zb\|^2. \end{aligned}\]∥X−Zβ̂∥2=minb∈ℝp∥X−Zb∥2.\begin{aligned} \|X - Z\hat{\beta}\|^2 = \min_{b\in\mathbb{R}^p}\|X - Zb\|^2. \end{aligned}

(5)

For any \(\ell \in \mathbb{R}^p\)ℓ∈ℝp\ell \in \mathbb{R}^p, \(\ell^\top\hat{\beta}\)ℓ⊤β̂\ell^\top\hat{\beta} is called an LSE of \(\ell^\top\beta\)ℓ⊤β\ell^\top\beta. As we already know, LSE admits an explicit formula.

  • If \(Z\)ZZ has full column rank, then \[\begin{aligned} \hat{\beta} = (Z^\top Z)^{-1}Z^\top X. \end{aligned}\]β̂=(Z⊤Z)−1Z⊤X.\begin{aligned} \hat{\beta} = (Z^\top Z)^{-1}Z^\top X. \end{aligned}

  • If \(Z\)ZZ does not have full column rank, then there are infinitely many solutions to Equation 5, and the minimum \(\ell_2\)ℓ2\ell_2-norm solution is unique and given by \[\begin{aligned} \hat{\beta} = (Z^\top Z)^+Z^\top X, \end{aligned}\]β̂=(Z⊤Z)+Z⊤X,\begin{aligned} \hat{\beta} = (Z^\top Z)^+Z^\top X, \end{aligned} where \((\cdot)^+\)(⋅)+(\cdot)^+ denotes the (Moore–Penrose) pseudoinverse.

Least squares as a projection.

  • Model space and fit. The vectors \(Zb\)ZbZb, as \(b\)bb varies, fill the column space \(\mathcal C(Z)\subseteq\R^n\)𝒞(Z)⊆ℝn\mathcal C(Z)\subseteq\mathbb{R}^n. Least squares finds the point in this space closest to the observation vector \(X\)XX. Write \(P_Z\)PZP_Z for the orthogonal projection onto \(\mathcal C(Z)\)𝒞(Z)\mathcal C(Z). The fitted vector and residual vector are \[\widehat X=Z\hat\beta=P_ZX,\qquad r=X-\widehat X=(I_n-P_Z)X.\]X̂=Zβ̂=PZX,r=X−X̂=(In−PZ)X.\widehat X=Z\hat\beta=P_ZX,\qquad r=X-\widehat X=(I_n-P_Z)X.

  • Orthogonality. The residual is perpendicular to every column of \(Z\)ZZ: \(Z^\top r=0\)Z⊤r=0Z^\top r=0. For full column rank, \(P_Z=Z(Z^\top Z)^{-1}Z^\top\)PZ=Z(Z⊤Z)−1Z⊤P_Z=Z(Z^\top Z)^{-1}Z^\top; the geometric projection is still unique when the coefficient vector is not.

Reading the projection diagram.

The shaded plane represents the column space of the design matrix. The fitted vector lies in this plane; the residual joins the fitted vector to the observation and is perpendicular to the whole plane.

The diagram uses \(y\)yy for our observation vector \(X\)XX, \(X\)XX for our design matrix \(Z\)ZZ, and \(\hat\varepsilon\)ε̂\hat\varepsilon for our residual \(r\)rr. Thus its \(X\hat\beta\)Xβ̂X\hat\beta is our \(Z\hat\beta=\widehat X\)Zβ̂=X̂Z\hat\beta=\widehat X.

Observation y projects onto the green plane col X at the fitted vector X beta-hat; the residual epsilon-hat is perpendicular to that plane. In this lecture these are X, col Z, Z beta-hat and r.

Why the projection is closest.

  • Pythagoras. For any coefficient \(b\)bb, the two terms in \(X-Zb=r+(\widehat X-Zb)\)X−Zb=r+(X̂−Zb)X-Zb=r+(\widehat X-Zb) are orthogonal. Pythagoras gives \[\|X-Zb\|^2=\|r\|^2+\|\widehat X-Zb\|^2\ge\|r\|^2.\]∥X−Zb∥2=∥r∥2+∥X̂−Zb∥2≥∥r∥2.\|X-Zb\|^2=\|r\|^2+\|\widehat X-Zb\|^2\ge\|r\|^2.

  • Example. For a numerical illustration, take \(Z=(1,1)^\top\)Z=(1,1)⊤Z=(1,1)^\top and \(X=(1,3)^\top\)X=(1,3)⊤X=(1,3)^\top. Then \(\hat\beta=(X_1+X_2)/2=2\)β̂=(X1+X2)/2=2\hat\beta=(X_1+X_2)/2=2, and the squared error is \(2+2(b-2)^2\)2+2(b−2)22+2(b-2)^2: its minimum is \(2\)22, compared with \(4\)44 at \(b=1\)b=1b=1.

  • Explained and unexplained parts. The fit captures the component along the model space; the residual is what remains in the perpendicular directions.

  • More pictures. For another visual explanation, see Strang’s MIT lecture on projections onto subspaces.

From orthogonality to Gaussian independence.

  • Gaussian assumptions. The geometry does not require Gaussian noise. To anticipate Theorem 3, now suppose \(X=Z\beta+\epsilon\)X=Zβ+ϵX=Z\beta+\epsilon, with fixed full-column-rank \(Z\)ZZ, \(n>p\)n>pn>p, and \(\epsilon\sim N(0,\sigma^2 I_n)\)ϵ∼N(0,σ2In)\epsilon\sim N(0,\sigma^2 I_n).

  • Gaussian transformations. Recall from Lecture 1: affine transformations of Gaussian vectors that a linear transformation of a Gaussian vector is still Gaussian. In particular, \(P_ZX\)PZXP_ZX and \((I_n-P_Z)X\)(In−PZ)X(I_n-P_Z)X are jointly Gaussian, and their cross-covariance is \[\operatorname{Cov}(P_ZX,(I_n-P_Z)X) =\sigma^2P_Z(I_n-P_Z)=0.\]Cov(PZX,(In−PZ)X)=σ2PZ(In−PZ)=0.\operatorname{Cov}(P_ZX,(I_n-P_Z)X) =\sigma^2P_Z(I_n-P_Z)=0.

  • Why independence follows. Joint Gaussianity turns this zero cross-covariance into independence. Orthogonality alone would not give independence for arbitrary noise.

Reading Theorem 3 in this basis.

  • Choose coordinates. Choose orthonormal columns \(Q_1\)Q1Q_1 spanning \(\mathcal C(Z)\)𝒞(Z)\mathcal C(Z) and complete them with \(Q_2\)Q2Q_2 to an orthogonal matrix \(Q=(Q_1,Q_2)\)Q=(Q1,Q2)Q=(Q_1,Q_2).

  • Separate the two groups. For \(G=\epsilon/\sigma\)G=ϵ/σG=\epsilon/\sigma, the vector \(Q^\top G\sim N(0,I_n)\)Q⊤G∼N(0,In)Q^\top G\sim N(0,I_n) has independent standard Normal coordinates. The fitted vector depends only on \(Q_1^\top G\)Q1⊤GQ_1^\top G (and the fixed mean), while the residual depends only on \(Q_2^\top G\)Q2⊤GQ_2^\top G.

  • Functions and residual length. Thus any function of the fit, including \(\ell^\top\hat\beta\)ℓ⊤β̂\ell^\top\hat\beta, is independent of any function of the residual, including \(\hat\sigma^2\)σ̂2\hat\sigma^2. Moreover, \[\frac{\|r\|^2}{\sigma^2} =\|Q_2^\top G\|^2 =\sum_{j=p+1}^{n}(Q^\top G)_j^2\sim\chi^2_{n-p}.\]∥r∥2σ2=∥Q2⊤G∥2=∑j=p+1n(Q⊤G)j2∼χn−p2.\frac{\|r\|^2}{\sigma^2} =\|Q_2^\top G\|^2 =\sum_{j=p+1}^{n}(Q^\top G)_j^2\sim\chi^2_{n-p}.

  • Connection to the theorem. This explains both the independence and the \(n-p\)n−pn-p degrees of freedom in Theorem 3.

Optimality of LSE.

We make the following parametric assumption: \(\epsilon\sim N(0,\sigma^2I_n)\)ϵ∼N(0,σ2In)\epsilon\sim N(0,\sigma^2I_n), where \(\sigma^2 > 0\)σ2>0\sigma^2 > 0 is unknown.

Theorem 2

Under the above assumption, if \(Z\)ZZ has full column rank and \(n>p\)n>pn>p, then

  • (i) \(\ell^\top\hat{\beta}\)ℓ⊤β̂\ell^\top\hat{\beta} is UMVUE of \(\ell^\top\beta\)ℓ⊤β\ell^\top\beta.

  • (ii) \(\hat{\sigma}^2 = \frac{1}{n-p} \|X - Z\hat{\beta}\|^2\)σ̂2=1n−p∥X−Zβ̂∥2\hat{\sigma}^2 = \frac{1}{n-p} \|X - Z\hat{\beta}\|^2 is UMVUE of \(\sigma^2\)σ2\sigma^2.

Proof. \[\begin{aligned} \|X - Z\beta\|^2 &= \|X - Z\hat{\beta}\|^2 - 2\beta^\top Z^\top X \\ &\quad + \|Z\beta\|^2 + \|Z\hat{\beta}\|^2. \end{aligned}\]∥X−Zβ∥2=∥X−Zβ̂∥2−2β⊤Z⊤X+∥Zβ∥2+∥Zβ̂∥2.\begin{aligned} \|X - Z\beta\|^2 &= \|X - Z\hat{\beta}\|^2 - 2\beta^\top Z^\top X \\ &\quad + \|Z\beta\|^2 + \|Z\hat{\beta}\|^2. \end{aligned} The joint p.d.f. of \(X\)XX is \[\begin{aligned} p_{\beta,\sigma^2}(x) &= \frac{1}{(2\pi\sigma^2)^{n/2}}\exp\Biggl\{\frac{\beta^\top Z^\top x}{\sigma^2} \\ &\qquad - \frac{\|x - Z\hat\beta \|^2 + \|Z\hat{\beta}\|^2}{2\sigma^2} - \frac{\|Z\beta\|^2}{2\sigma^2}\Biggr\}. \end{aligned}\]pβ,σ2(x)=1(2πσ2)n/2exp{β⊤Z⊤xσ2−∥x−Zβ̂∥2+∥Zβ̂∥22σ2−∥Zβ∥22σ2}.\begin{aligned} p_{\beta,\sigma^2}(x) &= \frac{1}{(2\pi\sigma^2)^{n/2}}\exp\Biggl\{\frac{\beta^\top Z^\top x}{\sigma^2} \\ &\qquad - \frac{\|x - Z\hat\beta \|^2 + \|Z\hat{\beta}\|^2}{2\sigma^2} - \frac{\|Z\beta\|^2}{2\sigma^2}\Biggr\}. \end{aligned}

  • Complete and sufficient. We can use the property about exponential family (Proposition 1 from Lecture 12) to check that \((Z\hat \beta, \|X - Z\hat{\beta}\|^2)\)(Zβ̂,∥X−Zβ̂∥2)(Z\hat \beta, \|X - Z\hat{\beta}\|^2) is complete and sufficient for \(\theta = (\beta, \sigma^2)\)θ=(β,σ2)\theta = (\beta, \sigma^2).

  • Functions of the statistic. Note that \(\ell^\top\hat{\beta}\)ℓ⊤β̂\ell^\top\hat{\beta}, \(\hat{\sigma}^2\)σ̂2\hat{\sigma}^2 are functions of \(Z \hat \beta\)Zβ̂Z \hat \beta, \(\|X - Z\hat{\beta}\|^2\)∥X−Zβ̂∥2\|X - Z\hat{\beta}\|^2 respectively.

  • Unbiasedness. Further, it is easy to verify unbiasedness (see Exercise 7) \[\begin{aligned} \mathbb{E}[\ell^\top\hat{\beta}] = \ell^\top \beta,\qquad \qquad \mathbb{E}[\hat{\sigma}^2] = \sigma^2. \end{aligned}\]𝔼[ℓ⊤β̂]=ℓ⊤β,𝔼[σ̂2]=σ2.\begin{aligned} \mathbb{E}[\ell^\top\hat{\beta}] = \ell^\top \beta,\qquad \qquad \mathbb{E}[\hat{\sigma}^2] = \sigma^2. \end{aligned}

  • Conclusion. Therefore, the Lehmann–Scheffé theorem implies UMVUE.

 ◻

In fact, we can characterize the distribution of the LSE and residual explicitly, which is useful for deriving statistical tests for LSE.

Theorem 3

Under the same assumption as in Theorem 2, \(\ell^\top\hat{\beta}\)ℓ⊤β̂\ell^\top\hat{\beta} is independent of \(\hat{\sigma}^2\)σ̂2\hat{\sigma}^2. Specifically, \[\begin{aligned} \ell^\top \hat{\beta} &\sim \mathcal{N}(\ell^\top \beta, \sigma^2\ell^\top(Z^\top Z)^+\ell),\\ \hat{\sigma}^2\frac{n-p}{\sigma^2}&\sim \chi^2_{n-p}. \end{aligned}\]ℓ⊤β̂∼𝒩(ℓ⊤β,σ2ℓ⊤(Z⊤Z)+ℓ),σ̂2n−pσ2∼χn−p2.\begin{aligned} \ell^\top \hat{\beta} &\sim \mathcal{N}(\ell^\top \beta, \sigma^2\ell^\top(Z^\top Z)^+\ell),\\ \hat{\sigma}^2\frac{n-p}{\sigma^2}&\sim \chi^2_{n-p}. \end{aligned}

Proof. Proof sketch.

  • Projections. Denote \((P_Z, P_Z^\perp)\)(PZ,PZ⊥)(P_Z, P_Z^\perp) to be the projection matrices to the column space of \(Z\)ZZ and its orthogonal complement in \(\R^n\)ℝn\mathbb{R}^n, respectively. Then, \[\begin{aligned} Z\hat{\beta} = P_Z(X),\quad X - Z\hat{\beta} = P_Z^\perp(X). \end{aligned}\]Zβ̂=PZ(X),X−Zβ̂=PZ⊥(X).\begin{aligned} Z\hat{\beta} = P_Z(X),\quad X - Z\hat{\beta} = P_Z^\perp(X). \end{aligned}

  • Standardized noise. After subtracting \(Z\beta\)ZβZ\beta and dividing by \(\sigma\)σ\sigma, the noise is isotropic1.

  • Rotation. An orthogonal transformation preserves its standard Gaussian distribution.

  • Independence and residual law. Thus, \[\begin{aligned} P_Z(X)&\text{ is independent of } P_Z^{\perp}(X),\\ \frac{1}{\sigma^2}\|P_Z^\perp(X)\|^2&\sim \chi_{n-p}^2. \end{aligned}\]PZ(X) is independent of PZ⊥(X),1σ2∥PZ⊥(X)∥2∼χn−p2.\begin{aligned} P_Z(X)&\text{ is independent of } P_Z^{\perp}(X),\\ \frac{1}{\sigma^2}\|P_Z^\perp(X)\|^2&\sim \chi_{n-p}^2. \end{aligned}

 ◻

There is a geometric intuition behind this proof: the best linear fit is the orthogonal projection of the observation vector \(X\)XX onto the subspace spanned by the columns of \(Z\)ZZ. See the earlier projection picture and orthonormal-coordinate explanation.

Fisher information.

We consider the parametric assumption \(\epsilon\sim N(0,\sigma^2I_n)\)ϵ∼N(0,σ2In)\epsilon\sim N(0,\sigma^2I_n) and the unknown parameters are \(\theta = (\beta, \sigma^2)\)θ=(β,σ2)\theta = (\beta, \sigma^2). \[\begin{aligned} I(\theta) = \frac{1}{\sigma^2} \begin{pmatrix} Z^\top Z & 0\\ 0 & \frac{n}{2\sigma^2} \end{pmatrix}. \end{aligned}\]I(θ)=1σ2(Z⊤Z00n2σ2).\begin{aligned} I(\theta) = \frac{1}{\sigma^2} \begin{pmatrix} Z^\top Z & 0\\ 0 & \frac{n}{2\sigma^2} \end{pmatrix}. \end{aligned}

  • Rank and identifiability. If \(Z\)ZZ is not of full rank, \(I(\theta)\)I(θ)I(\theta) may not be invertible. Indeed, in the null space Ker(\(Z\)ZZ), two distributions \(P_\theta\)PθP_\theta, \(P_{\theta'}\)Pθ′P_{\theta'} are not distinguishable.

  • Attaining the bound. It is clear that LSE is the MLE for estimating \(\beta\)β\beta under our assumption, and it attains the Cramér–Rao lower bound; the corresponding question for \(\sigma^2\)σ2\sigma^2 is the linked exercise below.

Regression and information.

For fixed full-column-rank design \(Z\)ZZ with Gaussian noise, \(I_{\beta\beta}=Z^\top Z/\sigma^2\)Iββ=Z⊤Z/σ2I_{\beta\beta}=Z^\top Z/\sigma^2. Least squares attains its inverse covariance, while unbiased residual variance uses the remaining \(n-p\)n−pn-p dimensions.

High priorityPractice: Does residual variance attain its bound?

See Exercise 4 in Section 8 for the full statement and complete solution.

6. Further reading

Further reading

The information perspective of Fisher information can be found in many sources, e.g., Section 2.6.2 of [1]. Fisher information is a central quantity in classical mathematical statistics, and in STAT 710 you will revisit this concept, especially when studying MLE.

Least squares estimator.

The discovery of least squares has an interesting history. A nice reference is the Wikipedia page.

Least squares estimators can be derived using either MLE or the method of moments, both of which will be covered in STAT 709 and STAT 710. The practical side of least squares is covered in STAT 849 and 850. Some key related notions:

  • collinearity,

  • basis expansion,

  • least absolute deviations.

For solving nonlinear least squares, a classical approach is iteratively reweighted least squares.

In the modern context where dimension grows proportionally with sample size, least squares estimator is inconsistent; in over-parametrized settings, least squares estimator is not uniquely defined, but min-norm solution is usually expected and enjoys good statistical properties.

Optimality of LSE under weaker conditions

We make the following assumptions: \(\mathbb{E}[\epsilon] = 0\)𝔼[ϵ]=0\mathbb{E}[\epsilon] = 0, \(\Var(\epsilon) = \sigma^2 I_n\)Var(ϵ)=σ2In\mathrm{Var}(\epsilon) = \sigma^2 I_n where \(\sigma^2 > 0\)σ2>0\sigma^2 > 0 is unknown.

Theorem 4Gauss–Markov theorem

Under the above assumptions, if \(Z\)ZZ has full column rank and \(n>p\)n>pn>p, then \(\ell^\top\hat{\beta}\)ℓ⊤β̂\ell^\top\hat{\beta} is the best linear (linear in \(X\)XX) unbiased estimator (BLUE) of \(\ell^\top \beta\)ℓ⊤β\ell^\top \beta.

We make weaker assumptions, and accordingly the optimality is stated in a smaller space of candidate estimators.

Key ideas

  • Fisher information measures local likelihood sensitivity and depends on parametrization.

  • The Cramér–Rao bound requires regularity and can fail to be attained.

  • Complete sufficient statistics and information bounds give different routes to optimality.

  • Least-squares projection explains fitted values and residuals; Gaussianity additionally yields independence.

Detailed reference

Detailed reference

High priorityWhat Information means

Fisher information is nonnegative, adds across independent observations under the stated regularity conditions, and depends on the parametrization. Changing parameter coordinates is different from an invertible recoding of the observations. Return to the earlier explanation.

High priorityThe unbiased variance bound

The Cramér–Rao inequality compares the derivative of the target with information. Equality requires a centered estimator to be a linear transformation of the score, so the bound need not be attainable. Return to the earlier explanation.

High priorityRegression and information

For fixed full-column-rank design \(Z\)ZZ with Gaussian noise, \(I_{\beta\beta}=Z^\top Z/\sigma^2\)Iββ=Z⊤Z/σ2I_{\beta\beta}=Z^\top Z/\sigma^2. Least squares attains its inverse covariance, while unbiased residual variance uses the remaining \(n-p\)n−pn-p dimensions. Return to the earlier explanation.

Looking ahead

Cramér–Rao bounds the variance of unbiased estimators. Lecture 14 asks how likely a large deviation is at a fixed sample size, using exponential tail bounds rather than only a variance comparison. Continue to Lecture 14.

You have finished Part IV—check yourself. Preview Part V.

8. Exercises and complete solutions8 exercises · complete solutions

High priorityInformation in Bernoulli observations
Exercise 1Information in Bernoulli observations#

For \(n\)nn independent Bernoulli\((p)\)(p)(p) observations, \(0<p<1\)0<p<10<p<1, compute the score and information for \(p\)pp.

Reveal solution

The score is \(\sum_i(X_i-p)/[p(1-p)]\)∑i(Xi−p)/[p(1−p)]\sum_i(X_i-p)/[p(1-p)]. It has mean zero and variance \(np(1-p)/[p^2(1-p)^2]=n/[p(1-p)]\)np(1−p)/[p2(1−p)2]=n/[p(1−p)]np(1-p)/[p^2(1-p)^2]=n/[p(1-p)]. Independence yields the factor \(n\)nn. The endpoints are excluded because the regular interior model and its score formula change there.

High priorityA bound attained by the Poisson mean
Exercise 2A bound attained by the Poisson mean#

For i.i.d. Poisson\((\theta)\)(θ)(\theta) data, show that the sample mean attains the Cramér–Rao bound for \(\theta>0\)θ>0\theta>0.

Reveal solution

The score is \(\sum_i(X_i/\theta-1)\)∑i(Xi/θ−1)\sum_i(X_i/\theta-1), with information \(n/\theta\)n/θn/\theta. Since \(\bar X\)X‾\bar X is unbiased and has variance \(\theta/n\)θ/n\theta/n, it attains \(1/I(\theta)\)1/I(θ)1/I(\theta) and is UMVUE among unbiased square-integrable estimators.

Mid priorityAn exponential Normal target
Exercise 3An exponential Normal target#

For i.i.d. \(N(\mu,1)\)N(μ,1)N(\mu,1) observations, consider \(H=\exp(\bar X-1/(2n))\)H=exp(X‾−1/(2n))H=\exp(\bar X-1/(2n)). Verify unbiasedness for \(e^\mu\)eμe^\mu, compute its variance, and compare with the Cramér–Rao bound.

Reveal solution

The Normal MGF gives \(\E H=e^{\mu}\)𝔼H=eμ\mathbb{E}H=e^{\mu} and \(\E H^2=e^{2\mu+1/n}\)𝔼H2=e2μ+1/n\mathbb{E}H^2=e^{2\mu+1/n}. Thus \(\Var H=e^{2\mu}(e^{1/n}-1)\)VarH=e2μ(e1/n−1)\mathrm{Var}H=e^{2\mu}(e^{1/n}-1). Information is \(n\)nn and the target derivative is \(e^\mu\)eμe^\mu, giving bound \(e^{2\mu}/n\)e2μ/ne^{2\mu}/n. Since \(e^x>1+x\)ex>1+xe^x>1+x for \(x>0\)x>0x>0, the bound is strict at every finite \(n\)nn.

High priorityDoes residual variance attain its bound?
Exercise 4Does residual variance attain its bound?#

In full-rank Gaussian regression with \(n>p\ge1\)n>p≥1n>p\ge1, compare the variance of \(\hat\sigma^2=\|X-Z\hat\beta\|^2/(n-p)\)σ̂2=∥X−Zβ̂∥2/(n−p)\hat\sigma^2=\|X-Z\hat\beta\|^2/(n-p) with the information bound for \(\sigma^2\)σ2\sigma^2.

Reveal solution

The chi-square law gives variance \(2\sigma^4/(n-p)\)2σ4/(n−p)2\sigma^4/(n-p). The information matrix is block diagonal, with variance-parameter information \(n/(2\sigma^4)\)n/(2σ4)n/(2\sigma^4), so its bound is \(2\sigma^4/n\)2σ4/n2\sigma^4/n. The former is strictly larger for \(p>0\)p>0p>0. Being UMVUE does not imply attaining the Cramér–Rao bound.

Mid priorityWhy Uniform support breaks the regular bound
Exercise 5Why Uniform support breaks the regular bound#

For one Uniform\((0,\theta)\)(0,θ)(0,\theta) observation, explain why differentiating the log density on its interior does not justify the regular Cramér–Rao bound.

Reveal solution

For \(0<x<\theta\)0<x<θ0<x<\theta, the formal score is \(-1/\theta\)−1/θ-1/\theta, whose mean is not zero. The derivative of the integral \(\int_0^\theta\theta^{-1}dx=1\)∫0θθ−1dx=1\int_0^\theta\theta^{-1}dx=1 includes a moving-boundary contribution. Interchanging the derivative with the integral over the interior alone misses that term. Therefore the regular score identities and the stated CR theorem do not apply.

High priorityThe vector information bound
Exercise 6The vector information bound#

Prove the vector Cramér–Rao bound from \(\E s=0\)𝔼s=0\mathbb{E}s=0, \(\E ss^\top=I\)𝔼ss⊤=I\mathbb{E}ss^\top=I and \(\E[(T-g)s^\top]=Dg\)𝔼[(T−g)s⊤]=Dg\mathbb{E}[(T-g)s^\top]=Dg.

Reveal solution

Let \(R=T-g-Dg\,I^{-1}s\)R=T−g−DgI−1sR=T-g-Dg\,I^{-1}s. Expanding its covariance and using the three identities gives \(\mathrm{Cov}(R)=\mathrm{Cov}(T)-Dg\,I^{-1}Dg^\top\)Cov(R)=Cov(T)−DgI−1Dg⊤\mathrm{Cov}(R)=\mathrm{Cov}(T)-Dg\,I^{-1}Dg^\top. Every covariance matrix is positive semidefinite, proving the claim. Equality holds exactly when \(R=0\)R=0R=0 almost surely.

High priorityUnbiasedness of the regression estimators
Exercise 7Unbiasedness of the regression estimators#

Prove \(\E\hat\beta=\beta\)𝔼β̂=β\mathbb{E}\hat\beta=\beta and \(\E\|X-Z\hat\beta\|^2=(n-p)\sigma^2\)𝔼∥X−Zβ̂∥2=(n−p)σ2\mathbb{E}\|X-Z\hat\beta\|^2=(n-p)\sigma^2 under the stated fixed-design assumptions.

Reveal solution

The formula gives \(\hat\beta=\beta+(Z^\top Z)^{-1}Z^\top\epsilon\)β̂=β+(Z⊤Z)−1Z⊤ϵ\hat\beta=\beta+(Z^\top Z)^{-1}Z^\top\epsilon, with mean \(\beta\)β\beta. Let \(P=Z(Z^\top Z)^{-1}Z^\top\)P=Z(Z⊤Z)−1Z⊤P=Z(Z^\top Z)^{-1}Z^\top. The residual is \((I-P)\epsilon\)(I−P)ϵ(I-P)\epsilon, so its expected squared norm is \(\tr[(I-P)\sigma^2I]=\sigma^2(n-p)\)tr[(I−P)σ2I]=σ2(n−p)\operatorname{tr}[(I-P)\sigma^2I]=\sigma^2(n-p), since \(P\)PP is a rank-\(p\)pp orthogonal projector. This expectation argument needs only the first two noise moments.

Low priority — not examined: Gauss–Markov by an orthogonal decomposition
Exercise 8Gauss–Markov by an orthogonal decomposition#

Prove the BLUE claim for \(a^\top X\)a⊤Xa^\top X estimating \(\ell^\top\beta\)ℓ⊤β\ell^\top\beta when \(Z^\top a=\ell\)Z⊤a=ℓZ^\top a=\ell.

Reveal solution

The least-squares coefficient is \(a_0=Z(Z^\top Z)^{-1}\ell\)a0=Z(Z⊤Z)−1ℓa_0=Z(Z^\top Z)^{-1}\ell. Any unbiased coefficient has \(a=a_0+d\)a=a0+da=a_0+d with \(Z^\top d=0\)Z⊤d=0Z^\top d=0. Since \(a_0\)a0a_0 belongs to the column space of \(Z\)ZZ, \(a_0^\top d=0\)a0⊤d=0a_0^\top d=0. Therefore \(\Var(a^\top X)=\sigma^2(\|a_0\|^2+\|d\|^2)\ge\sigma^2\|a_0\|^2\)Var(a⊤X)=σ2(∥a0∥2+∥d∥2)≥σ2∥a0∥2\mathrm{Var}(a^\top X)=\sigma^2(\|a_0\|^2+\|d\|^2)\ge\sigma^2\|a_0\|^2.

References

[1]
Y. Polyanskiy and Y. Wu. Information theory: From coding to learning. Cambridge University Press. 2024.

Terminology notes


  1. Here isotropic means mean zero and covariance equal to the identity. In particular, every unit-direction projection has variance one.↩︎

What changed

October 19, 2026: Corrected notation, wording and cross-references after the course-wide errata review; refreshed the linked HTML and PDF editions.

October 14, 2026. Added issue-reporting links to the webpage and PDF. The mathematics and priority assignments are unchanged in this update.

October 14, 2026 (figure follow-up). Restored the original Fisher-information sketches and the credited least-squares projection figure, with its notation key.

Comments

Discuss an idea or ask a public question. Include a section or exercise number when relevant. For errors in the notes or website, Report an issue.

Public comments use Disqus. Enable JavaScript to load them.

Email the instructor for a private question or if comments are unavailable.