Statistical and Adaptive Signal Processing
/25 min read

Classical Parameter Estimation

The classical branch in full, with MVUE as the goal, the Cramér–Rao bound as the yardstick, maximum likelihood as the workhorse, and least squares when a signal model is all you have.

  • estimation-theory
  • crlb
  • maximum-likelihood
  • least-squares

In the taxonomy note we answered one question, does a prior exist?, and took the branch where it doesn't. Here θRM\boldsymbol{\theta} \in \mathbb{R}^{M} is a fixed, unknown, deterministic vector, and everything we know about it must be squeezed out of NN noisy measurements xRN\mathbf{x} \in \mathbb{R}^{N}. This note walks the whole branch: what "good" even means for an estimator, the bound that no unbiased estimator can beat, the two systematic methods that exist when no perfect estimator does (maximum likelihood and least squares), and how all of them relate.

Notation

Estimation theory is a subject where a single misread symbol derails a whole derivation. Hatted versus unhatted, upper versus lower case, noise versus residual: these distinctions carry real weight. The tables below are the contract for the rest of the note, so come back to them whenever a formula stops parsing.

Data and model

SymbolMeaning
θRM\boldsymbol{\theta} \in \mathbb{R}^{M}the unknown parameter, deterministic here and never random
MM, NN, KKnumber of parameters, of measurements, of transformed parameters
X\mathbf{X} vs. x\mathbf{x}the random measurement vector versus one realization of it
x[n]x[n]sample nn of the record; brackets throughout, never x(n)x(n)
s(θ,n)s(\boldsymbol{\theta}, n)the deterministic signal model, meaning the noise-free part of x[n]x[n]
z[n]z[n], z\mathbf{z}the noise: unknown and unknowable, never computed
ARN×M\mathbf{A} \in \mathbb{R}^{N \times M}observation matrix of the linear model x=Aθ+z\mathbf{x} = \mathbf{A}\boldsymbol{\theta} + \mathbf{z}, full column rank
a[n]\mathbf{a}[n], ai\mathbf{a}_irow nn of A\mathbf{A} (the regressors), column ii of A\mathbf{A}
f(x;θ)f(\mathbf{x}; \boldsymbol{\theta})pdf of the data indexed by θ\boldsymbol{\theta}; the semicolon marks it classical

Estimators and their error

SymbolMeaning
g()g(\cdot)the estimator rule, whose design is the whole problem
Θ^=g(X)\hat{\boldsymbol{\Theta}} = g(\mathbf{X})the estimator: a random vector, because the data is
θ^=g(x)\hat{\boldsymbol{\theta}} = g(\mathbf{x})the estimate: the value it produces for one record
b\mathbf{b}bias, E[Θ^]θ\mathbb{E}[\hat{\boldsymbol{\Theta}}] - \boldsymbol{\theta}, the systematic error
Cθ^\mathbf{C}_{\hat{\theta}}covariance of the estimator, the random error
Cz\mathbf{C}_zcovariance of the noise, a different object and easily confused
MSE\mathrm{MSE}total error, tr(Cθ^)+b2\operatorname{tr}(\mathbf{C}_{\hat{\theta}}) + \lVert\mathbf{b}\rVert^2
subscripts ML_{\text{ML}}, LS_{\text{LS}}, …which method produced the estimate

Bounds, and the least-squares picture

SymbolMeaning
J(θ)J(\theta), J(θ)\mathbf{J}(\boldsymbol{\theta})Fisher information for the whole record: scalar, then M×MM \times M matrix
J1\mathbf{J}_1, JN=NJ1\mathbf{J}_N = N\mathbf{J}_1per-measurement Fisher matrix, and the NN-sample total (asymptotics only)
AB\mathbf{A} \succeq \mathbf{B}AB\mathbf{A} - \mathbf{B} is non-negative definite, the matrix form of "\ge"
h(θ)=γ\mathbf{h}(\boldsymbol{\theta}) = \boldsymbol{\gamma}reparameterization, not to be confused with the signal model s()s(\cdot)
e[n;θ]e[n; \boldsymbol{\theta}]residual at a candidate θ\boldsymbol{\theta}, computable unlike the noise
E(θ)\mathcal{E}(\boldsymbol{\theta})the least-squares cost, summed over the record
=!\overset{!}{=}"set equal to", a condition being imposed rather than a fact

Two conventions are worth stating outright. Hats mean estimated, never "true": θ^\hat{\boldsymbol{\theta}} is our guess and θ\boldsymbol{\theta} is the thing itself. And bold is a vector or matrix, plain italic a scalar, so J(θ)J(\theta) and J(θ)\mathbf{J}(\boldsymbol{\theta}) are the scalar and matrix versions of one idea rather than two different quantities.

The setup

Four ingredients feed every estimation problem, and forgetting one of them is how estimators fail in practice. The sensor delivers the measurement x\mathbf{x}. The physical laws supply a signal model linking data to parameter. Experience contributes whatever a-priori information you can defend. And mathematics provides the concepts and criteria that turn the first three into an algorithm:

The signal model deserves the closest look, because it decides which estimators are even available:

  • A functional signal model relates the data to the parameter deterministically plus an error term. An example is x[n]=d+z[n]x[n] = d + z[n], a constant level dd observed through additive noise.
  • A probabilistic signal model adds distributional information about that error, such as z[n]N(0,σ2)z[n] \sim \mathcal{N}(0, \sigma^2), so that x[n]N(d,σ2)x[n] \sim \mathcal{N}(d, \sigma^2).

Least squares will run on the functional model alone. The Cramér–Rao bound and maximum likelihood need the probabilistic one. That single distinction generates the entire structure of this note.

Recall the objects from the previous note. The estimate θ^=g(x)\hat{\boldsymbol{\theta}} = g(\mathbf{x}) is a value, an MM-vector, computed from one data record; the estimator Θ^=g(X)\hat{\boldsymbol{\Theta}} = g(\mathbf{X}) is a random vector, because the data is. Designing g()g(\cdot) is parameter estimation. (Convention: we keep the uppercase Θ^\hat{\boldsymbol{\Theta}} where the randomness is the point, and allow θ^\hat{\boldsymbol{\theta}} elsewhere, including inside expectations, where the meaning is unambiguous.) Estimation only makes sense at all if x\mathbf{x} actually depends on θ\boldsymbol{\theta}, and the stronger that dependency, the more accurate an estimator can be. That intuition will become a precise number: Fisher information.

What makes an estimator good

The ideal accuracy criterion would be the full pdf f(θ^)f(\hat{\boldsymbol{\theta}}) of the estimator, a complete characterization. In practice it is rarely available, so we work with the first two moments, which carry the most important information:

b=E[Θ^]θbias (systematic error), M×1Cθ^=E[(Θ^E[Θ^])(Θ^E[Θ^])]covariance (random error), M×M\underbrace{\mathbf{b} = \mathbb{E}\big[\hat{\boldsymbol{\Theta}}\big] - \boldsymbol{\theta}}_{\text{bias (systematic error), } M \times 1} \qquad \underbrace{\mathbf{C}_{\hat{\theta}} = \mathbb{E}\Big[\big(\hat{\boldsymbol{\Theta}} - \mathbb{E}[\hat{\boldsymbol{\Theta}}]\big)\big(\hat{\boldsymbol{\Theta}} - \mathbb{E}[\hat{\boldsymbol{\Theta}}]\big)^{\top}\Big]}_{\text{covariance (random error), } M \times M}

The scalar scorecard that combines them is the mean squared error, and it decomposes exactly:

MSE=E[Θ^θ2]=tr(Cθ^)+b2,\mathrm{MSE} = \mathbb{E}\Big[\big\lVert \hat{\boldsymbol{\Theta}} - \boldsymbol{\theta} \big\rVert^2\Big] = \operatorname{tr}\big(\mathbf{C}_{\hat{\theta}}\big) + \lVert \mathbf{b} \rVert^2 ,

with both terms non-negative. For M=1M = 1 this is the familiar MSE=var(Θ^)+b2\mathrm{MSE} = \operatorname{var}(\hat{\Theta}) + b^2. (The trace tr(A)=iaii\operatorname{tr}(\mathbf{A}) = \sum_i a_{ii} is the sum of the diagonal, which here means the sum of the per-component variances.)

So why not simply minimize MSE and be done? Because the minimizer

θ^MMSE=argming  E[g(X)θ2]\hat{\boldsymbol{\theta}}_{\text{MMSE}} = \arg\min_{g} \; \mathbb{E}\Big[\big\lVert g(\mathbf{X}) - \boldsymbol{\theta} \big\rVert^2\Big]

generally depends on the unknown θ\boldsymbol{\theta} itself, the very thing we are trying to find. The optimum is not realizable, since bias and variance cannot be driven down simultaneously by one free design. (A namespace warning: an "MMSE estimator" is a realizable object in the Bayesian world of the next note, where the expectation also averages over θ\boldsymbol{\theta}. Here, with θ\boldsymbol{\theta} fixed, the would-be minimizer is out of reach.) Classical estimation resolves the dilemma by constraint:

Demand b=0\mathbf{b} = \mathbf{0}, considering only unbiased estimators, and among those minimize the variance at every parameter value simultaneously. The winner, when it exists, is the (uniformly) minimum variance unbiased estimator (MVUE): an unbiased θ^MVUE\hat{\boldsymbol{\theta}}_{\text{MVUE}} with

trCθ^MVUE(θ)    trCθ~(θ)for every unbiased θ~ and every θ.\operatorname{tr}\,\mathbf{C}_{\hat{\theta}_{\text{MVUE}}}(\boldsymbol{\theta}) \;\le\; \operatorname{tr}\,\mathbf{C}_{\tilde{\theta}}(\boldsymbol{\theta}) \qquad \text{for every unbiased } \tilde{\boldsymbol{\theta}} \text{ and every } \boldsymbol{\theta} .

The "every θ\boldsymbol{\theta}" matters: the covariance depends on where the true parameter sits, so the same estimator has to win everywhere.

The catch is twofold, and it is the central inconvenience of the whole field. First, an MVUE need not exist. One estimator can have the smallest variance at some θ\boldsymbol{\theta} and lose at others, with no uniform winner at all, which is exactly Kay's Example 2.3. Second, even when it exists, there is no recipe that always finds it. A systematic route does exist, namely conditioning any unbiased estimator on a complete sufficient statistic (the Rao–Blackwell–Lehmann–Scheffé construction of Kay's chapter 5), but it works only when such a statistic can be found, and we deliberately skip that machinery here. What we use instead are two tools: the Cramér–Rao bound, which certifies an estimator as unbeatable when you find one, and maximum likelihood, which manufactures a very good estimator when you don't.

Consistency: what happens as N grows

For finite NN we chase the MVUE. Asymptotically, the goal is consistency, standardly defined as convergence in probability, Θ^Nθ\hat{\boldsymbol{\Theta}}_N \to \boldsymbol{\theta}; in practice one verifies the stronger, more convenient MSE condition. Convergence of a random quantity comes in several modes:

  1. In the MSE sense: MSEN0\mathrm{MSE}_N \to 0, which forces both bN0\mathbf{b}_N \to \mathbf{0} and tr(Cθ^N)0\operatorname{tr}(\mathbf{C}_{\hat{\theta}_N}) \to 0. This is the workhorse check, and it implies the next two.
  2. In probability: P(Θ^Nθ>ϵ)0P\big(\lVert\hat{\boldsymbol{\Theta}}_N - \boldsymbol{\theta}\rVert > \epsilon\big) \to 0 for every ϵ>0\epsilon > 0, the definition of consistency.
  3. In distribution: the distribution of the estimator concentrates on the true value. The mental picture is the pdf collapsing toward δ(θ^θ)\delta(\hat{\boldsymbol{\theta}} - \boldsymbol{\theta}), which is good intuition but intuition only, since the formal statement is about CDFs and the estimator need not even have a density.

One honesty note for careful readers: because the limit here is a constant, convergence in probability and in distribution are actually equivalent. The strict hierarchy between modes 2 and 3 only bites when the limit is random. Park these rungs for now, since their payoff comes with the ML asymptotics below.

N = 10N = 100N = 1000θ (true value)estimate

A consistent estimator: the sampling distribution tightens around the true value as N grows, concentrating all its probability there in the limit.

The Cramér–Rao lower bound

To hunt the MVUE we need a target to shoot at: a floor under the variance of every unbiased estimator. Any such floor is a lower bound, and the one that is tight and computable is the prize. The Cramér–Rao bound (CRB, or CRLB) is not always the tightest bound that exists, but it is by far the easiest to calculate, which is why it owns the field. It assumes the pdf f(x;θ)f(\mathbf{x}; \theta) is known, and that expression is read two ways. With θ\theta fixed and x\mathbf{x} variable, it is the pdf of the data; with x\mathbf{x} fixed and θ\theta variable, it is the likelihood of the parameter. Nearly always one works with the log-likelihood lnf(x;θ)\ln f(\mathbf{x}; \theta).

The scalar bound

Theorem (CRLB, scalar). Let θR\theta \in \mathbb{R} be deterministic and let XRN\mathbf{X} \in \mathbb{R}^{N} have pdf f(x;θ)f(\mathbf{x}; \theta) satisfying the regularity conditions: (c1) the needed derivatives and moments exist, (c2) the order of /θ\partial/\partial\theta and dx\int \cdots d\mathbf{x} can be exchanged, (c3) J(θ)0J(\theta) \neq 0. Then for every unbiased estimator Θ^\hat{\Theta}:

var(Θ^)    1J(θ),J(θ)=E ⁣[(lnf(X;θ)θ) ⁣2]=E ⁣[2lnf(X;θ)θ2]    0.\operatorname{var}\big(\hat{\Theta}\big) \;\ge\; \frac{1}{J(\theta)}, \qquad J(\theta) = \mathbb{E}\!\left[\left(\frac{\partial \ln f(\mathbf{X};\theta)}{\partial \theta}\right)^{\!2}\right] = -\,\mathbb{E}\!\left[\frac{\partial^2 \ln f(\mathbf{X};\theta)}{\partial \theta^2}\right] \;\ge\; 0 .

Condition (c2) hides the assumption that bites most often in practice: the support of ff must not depend on θ\theta. For xU[0,θ]x \sim \mathcal{U}[0, \theta] the interchange fails and the whole CRB machinery is simply unavailable, leaving no bound, no factorization, nothing.

J(θ)J(\theta) is the Fisher information, the expected curvature of the log-likelihood around the true parameter. It quantifies the intuition from the setup section, namely how much relevance the data X\mathbf{X} carries about θ\theta. Sharp curvature means the data speaks loudly, JJ is large, and the floor 1/J1/J sits low. An estimator that attains the bound, var(Θ^)=1/J(θ)\operatorname{var}(\hat{\Theta}) = 1/J(\theta), is called efficient.

The factorization that hands you the MVUE

The theorem has a second half, and it is the practically important one. An unbiased efficient estimator exists if and only if the score can be factored as

lnf(x;θ)θ  =  J(θ)[g(x)θ]\frac{\partial \ln f(\mathbf{x}; \theta)}{\partial \theta} \;=\; J(\theta)\,\big[g(\mathbf{x}) - \theta\big]

for some functions g(x)g(\mathbf{x}) and J(θ)J(\theta). When it can, Θ^=g(X)\hat{\Theta} = g(\mathbf{X}) is the efficient estimator, with var(Θ^)=1/J(θ)\operatorname{var}(\hat{\Theta}) = 1/J(\theta). The factorization doesn't just certify the estimator; it names it.

How to use the theorem. Always try the factorization first. If it works, you walk away with the MVUE and its variance in one stroke. If it doesn't, fall back to the first half: you still get the CRB as a benchmark, but no estimator comes with it.

Worked example: DC level in white Gaussian noise

Take x[n]=A+w[n]x[n] = A + w[n] with w[n]N(0,σ2)w[n] \sim \mathcal{N}(0, \sigma^2) i.i.d. The log-likelihood is

lnf(x;A)=N2ln(2πσ2)12σ2n(x[n]A)2,\ln f(\mathbf{x}; A) = -\frac{N}{2}\ln\big(2\pi\sigma^2\big) - \frac{1}{2\sigma^2}\sum_{n}\big(x[n]-A\big)^2 ,

so

lnfA=1σ2n(x[n]A)=Nσ2J(A)[xˉg(x)A].\frac{\partial \ln f}{\partial A} = \frac{1}{\sigma^2}\sum_{n}\big(x[n]-A\big) = \underbrace{\frac{N}{\sigma^2}}_{J(A)}\Big[\underbrace{\bar{x}}_{g(\mathbf{x})} - A\Big].

The factorization succeeds, so the sample mean xˉ\bar{x} is the efficient estimator, the MVUE, with var=σ2/N\operatorname{var} = \sigma^2/N. This is the promise made in the taxonomy note, kept.

Reading the bound honestly

  • The CRB is useful for three things: a feasibility study (what accuracy is achievable at all?), assessment (how close is my estimator to the floor?), and hunting for an efficient estimator via the factorization.
  • There is no guarantee an efficient estimator exists, because the bound is often not tight and hence not achievable. Tighter and harder bounds do exist, among them Bhattacharyya, Barankin, and Chapman–Robbins; the CRB survives because it is computable.
  • Efficient \Rightarrow MVUE, but not conversely: an MVUE may exist whose variance sits strictly above the CRB.

The CRB is for unbiased estimators only

A biased estimator can have variance below the CRB, because the bound simply does not apply to it. Comparing a biased estimator's variance against the CRB is a category error, and a common one. (There is a biased-case generalization, var(Θ^)(1+b(θ))2/J(θ)\operatorname{var}(\hat{\Theta}) \ge \big(1 + b'(\theta)\big)^2 / J(\theta), of which the plain bound is the b0b \equiv 0 special case.)

The vector bound

For θ=[θ1,,θM]\boldsymbol{\theta} = [\theta_1, \ldots, \theta_M]^{\top} everything upgrades componentwise. The derivative becomes the gradient =[/θ1,,/θM]\nabla = [\partial/\partial\theta_1, \ldots, \partial/\partial\theta_M]^{\top}, the variance becomes the covariance matrix, and the Fisher information becomes the M×MM \times M Fisher matrix

J(θ)=E[(lnf)(lnf)]=E[lnf(X;θ)],\mathbf{J}(\boldsymbol{\theta}) = \mathbb{E}\Big[\big(\nabla \ln f\big)\big(\nabla \ln f\big)^{\top}\Big] = -\,\mathbb{E}\Big[\nabla \nabla^{\top} \ln f(\mathbf{X};\boldsymbol{\theta})\Big],

the negative expected Hessian. Under the analogous regularity conditions, with (c3) now requiring J\mathbf{J} to be invertible, every unbiased estimator obeys

Cθ^    J1(θ),\mathbf{C}_{\hat{\theta}} \;\succeq\; \mathbf{J}^{-1}(\boldsymbol{\theta}),

where \succeq means [Cθ^J1]\big[\mathbf{C}_{\hat{\theta}} - \mathbf{J}^{-1}\big] is non-negative definite. Three checks apply to a symmetric matrix. All eigenvalues 0\ge 0 is necessary and sufficient. All principal minors 0\ge 0 is also necessary and sufficient for semidefiniteness; note that Sylvester's criterion on the leading principal minors certifies strict positive definiteness (>0> 0) only, since diag(0,1)\operatorname{diag}(0, -1) has both leading minors 0\ge 0 and is still indefinite. All diagonal entries 0\ge 0 is necessary only, a quick sanity check and never a proof.

The efficient-estimator condition also upgrades verbatim: an unbiased efficient estimator exists iff

lnf(x;θ)=J(θ)[g(x)θ],and thenΘ^=g(X),Cθ^=J1(θ).\nabla \ln f(\mathbf{x}; \boldsymbol{\theta}) = \mathbf{J}(\boldsymbol{\theta})\,\big[\mathbf{g}(\mathbf{x}) - \boldsymbol{\theta}\big], \qquad \text{and then} \quad \hat{\boldsymbol{\Theta}} = \mathbf{g}(\mathbf{X}), \quad \mathbf{C}_{\hat{\theta}} = \mathbf{J}^{-1}(\boldsymbol{\theta}).

Theorem (linear model in Gaussian noise). If xN(Aθ,Cz)\mathbf{x} \sim \mathcal{N}(\mathbf{A}\boldsymbol{\theta}, \mathbf{C}_z) with A\mathbf{A} known and of full column rank (rankA=M\operatorname{rank}\mathbf{A} = M) and Cz\mathbf{C}_z known, then

θ^=(ACz1A)1ACz1x\hat{\boldsymbol{\theta}} = \big(\mathbf{A}^{\top}\mathbf{C}_z^{-1}\mathbf{A}\big)^{-1}\mathbf{A}^{\top}\mathbf{C}_z^{-1}\mathbf{x}

is efficient, the MVUE, with Cθ^=J1=(ACz1A)1\mathbf{C}_{\hat{\theta}} = \mathbf{J}^{-1} = \big(\mathbf{A}^{\top}\mathbf{C}_z^{-1}\mathbf{A}\big)^{-1}. This is the workhorse theorem for every linear signal model in Gaussian noise. Two footnotes are worth attaching. The Gaussian-linear condition is sufficient, not necessary, so efficient estimators can exist outside it. And if the noise is additive white Gaussian, Cz=σ2I\mathbf{C}_z = \sigma^2\mathbf{I}, the formula collapses to the least-squares estimator, making LS efficient. Hold that thought for the final section.

A recipe for the CRB

  1. Determine the pdf, for example xN(Aθ,Cz)\mathbf{x} \sim \mathcal{N}(\mathbf{A}\boldsymbol{\theta}, \mathbf{C}_z).
  2. Write down the likelihood f(x;θ)f(\mathbf{x}; \boldsymbol{\theta}).
  3. Take the log: lnf(x;θ)\ln f(\mathbf{x}; \boldsymbol{\theta}).
  4. Differentiate with respect to θ\boldsymbol{\theta}.
  5. Two roads open here. (a) Rearrange into J(θ)[g(x)θ]\mathbf{J}(\boldsymbol{\theta})[\mathbf{g}(\mathbf{x}) - \boldsymbol{\theta}]; if it works, g\mathbf{g} is your efficient estimator and you are done. (b) Differentiate once more, take E[]-\mathbb{E}[\cdot] to get J\mathbf{J}, and invert for the CRB. Then try (a) once more, because with J(θ)\mathbf{J}(\boldsymbol{\theta}) in hand the pattern J(θ)[g(x)θ]\mathbf{J}(\boldsymbol{\theta})[\mathbf{g}(\mathbf{x}) - \boldsymbol{\theta}] is far easier to spot in the score. If the factorization is genuinely impossible, say so explicitly: no efficient estimator exists.

Maximum likelihood

So no efficient estimator exists and the factorization failed. What now? Two systematic methods remain: maximum likelihood if you still trust a probabilistic model, and least squares if you don't. ML first.

θ^ML(x)=argmaxθ  f(x;θ)=argmaxθ  lnf(x;θ),\hat{\boldsymbol{\theta}}_{\text{ML}}(\mathbf{x}) = \arg\max_{\boldsymbol{\theta}} \; f(\mathbf{x}; \boldsymbol{\theta}) = \arg\max_{\boldsymbol{\theta}} \; \ln f(\mathbf{x}; \boldsymbol{\theta}),

the parameter under which the observed data is the most likely. The logarithm changes nothing, being monotone increasing, and it makes products of densities tractable.

f(x₁; θ)f(x₂; θ)ML estimate for x₁ML estimate for x₂θ

Each measurement reshapes the likelihood, and the ML estimate sits wherever it peaks: the θ that makes this particular record least surprising.

The necessary condition, not sufficient since it finds stationary points rather than guaranteed maxima, is a zero score:

lnf(x;θ)θ=θ^ML=!0,\nabla \ln f(\mathbf{x}; \boldsymbol{\theta}) \Big\rvert_{\boldsymbol{\theta} = \hat{\boldsymbol{\theta}}_{\text{ML}}} \overset{!}{=} \mathbf{0},

solved analytically when you are lucky and numerically when you are not. In practice the first-order condition is usually all you check.

If an efficient estimator exists, ML finds it

This is the theorem that makes ML the default second move, and its proof fits in three lines. Suppose an efficient g(x)\mathbf{g}(\mathbf{x}) exists, so lnf=J(θ)[g(x)θ]\nabla \ln f = \mathbf{J}(\boldsymbol{\theta})[\mathbf{g}(\mathbf{x}) - \boldsymbol{\theta}], and suppose the maximum is an interior stationary point, as the zero-score condition assumes. The ML estimate zeroes the score:

0=lnfθ^ML=J(θ^ML)[g(x)θ^ML]        θ^ML=g(x),\mathbf{0} = \nabla \ln f \Big\rvert_{\hat{\boldsymbol{\theta}}_{\text{ML}}} = \mathbf{J}\big(\hat{\boldsymbol{\theta}}_{\text{ML}}\big)\big[\mathbf{g}(\mathbf{x}) - \hat{\boldsymbol{\theta}}_{\text{ML}}\big] \;\;\Longrightarrow\;\; \hat{\boldsymbol{\theta}}_{\text{ML}} = \mathbf{g}(\mathbf{x}),

since J\mathbf{J} is invertible. ML automatically lands on the efficient estimator. For the linear Gaussian model, θ^ML=(ACz1A)1ACz1x=θ^MVUE\hat{\boldsymbol{\theta}}_{\text{ML}} = (\mathbf{A}^{\top}\mathbf{C}_z^{-1}\mathbf{A})^{-1}\mathbf{A}^{\top}\mathbf{C}_z^{-1}\mathbf{x} = \hat{\boldsymbol{\theta}}_{\text{MVUE}} exactly. And the worked example closes its own loop: zeroing the DC-level score Nσ2(xˉA)\frac{N}{\sigma^2}(\bar{x} - A) gives A^ML=xˉ\hat{A}_{\text{ML}} = \bar{x}, so the sample mean was your first ML computation all along. The hierarchy in one line: MVUE is what we want, efficiency is what is sometimes possible, ML is what we can always compute.

Finite N versus asymptopia

For finite NN, ML promises nothing. It is in general biased (b0\mathbf{b} \neq \mathbf{0}), not efficient (Cθ^J1\mathbf{C}_{\hat{\theta}} \neq \mathbf{J}^{-1}), and its distribution f(θ^)f(\hat{\boldsymbol{\theta}}) is whatever it is. Its power is asymptotic. For X1,,XN\mathbf{X}_1, \ldots, \mathbf{X}_N i.i.d., write J1\mathbf{J}_1 for the per-measurement Fisher matrix, so the whole record carries JN=NJ1\mathbf{J}_N = N\,\mathbf{J}_1. The estimator θ^ML,N=argmaxnlnf(xn;θ)\hat{\boldsymbol{\theta}}_{\text{ML},N} = \arg\max \sum_n \ln f(\mathbf{x}_n; \boldsymbol{\theta}) satisfies, under regularity conditions:

  1. Consistent, converging to θ\boldsymbol{\theta} in probability;
  2. Asymptotically unbiased: limNE[θ^ML,N]=θ\lim_{N\to\infty} \mathbb{E}\big[\hat{\boldsymbol{\theta}}_{\text{ML},N}\big] = \boldsymbol{\theta};
  3. Asymptotically Gaussian: the normalized error converges in distribution, N(θ^ML,Nθ)dN(0,J11)\sqrt{N}\big(\hat{\boldsymbol{\theta}}_{\text{ML},N} - \boldsymbol{\theta}\big) \xrightarrow{d} \mathcal{N}\big(\mathbf{0}, \mathbf{J}_1^{-1}\big), by a CLT argument on the score;
  4. Asymptotically efficient, equivalently NCθ^ML,NJ11N\,\mathbf{C}_{\hat{\theta}_{\text{ML},N}} \to \mathbf{J}_1^{-1}, so that for large NN the covariance behaves like JN1\mathbf{J}_N^{-1}, the CRB itself.

(Note the normalization. Both Cθ^,N\mathbf{C}_{\hat{\theta},N} and the bound JN1\mathbf{J}_N^{-1} tend to zero on their own, which says only that the estimator concentrates. Efficiency is a statement about their ratio, which is why the clean forms carry the N\sqrt{N} or the factor NN.)

Consistency says you converge; asymptotic efficiency says you converge as fast as the CRB allows, and says nothing about the journey in between. And "how large must NN be before the asymptotics kick in?" has no theoretical answer: you run Monte-Carlo simulations and look.

varianceNestimator 2 (not asympt. efficient)estimator 1 (asympt. efficient)CRBₙ

Both estimators are consistent, since their variance keeps falling, but only the first rides the falling bound itself.

Transforming parameters

Often the quantity you report is not θ\boldsymbol{\theta} but some function of it, γ=h(θ)RK\boldsymbol{\gamma} = \mathbf{h}(\boldsymbol{\theta}) \in \mathbb{R}^{K}, such as a power instead of an amplitude, or a frequency in Hz instead of an angular frequency in rad/s. The natural estimator is simply γ^=h(θ^)\hat{\boldsymbol{\gamma}} = \mathbf{h}(\hat{\boldsymbol{\theta}}), and for ML this is exact: the invariance property says the ML estimate of h(θ)\mathbf{h}(\boldsymbol{\theta}) is h(θ^ML)\mathbf{h}(\hat{\boldsymbol{\theta}}_{\text{ML}}). The bound transforms with the Jacobian:

CRBγ=hθJ1(θ)hθ.\mathrm{CRB}_{\gamma} = \frac{\partial \mathbf{h}}{\partial \boldsymbol{\theta}} \, \mathbf{J}^{-1}(\boldsymbol{\theta}) \, \frac{\partial \mathbf{h}}{\partial \boldsymbol{\theta}}^{\top} .

One honesty note: efficiency does not survive nonlinear transforms. If θ^\hat{\boldsymbol{\theta}} is efficient and h\mathbf{h} is nonlinear, h(θ^)\mathbf{h}(\hat{\boldsymbol{\theta}}) is generally only asymptotically efficient, since the property is preserved exactly only for affine h\mathbf{h}.

Least squares

Last leaf. CRB and ML both need the likelihood f(x;θ)f(\mathbf{x}; \boldsymbol{\theta}), and often you simply don't have it. What you may still have is the functional signal model from the setup section:

x[n]=s(θ,n)+z[n],1nN,x[n] = s(\boldsymbol{\theta}, n) + z[n], \qquad 1 \le n \le N,

with s()s(\cdot) deterministic and known except for θ\boldsymbol{\theta}, and no pdf claimed for anything. One care with the bookkeeping matters here. The noise z[n]z[n] is unknown and stays unknown. What we can actually compute, for any candidate parameter, is the residual

e[n;θ]=x[n]s(θ,n),e[n; \boldsymbol{\theta}] = x[n] - s(\boldsymbol{\theta}, n),

which coincides with the noise only at the true parameter. Least squares minimizes the energy of the residual:

E(θ)=n=1Ne2[n;θ]=n=1N[x[n]s(θ,n)]2,θ^LS=argminθ  E(θ).\mathcal{E}(\boldsymbol{\theta}) = \sum_{n=1}^{N} e^2[n; \boldsymbol{\theta}] = \sum_{n=1}^{N} \big[x[n] - s(\boldsymbol{\theta}, n)\big]^2 , \qquad \hat{\boldsymbol{\theta}}_{\text{LS}} = \arg\min_{\boldsymbol{\theta}} \; \mathcal{E}(\boldsymbol{\theta}) .

Why squares? We want positive and negative misfits penalized alike, so we pick an even function of the residual. (Asymmetric losses like the quantile or pinball cost exist, but they answer different questions.) Among even functions, e2e^2 is the mathematically gentlest choice, simpler than e\lvert e \rvert, e4e^4, or anything trigonometric, at the price of being more sensitive to outliers than the 1\ell_1 cost ne[n;θ]\sum_n \lvert e[n;\boldsymbol{\theta}] \rvert. Compared with ML, no likelihood is needed, which buys a far wider range of applications; but with no probabilistic model the statistical quality of θ^LS\hat{\boldsymbol{\theta}}_{\text{LS}} cannot be certified, since LS never sees the noise and only ever sees residuals, and evaluating it statistically still requires a pdf or at least moments of the noise. There is no free lunch; there is a cheaper one. (The other model-light classical device, for the record, is the method of moments, which matches sample moments to model moments and solves.)

Linear least squares

If the model is linear in the parameter, s(θ,n)=a[n]θs(\boldsymbol{\theta}, n) = \mathbf{a}^{\top}[n]\,\boldsymbol{\theta} with known regressors a[n]RM\mathbf{a}[n] \in \mathbb{R}^{M}, the NN equations stack into

x=Aθ+z,ARN×M,NM,rankA=M,\mathbf{x} = \mathbf{A}\boldsymbol{\theta} + \mathbf{z}, \qquad \mathbf{A} \in \mathbb{R}^{N \times M}, \quad N \ge M, \quad \operatorname{rank}\mathbf{A} = M,

and the signal part Aθ\mathbf{A}\boldsymbol{\theta} is by construction a linear combination of the columns of A\mathbf{A}, so it lives in the column space col(A)\operatorname{col}(\mathbf{A}). The full-column-rank condition is doing real work, since it is what makes AA\mathbf{A}^{\top}\mathbf{A} invertible and the minimum unique. (NMN \ge M alone is not enough: with dependent columns the minimizers form a whole affine set, and one picks the minimum-norm solution via the pseudoinverse, θ^=A+x\hat{\boldsymbol{\theta}} = \mathbf{A}^{+}\mathbf{x}.) The cost is a convex quadratic:

E(θ)=xAθ2=θAAθ2xAθ+x2.\mathcal{E}(\boldsymbol{\theta}) = \lVert \mathbf{x} - \mathbf{A}\boldsymbol{\theta} \rVert^2 = \boldsymbol{\theta}^{\top}\mathbf{A}^{\top}\mathbf{A}\,\boldsymbol{\theta} - 2\,\mathbf{x}^{\top}\mathbf{A}\,\boldsymbol{\theta} + \lVert \mathbf{x} \rVert^2 .

Setting the gradient to zero, E=2A(xAθ^)=!0\nabla\mathcal{E} = -2\mathbf{A}^{\top}(\mathbf{x} - \mathbf{A}\hat{\boldsymbol{\theta}}) \overset{!}{=} \mathbf{0}, gives the normal equations and the closed form:

AAθ^=Axθ^LS=(AA)1Ax.\mathbf{A}^{\top}\mathbf{A}\,\hat{\boldsymbol{\theta}} = \mathbf{A}^{\top}\mathbf{x} \quad\Longrightarrow\quad \hat{\boldsymbol{\theta}}_{\text{LS}} = \big(\mathbf{A}^{\top}\mathbf{A}\big)^{-1}\mathbf{A}^{\top}\mathbf{x} .

(Nonlinear ss? Then E\mathcal{E} loses its quadratic shape, closed forms vanish, and you are in grid-search or iterative-optimization territory, a nonlinear LS problem.)

Everything here used only the signal model, with no assumption about z\mathbf{z} whatsoever. That is the whole appeal.

What LS quietly earns back

Grant the noise some modest structure and the statistical guarantees return, one assumption at a time:

  1. If E[z]=0\mathbb{E}[\mathbf{z}] = \mathbf{0}: the LS estimator is unbiased, so there is no systematic error.
  2. If additionally the covariance Cz\mathbf{C}_z is known: plain LS has the sandwich covariance Cθ^=(AA)1ACzA(AA)1\mathbf{C}_{\hat{\theta}} = (\mathbf{A}^{\top}\mathbf{A})^{-1}\mathbf{A}^{\top}\,\mathbf{C}_z\,\mathbf{A}(\mathbf{A}^{\top}\mathbf{A})^{-1}.
  3. If you also use that Cz\mathbf{C}_z by weighting the cost with it: θ^WLS=argminθ  (xAθ)Cz1(xAθ)=(ACz1A)1ACz1x.\hat{\boldsymbol{\theta}}_{\text{WLS}} = \arg\min_{\boldsymbol{\theta}} \; \big(\mathbf{x} - \mathbf{A}\boldsymbol{\theta}\big)^{\top}\mathbf{C}_z^{-1}\big(\mathbf{x} - \mathbf{A}\boldsymbol{\theta}\big) = \big(\mathbf{A}^{\top}\mathbf{C}_z^{-1}\mathbf{A}\big)^{-1}\mathbf{A}^{\top}\mathbf{C}_z^{-1}\mathbf{x} . By the Gauss–Markov theorem in its general form, this weighted LS estimator is BLUE, the best linear unbiased estimator: CθˇCθ^WLS\mathbf{C}_{\check{\theta}} \succeq \mathbf{C}_{\hat{\theta}_{\text{WLS}}} for every other linear unbiased θˇ=Hx\check{\boldsymbol{\theta}} = \mathbf{H}\mathbf{x}. For white noise, Cz=σ2I\mathbf{C}_z = \sigma^2\mathbf{I}, the weighting is a no-op and plain LS is already BLUE, with Cθ^=σ2(AA)1\mathbf{C}_{\hat{\theta}} = \sigma^2(\mathbf{A}^{\top}\mathbf{A})^{-1}. BLUE is the MVUE idea restricted to the linear family: best among the linear, silent about the nonlinear.
  4. If finally z\mathbf{z} is Gaussian: weighted LS coincides with the estimator of the linear-Gaussian theorem, fully efficient and the MVUE outright.

Read bottom-up, this list is the story of the whole note, since each assumption you add buys a stronger optimality certificate for the same formula. (Two practical extensions live one chapter away. Sequential LS updates the estimate as samples arrive, and order-recursive LS updates it as the model grows; together they are the gateway to the adaptive filters later in this topic.)

How the estimators relate

In sentences, because each arrow is a different kind of statement:

  • Efficient \Rightarrow MVUE, always. Attaining the universal floor leaves no room to be beaten.
  • An MVUE need not be efficient. Its variance can sit strictly above the CRB, in which case the bound is simply not tight.
  • If an efficient estimator exists, ML coincides with it, granted an interior maximum, as the zero-score argument above requires.
  • ML is not efficient in general at finite NN. It earns efficiency only asymptotically, or exactly in the special case where it happens to be unbiased with Cθ^=J1\mathbf{C}_{\hat{\theta}} = \mathbf{J}^{-1}, which is to say where it is the efficient estimator.
  • BLUE is "MVUE among linear estimators." The two coincide when the MVUE happens to be linear, as in the linear-Gaussian model; otherwise a nonlinear estimator may beat every linear one.

One closing thought, and it is not the one-liner it is tempting to write. The fallback chain from MVUE to ML to LS is not driven by a single dilemma but by three different shortages. The MVUE lacks a universal construction, and sometimes lacks existence itself. ML is the constructive default whenever a pdf exists, though optimal only in the limit. LS is what remains when even the pdf is gone, trading guarantees for applicability. The bias–variance dilemma opened the note by killing the unconstrained MSE optimum; these three shortages are what keep the rest of the ladder in business. And everything so far treated θ\boldsymbol{\theta} as a constant. Give it a prior, and a completely different machinery opens up, which is the subject of the Bayesian note.

References

  1. S. M. Kay, Fundamentals of Statistical Signal Processing, Vol. I: Estimation Theory, Prentice Hall, 1993. See ch. 2 (MVU estimation), ch. 3 (CRLB), ch. 4 (linear model), ch. 5 (the sufficient-statistic route to the MVUE, skipped here), ch. 6 (BLUE), ch. 7 (MLE), ch. 8 (least squares). This note is, in essence, a compressed tour of those chapters.
  2. D. G. Manolakis, V. K. Ingle, S. M. Kogon, Statistical and Adaptive Signal Processing, Artech House, 2005. See ch. 3.6 on parameter estimation.
  3. C. R. Rao, "Information and the Accuracy Attainable in the Estimation of Statistical Parameters", Bull. Calcutta Math. Soc., 1945. The bound, at the source.
  4. R. A. Fisher, "On the Mathematical Foundations of Theoretical Statistics", Phil. Trans. R. Soc. A, 1922. Likelihood, information, and efficiency as concepts.
  5. H. L. Van Trees, Detection, Estimation, and Modulation Theory, Part I, Wiley. The deep classical treatment of estimation bounds.
  6. S. Boyd, L. Vandenberghe, Introduction to Applied Linear Algebra, Cambridge UP. Least squares and the normal equations done gently, with the geometric picture this note leaves out; free PDF.
  7. Wikipedia quick references: Cramér–Rao bound, Fisher information, Efficiency, Consistent estimator, Maximum likelihood, Method of moments, Linear least squares, Gauss–Markov theorem, Sylvester's criterion.