Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Darts, and two kinds of error
Throw darts at a board. One player’s darts land in a tight cluster, but off to the left: biased but precise. Another player’s darts are centred on the bull’s-eye on average but spread all over: unbiased but noisy. What you really care about is how far darts land from the bull’s-eye on average. That combines both: the mean squared error = spread² + offset².
Estimating something from data works the same way. A good estimator is close to the truth on average and doesn’t wobble much. Sometimes a little bias buys a lot less wobble.
| estimator | bias | variance | MSE |
|---|---|---|---|
| max | -0.460 | 0.177 | 0.389 |
| (n+1)/n · max ★ | -0.006 | 0.215 | 0.215 |
| 2 · mean | -0.026 | 0.825 | 0.825 |
Estimating a sensor’s bias, a motor’s friction coefficient, a robot’s success rate or a spacecraft’s mass from limited data is point estimation. Picking the estimator with the lowest error, and knowing when more data will help, saves test time and makes systems safer.
- 1. Darts tightly clustered but off-centre are…
- 2. The mean squared error combines…
- 3. Can a slightly biased estimator be better overall?
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Definitions
An estimator is a function of the data. The estimate is its value on the observed data.
- Bias: . It’s unbiased if for every .
- Variance: . Its square root is the standard error (A5.1-2).
- Mean squared error: .
- Consistency: (A4.3-8). Sufficient: .
Examples
- is unbiased for , with MSE .
- (divide by ) is unbiased for . Dividing by is biased low by .
- For Uniform(0, θ), the max is biased low by . is unbiased and far better than .
- 1. bias = 0.5 and variance = 2: MSE?
- 2. E[max of n Uniform(0, θ)] =
- 3. An estimator whose MSE → 0 as n grows is…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.Unbiased is not best
For normal data, compare . Using (A5.1-2), the MSE is minimized at , dividing by . Shrinking toward 0 trades a small bias for a bigger drop in variance. The same idea explains ridge regression, weight decay and Bayesian priors (A5.2-2).
The Cramér–Rao lower bound
For a regular model with Fisher information , any unbiased estimator from iid samples satisfies
An estimator that attains it is efficient. For a normal mean, and attains the bound. The MLE attains it asymptotically (A5.1-4). The bound tells you whether a better unbiased estimator could exist at all.
Sufficiency, briefly
A statistic is sufficient if the data’s distribution given doesn’t depend on (A4.2-5). Rao–Blackwell: conditioning any estimator on a sufficient statistic never increases its MSE. That’s why good estimators are functions of sufficient statistics: the max for the uniform, and the sum for Poisson counts.
- 1. For normal data, the variance estimator with smallest MSE divides by…
- 2. The Cramér–Rao bound for a normal mean with n samples is…
- 3. Rao–Blackwell says conditioning on a sufficient statistic…
Level 3: Advanced
★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.The bias–variance decomposition
Add and subtract . The cross term vanishes. ∎
Proof of the Cramér–Rao bound
Let be the score.
- The score has mean zero. Under regularity, , and .
- Covariance with the estimator. If is unbiased, . Differentiating under the integral gives .
- Cauchy–Schwarz. . For iid samples, . ∎
Stein’s paradox
Observe . The “obvious” estimator has risk . For , the James–Stein estimator has strictly smaller total MSE for every (Stein, 1956; James and Stein, 1961). So the obvious estimator is inadmissible. The proof uses Stein’s identity, . The empirical-Bayes interpretation is that the data estimate how much to shrink (Efron and Morris, 1975).
Exercise 3.1: Compute the MSE of σ̂²_d for normal data
With , and . For : . Setting the derivative in to zero gives .
- 1. The Cramér–Rao proof uses…
- 2. James–Stein dominates the MLE when the dimension d is…
- 3. The variance of the score equals…
Level 4: Expert
★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.Calibrating many sensor biases at once
A robot has 10 gyro or wheel-encoder channels, each with an unknown bias, measured once with noise. Using each reading as its own estimate gives total MSE . Shrinking all of them jointly toward a common value (0, or their mean) with James–Stein reduces the total error, here by about 40%, without any prior knowledge. The same principle underlies hierarchical models (A5.2-4), multi-task learning and empirical-Bayes calibration of many similar parts in manufacturing. The catch is that JS improves the total error, not necessarily every individual channel.
Point estimation in AI, robotics and aerospace
- Bias–variance in ML. Test error = noise + bias² + variance across training sets. Regularization, ensembling and early stopping trade between them (Geman, Bienenstock and Doursat, 1992). The “double descent” curve revisits the trade-off for over-parameterized models (Belkin et al., 2019).
- Fisher information and experiment design. Choose sensor placements or excitation trajectories that maximize (D-optimal design) when identifying robot dynamics or spacecraft mass properties (Swevers et al., 1997).
- Cramér–Rao bounds in navigation set the best achievable accuracy for GNSS positioning, range-only localization or star-tracker attitude. An estimator that approaches the bound is good enough.
- Off-policy evaluation. Importance-sampling estimators are unbiased but high-variance. Weighted (self-normalized) and doubly robust estimators accept a little bias for much lower MSE (Jiang and Li, 2016).
- Shrinkage for reliability. Empirical-Bayes estimates of failure rates across a fleet of similar components beat per-component rates (Efron, 2010).
References
- E. Lehmann, G. Casella (1998). Theory of Point Estimation, 2nd ed. Springer.
- C. R. Rao (1945). “Information and the accuracy attainable in the estimation of statistical parameters.” Bulletin of the Calcutta Mathematical Society, 37.
- H. Cramér (1946). Mathematical Methods of Statistics. Princeton University Press.
- C. Stein (1956). “Inadmissibility of the usual estimator for the mean of a multivariate normal distribution.” Proc. Third Berkeley Symposium, 1.
- W. James, C. Stein (1961). “Estimation with quadratic loss.” Proc. Fourth Berkeley Symposium, 1.
- B. Efron, C. Morris (1975). “Data analysis using Stein’s estimator and its generalizations.” JASA, 70(350).
- S. Geman, E. Bienenstock, R. Doursat (1992). “Neural networks and the bias/variance dilemma.” Neural Computation, 4(1).
- M. Belkin, D. Hsu, S. Ma, S. Mandal (2019). “Reconciling modern machine-learning practice and the classical bias–variance trade-off.” PNAS, 116(32).
- J. Swevers, C. Ganseman, D. Tükel, J. De Schutter, H. Van Brussel (1997). “Optimal robot excitation and identification.” IEEE Transactions on Robotics and Automation, 13(5).
- N. Jiang, L. Li (2016). “Doubly robust off-policy value evaluation for reinforcement learning.” ICML.