Algorithm Search⌘K

Definitionadvanced

M-estimator

Also called maximum likelihood type estimator, Z-estimator.

An estimator that minimizes a sum of loss terms rho(X_i, theta) or solves a sum of estimating equations psi(X_i, theta) = 0. Its asymptotic covariance is the sandwich A^-1 B A^-T / n.

An M-estimator is a parameter estimate defined as the minimizer of a sum of loss terms, one for each observation, or as a root of a sum of estimating functions. The class contains the sample mean, the sample median, least squares, quantile regression, the maximum likelihood estimator and the robust Huber estimator. Huber introduced the name in 1964 for "maximum likelihood type" estimators. One theory covers all of them: under regularity conditions they are consistent for the root of the population estimating equation and asymptotically normal with the sandwich covariance, whether or not any parametric model is true.

Definition

Let X1,…,XnX_1, \ldots, X_n be iid with law PP on a space X\mathcal X, and let Θ⊆Rk\Theta \subseteq \mathbb R^k.

M-estimator (ρ\rho type). Given a function ρ:X×Θ→R\rho : \mathcal X \times \Theta \to \mathbb R, an M-estimator is any θ^n\hat\theta_n with

θ^n∈arg⁡min⁡θ∈Θ ∑i=1nρ(Xi,θ).\hat\theta_n \in \arg\min_{\theta \in \Theta}\ \sum_{i=1}^n \rho(X_i, \theta).

Z-estimator (ψ\psi type). Given ψ:X×Θ→Rk\psi : \mathcal X \times \Theta \to \mathbb R^k, a Z-estimator is any root θ^n\hat\theta_n of the estimating equation

Ψn(θ)=1n∑i=1nψ(Xi,θ)=0.\Psi_n(\theta) = \frac1n\sum_{i=1}^n \psi(X_i, \theta) = 0.

When ρ\rho is differentiable in θ\theta, the minimizer solves the equation with ψ=∇θρ\psi = \nabla_\theta\rho, so the two forms often give the same estimator. They differ when ρ\rho is not differentiable (the median) or when the equation has roots that are not minima. Many authors use "M-estimator" for both.

Target. The population version of the estimator is the parameter θ0=θ0(P)\theta_0 = \theta_0(P) that minimizes EP ρ(X,θ)\mathrm E_P\,\rho(X, \theta), or solves EP ψ(X,θ)=0\mathrm E_P\,\psi(X, \theta) = 0. It is defined by ρ\rho or ψ\psi and PP, not by a model. If the model f(x;θ)f(x; \theta) is correct and ρ=−log⁡f\rho = -\log f, then θ0\theta_0 is the true parameter; if the model is wrong, θ0\theta_0 is the parameter of the model closest to PP in Kullback-Leibler divergence.

Sandwich matrices. For a Z-estimator with target θ0\theta_0, put

A=EP ⁣[∂ψ(X,θ0)∂θT],B=EP[ψ(X,θ0) ψ(X,θ0)T].A = \mathrm E_P\!\left[\frac{\partial\psi(X, \theta_0)}{\partial\theta^{\mathsf T}}\right], \qquad B = \mathrm E_P\bigl[\psi(X, \theta_0)\,\psi(X, \theta_0)^{\mathsf T}\bigr].

When ψ\psi is not differentiable, AA is the derivative of the map θ↦EP ψ(X,θ)\theta \mapsto \mathrm E_P\,\psi(X, \theta) at θ0\theta_0.

Properties

Asymptotic normality (sandwich formula). Assume: (1) θ0\theta_0 is an interior point of Θ\Theta and the unique root of EP ψ(X,θ)=0\mathrm E_P\,\psi(X, \theta) = 0; (2) θ^n\hat\theta_n is a root of Ψn\Psi_n with θ^n→pθ0\hat\theta_n \xrightarrow{p} \theta_0; (3) θ↦EP ψ(X,θ)\theta \mapsto \mathrm E_P\,\psi(X, \theta) is differentiable at θ0\theta_0 with invertible derivative AA; (4) BB is finite; (5) ψ\psi is Lipschitz in θ\theta near θ0\theta_0 with an envelope ψ˙(x)\dot\psi(x) that has EP ψ˙(X)2<∞\mathrm E_P\,\dot\psi(X)^2 < \infty, or a similar smoothness condition. Then

n (θ^n−θ0)→dNk(0, A−1B A−T).\sqrt n\,(\hat\theta_n - \theta_0) \xrightarrow{d} N_k\bigl(0,\ A^{-1}B\,A^{-\mathsf T}\bigr).

Proof sketch. When ψ\psi is differentiable in θ\theta, a mean-value expansion of each coordinate of Ψn\Psi_n gives 0=Ψn(θ^n)=Ψn(θ0)+Ψ˙n(θ~n)(θ^n−θ0)0 = \Psi_n(\hat\theta_n) = \Psi_n(\theta_0) + \dot\Psi_n(\tilde\theta_n)(\hat\theta_n - \theta_0), where the rows of Ψ˙n\dot\Psi_n are evaluated at points θ~n\tilde\theta_n between θ^n\hat\theta_n and θ0\theta_0. The central limit theorem gives n Ψn(θ0)→dN(0,B)\sqrt n\,\Psi_n(\theta_0) \xrightarrow{d} N(0, B), because E ψ(X,θ0)=0\mathrm E\,\psi(X, \theta_0) = 0. The law of large numbers and consistency give Ψ˙n(θ~n)→pA\dot\Psi_n(\tilde\theta_n) \xrightarrow{p} A. The vector form of Slutsky's theorem gives n (θ^n−θ0)=−Ψ˙n(θ~n)−1n Ψn(θ0)→d−A−1N(0,B)\sqrt n\,(\hat\theta_n - \theta_0) = -\dot\Psi_n(\tilde\theta_n)^{-1}\sqrt n\,\Psi_n(\theta_0) \xrightarrow{d} -A^{-1}N(0, B). For non-smooth ψ\psi, such as the median, the expansion is replaced by an empirical process argument; see van der Vaart, Section 5.3, and Huber (1967). □\square

The sandwich estimate. The covariance is estimated by A^−1B^A^−T/n\hat A^{-1}\hat B\hat A^{-\mathsf T}/n, with A^=Ψ˙n(θ^n)\hat A = \dot\Psi_n(\hat\theta_n) and B^=n−1∑iψ(Xi,θ^n)ψ(Xi,θ^n)T\hat B = n^{-1}\sum_i \psi(X_i, \hat\theta_n)\psi(X_i, \hat\theta_n)^{\mathsf T} (divisor nn). It is consistent under the conditions above without any parametric model. For least squares it is the heteroscedasticity-consistent standard error of White.

The MLE as a special case. For ψ=−∇θlog⁡f\psi = -\nabla_\theta\log f and a correct model, the information identity gives B=I(θ0)B = I(\theta_0) and A=I(θ0)A = I(\theta_0), so the sandwich reduces to I(θ0)−1I(\theta_0)^{-1}, as in asymptotic normality of the MLE. Under a wrong model A≠BA \ne B in general, and the inverse information is the wrong variance.

Influence function. The influence function of a Z-estimator is IF(x)=−A−1ψ(x,θ0)\mathrm{IF}(x) = -A^{-1}\psi(x, \theta_0), and BB is the covariance of A IF(X)A\,\mathrm{IF}(X). The estimator is robust to gross outliers in xx exactly when ψ\psi is bounded in xx.

Equivariance. For location, ψ(x,θ)=ϕ(x−θ)\psi(x, \theta) = \phi(x - \theta) gives an estimator that moves with shifts of the data. Scale equivariance needs a scale estimate in the argument, ϕ((x−θ)/s^)\phi((x - \theta)/\hat s), which is why practical robust estimators come with a robust scale such as the median absolute deviation.

Examples and non-examples

Mean and median. With ρ(x,θ)=(x−θ)2\rho(x, \theta) = (x - \theta)^2 the estimator is Xˉ\bar X, with A=2A = 2, B=4σ2B = 4\sigma^2 and sandwich variance σ2/n\sigma^2/n. With ρ(x,θ)=∣x−θ∣\rho(x, \theta) = |x - \theta| it is the sample median, a Z-estimator with ψ(x,θ)=−sign⁡(x−θ)\psi(x, \theta) = -\operatorname{sign}(x - \theta). Here A=2f(θ0)A = 2f(\theta_0) for the density ff of XX, B=1B = 1, and the sandwich gives the known variance 1/(4nf(θ0)2)1/(4n f(\theta_0)^2) of the median.

Huber's estimator. ψk(r)=max⁡(−k,min⁡(k,r))\psi_k(r) = \max(-k, \min(k, r)) applied to r=x−θr = x - \theta is linear for small residuals and constant for large ones. Take the five numbers 1,2,3,4,201, 2, 3, 4, 20, with the scale fixed at 1. The mean is 6, pulled by the outlier, and the median is 3. With k=3k = 3 the equation ∑ψ3(xi−θ)=0\sum\psi_3(x_i - \theta) = 0 has the unique root θ=13/4\theta = 13/4: the residuals are −9/4,−5/4,−1/4,3/4-9/4, -5/4, -1/4, 3/4 and 67/467/4, the last is clipped to 3, and −9/4−5/4−1/4+3/4+3=0-9/4 - 5/4 - 1/4 + 3/4 + 3 = 0. The plug-in sandwich uses A^=4/5\hat A = 4/5 (the fraction of residuals inside (−3,3)(-3, 3)) and B^=(81+25+1+9)/(16⋅5)+9/5=13/4\hat B = (81 + 25 + 1 + 9)/(16 \cdot 5) + 9/5 = 13/4, so the variance estimate is B^/(A^2n)=65/64\hat B/(\hat A^2 n) = 65/64. The same formula for the mean gives ∑(xi−6)2/n2=10\sum(x_i - 6)^2/n^2 = 10. Five numbers are far too few for these asymptotic values to be accurate; the example only shows the arithmetic.

Maximum likelihood. ρ=−log⁡f(x;θ)\rho = -\log f(x; \theta). Every MLE in a regular model is an M-estimator, and its target under misspecification is the Kullback-Leibler projection (White 1982).

Regression. Least squares, ρ=(y−xTβ)2\rho = (y - x^{\mathsf T}\beta)^2; least absolute deviations and quantile regression, ρ=ρτ(y−xTβ)\rho = \rho_\tau(y - x^{\mathsf T}\beta) with the check loss; robust regression with Huber or Tukey loss. Generalized estimating equations are Z-estimators for clustered data, and the generalized method of moments generalizes Z-estimation to more equations than parameters.

Non-example: L-estimators. The trimmed mean is a linear combination of order statistics. It is asymptotically equivalent to a Huber-type M-estimator for symmetric distributions, but it is not defined by minimizing a sum of terms ρ(Xi,θ)\rho(X_i, \theta), one for each observation.

Non-example: a pairwise criterion. The Hodges-Lehmann estimator, the median of all pairwise means, solves an equation in pairs (Xi,Xj)(X_i, X_j). It is an R-estimator, and its asymptotic theory uses U-statistics, not the sandwich formula above.

Non-example: a root that is not consistent. For Cauchy location data the likelihood equation can have several roots. Each root is a Z-estimator in the formal sense, but only a consistent sequence of roots has the sandwich limit; condition (2) above is not automatic.

References

  1. Peter J. Huber, Robust estimation of a location parameter, Annals of Mathematical Statistics 35(1), 1964, pages 73 to 101 (estimators that minimize a sum of rho(x_i - T), and the minimax property of the Huber estimator)
  2. P. J. Huber, The behavior of maximum likelihood estimates under nonstandard conditions, Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability 1, 1967, pages 221 to 233 (consistency and asymptotic normality of M-estimators without a correct model, and the sandwich covariance)
  3. L. A. Stefanski and D. D. Boos, The calculus of M-estimation, The American Statistician 56(1), 2002, pages 29 to 38 (the sandwich formula and how to stack estimating equations)
  4. A. W. van der Vaart, Asymptotic Statistics, Cambridge University Press, 1998, Chapter 5, Section 5.2 (consistency of M- and Z-estimators) and Section 5.3 (asymptotic normality)
  5. Peter J. Huber and Elvezio M. Ronchetti, Robust Statistics, second edition, Wiley, 2009, Chapter 3 (M-estimators of location) and Chapter 6 (M-estimators of a general parameter)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/H214DD/text.yaml