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 is a fixed, unknown, deterministic vector, and everything we know about it must be squeezed out of noisy measurements . 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
| Symbol | Meaning |
|---|---|
| the unknown parameter, deterministic here and never random | |
| , , | number of parameters, of measurements, of transformed parameters |
| vs. | the random measurement vector versus one realization of it |
| sample of the record; brackets throughout, never | |
| the deterministic signal model, meaning the noise-free part of | |
| , | the noise: unknown and unknowable, never computed |
| observation matrix of the linear model , full column rank | |
| , | row of (the regressors), column of |
| pdf of the data indexed by ; the semicolon marks it classical |
Estimators and their error
| Symbol | Meaning |
|---|---|
| the estimator rule, whose design is the whole problem | |
| the estimator: a random vector, because the data is | |
| the estimate: the value it produces for one record | |
| bias, , the systematic error | |
| covariance of the estimator, the random error | |
| covariance of the noise, a different object and easily confused | |
| total error, | |
| subscripts , , … | which method produced the estimate |
Bounds, and the least-squares picture
| Symbol | Meaning |
|---|---|
| , | Fisher information for the whole record: scalar, then matrix |
| , | per-measurement Fisher matrix, and the -sample total (asymptotics only) |
| is non-negative definite, the matrix form of "" | |
| reparameterization, not to be confused with the signal model | |
| residual at a candidate , computable unlike the noise | |
| the least-squares cost, summed over the record | |
| "set equal to", a condition being imposed rather than a fact |
Two conventions are worth stating outright. Hats mean estimated, never "true": is our guess and is the thing itself. And bold is a vector or matrix, plain italic a scalar, so and 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 . 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 , a constant level observed through additive noise.
- A probabilistic signal model adds distributional information about that error, such as , so that .
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 is a value, an -vector, computed from one data record; the estimator is a random vector, because the data is. Designing is parameter estimation. (Convention: we keep the uppercase where the randomness is the point, and allow elsewhere, including inside expectations, where the meaning is unambiguous.) Estimation only makes sense at all if actually depends on , 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 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:
The scalar scorecard that combines them is the mean squared error, and it decomposes exactly:
with both terms non-negative. For this is the familiar . (The trace 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
generally depends on the unknown 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 . Here, with fixed, the would-be minimizer is out of reach.) Classical estimation resolves the dilemma by constraint:
Demand , 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 with
The "every " 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 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 we chase the MVUE. Asymptotically, the goal is consistency, standardly defined as convergence in probability, ; in practice one verifies the stronger, more convenient MSE condition. Convergence of a random quantity comes in several modes:
- In the MSE sense: , which forces both and . This is the workhorse check, and it implies the next two.
- In probability: for every , the definition of consistency.
- In distribution: the distribution of the estimator concentrates on the true value. The mental picture is the pdf collapsing toward , 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.
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 is known, and that expression is read two ways. With fixed and variable, it is the pdf of the data; with fixed and variable, it is the likelihood of the parameter. Nearly always one works with the log-likelihood .
The scalar bound
Theorem (CRLB, scalar). Let be deterministic and let have pdf satisfying the regularity conditions: (c1) the needed derivatives and moments exist, (c2) the order of and can be exchanged, (c3) . Then for every unbiased estimator :
Condition (c2) hides the assumption that bites most often in practice: the support of must not depend on . For the interchange fails and the whole CRB machinery is simply unavailable, leaving no bound, no factorization, nothing.
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 carries about . Sharp curvature means the data speaks loudly, is large, and the floor sits low. An estimator that attains the bound, , 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
for some functions and . When it can, is the efficient estimator, with . 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 with i.i.d. The log-likelihood is
so
The factorization succeeds, so the sample mean is the efficient estimator, the MVUE, with . 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 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, , of which the plain bound is the special case.)
The vector bound
For everything upgrades componentwise. The derivative becomes the gradient , the variance becomes the covariance matrix, and the Fisher information becomes the Fisher matrix
the negative expected Hessian. Under the analogous regularity conditions, with (c3) now requiring to be invertible, every unbiased estimator obeys
where means is non-negative definite. Three checks apply to a symmetric matrix. All eigenvalues is necessary and sufficient. All principal minors is also necessary and sufficient for semidefiniteness; note that Sylvester's criterion on the leading principal minors certifies strict positive definiteness () only, since has both leading minors and is still indefinite. All diagonal entries is necessary only, a quick sanity check and never a proof.
The efficient-estimator condition also upgrades verbatim: an unbiased efficient estimator exists iff
Theorem (linear model in Gaussian noise). If with known and of full column rank () and known, then
is efficient, the MVUE, with . 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, , the formula collapses to the least-squares estimator, making LS efficient. Hold that thought for the final section.
A recipe for the CRB
- Determine the pdf, for example .
- Write down the likelihood .
- Take the log: .
- Differentiate with respect to .
- Two roads open here. (a) Rearrange into ; if it works, is your efficient estimator and you are done. (b) Differentiate once more, take to get , and invert for the CRB. Then try (a) once more, because with in hand the pattern 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.
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.
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:
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 exists, so , and suppose the maximum is an interior stationary point, as the zero-score condition assumes. The ML estimate zeroes the score:
since is invertible. ML automatically lands on the efficient estimator. For the linear Gaussian model, exactly. And the worked example closes its own loop: zeroing the DC-level score gives , 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 , ML promises nothing. It is in general biased (), not efficient (), and its distribution is whatever it is. Its power is asymptotic. For i.i.d., write for the per-measurement Fisher matrix, so the whole record carries . The estimator satisfies, under regularity conditions:
- Consistent, converging to in probability;
- Asymptotically unbiased: ;
- Asymptotically Gaussian: the normalized error converges in distribution, , by a CLT argument on the score;
- Asymptotically efficient, equivalently , so that for large the covariance behaves like , the CRB itself.
(Note the normalization. Both and the bound 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 or the factor .)
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 be before the asymptotics kick in?" has no theoretical answer: you run Monte-Carlo simulations and look.
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 but some function of it, , 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 , and for ML this is exact: the invariance property says the ML estimate of is . The bound transforms with the Jacobian:
One honesty note: efficiency does not survive nonlinear transforms. If is efficient and is nonlinear, is generally only asymptotically efficient, since the property is preserved exactly only for affine .
Least squares
Last leaf. CRB and ML both need the likelihood , and often you simply don't have it. What you may still have is the functional signal model from the setup section:
with deterministic and known except for , and no pdf claimed for anything. One care with the bookkeeping matters here. The noise is unknown and stays unknown. What we can actually compute, for any candidate parameter, is the residual
which coincides with the noise only at the true parameter. Least squares minimizes the energy of the residual:
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, is the mathematically gentlest choice, simpler than , , or anything trigonometric, at the price of being more sensitive to outliers than the cost . Compared with ML, no likelihood is needed, which buys a far wider range of applications; but with no probabilistic model the statistical quality of 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, with known regressors , the equations stack into
and the signal part is by construction a linear combination of the columns of , so it lives in the column space . The full-column-rank condition is doing real work, since it is what makes invertible and the minimum unique. ( alone is not enough: with dependent columns the minimizers form a whole affine set, and one picks the minimum-norm solution via the pseudoinverse, .) The cost is a convex quadratic:
Setting the gradient to zero, , gives the normal equations and the closed form:
(Nonlinear ? Then 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 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:
- If : the LS estimator is unbiased, so there is no systematic error.
- If additionally the covariance is known: plain LS has the sandwich covariance .
- If you also use that by weighting the cost with it: By the Gauss–Markov theorem in its general form, this weighted LS estimator is BLUE, the best linear unbiased estimator: for every other linear unbiased . For white noise, , the weighting is a no-op and plain LS is already BLUE, with . BLUE is the MVUE idea restricted to the linear family: best among the linear, silent about the nonlinear.
- If finally 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 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 . It earns efficiency only asymptotically, or exactly in the special case where it happens to be unbiased with , 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 as a constant. Give it a prior, and a completely different machinery opens up, which is the subject of the Bayesian note.
References
- 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.
- D. G. Manolakis, V. K. Ingle, S. M. Kogon, Statistical and Adaptive Signal Processing, Artech House, 2005. See ch. 3.6 on parameter estimation.
- C. R. Rao, "Information and the Accuracy Attainable in the Estimation of Statistical Parameters", Bull. Calcutta Math. Soc., 1945. The bound, at the source.
- R. A. Fisher, "On the Mathematical Foundations of Theoretical Statistics", Phil. Trans. R. Soc. A, 1922. Likelihood, information, and efficiency as concepts.
- H. L. Van Trees, Detection, Estimation, and Modulation Theory, Part I, Wiley. The deep classical treatment of estimation bounds.
- 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.
- 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.