Algorithm Search⌘K

Definitioncore

Influence function

Also called influence curve.

Hampel's measure of the effect of an infinitesimal contamination at a point on an estimator. Bounded influence means robustness to single outliers.

The influence function of an estimator gives the effect of one more observation at the point xx, in the limit of an infinitesimal fraction of such observations. Hampel introduced it in 1974. An estimator with a bounded influence function is robust to a small fraction of outliers anywhere. Its mean square is also the asymptotic variance of the estimator. So one function measures both robustness and efficiency.

Definition

Write the estimator as a functional TT of a law FF, so that the estimate is T(Fn)T(F_n) with FnF_n the empirical distribution function. Let δx\delta_x be the point mass at xx. The influence function of TT at FF is

IF(x;T,F)=lim⁡t↓0T((1−t)F+t δx)−T(F)t,\mathrm{IF}(x; T, F) = \lim_{t \downarrow 0} \frac{T\big((1-t)F + t\,\delta_x\big) - T(F)}{t},

for each xx where the limit exists. It is the directional derivative of TT at FF in the direction δx−F\delta_x - F. The law (1−t)F+tδx(1-t)F + t\delta_x is the contamination model with G=δxG = \delta_x.

Three numbers summarize it.

  • Gross-error sensitivity. γ∗(T,F)=sup⁡x∣IF(x;T,F)∣\gamma^*(T, F) = \sup_x |\mathrm{IF}(x; T, F)|. It bounds the first-order bias that a small fraction tt of outliers can cause: about t γ∗t\,\gamma^*.
  • Rejection point. The least rr with IF(x)=0\mathrm{IF}(x) = 0 for all ∣x−T(F)∣>r|x - T(F)| > r. It is finite for a redescending estimator such as Tukey's biweight.
  • Local-shift sensitivity. sup⁡x≠y∣IF(x)−IF(y)∣/∣x−y∣\sup_{x \ne y} |\mathrm{IF}(x) - \mathrm{IF}(y)|/|x - y|. It measures the effect of rounding or small shifts of the data.

The finite-sample version is Tukey's sensitivity curve. For a sample x1,…,xn−1x_1, \ldots, x_{n-1},

SCn(x)=n [T(x1,…,xn−1,x)−T(x1,…,xn−1)].\mathrm{SC}_n(x) = n\,\big[T(x_1, \ldots, x_{n-1}, x) - T(x_1, \ldots, x_{n-1})\big].

This is the definition with F=Fn−1F = F_{n-1} and t=1/nt = 1/n, without the limit.

Under regularity conditions (Hampel 1974; Hampel, Ronchetti, Rousseeuw and Stahel 1986, Chapter 2), EF[IF(X;T,F)]=0E_F[\mathrm{IF}(X; T, F)] = 0, and the von Mises expansion

T(Fn)=T(F)+1n∑i=1nIF(Xi;T,F)+op(n−1/2)T(F_n) = T(F) + \frac1n \sum_{i=1}^n \mathrm{IF}(X_i; T, F) + o_p(n^{-1/2})

holds. Then n (T(Fn)−T(F))\sqrt n\,(T(F_n) - T(F)) tends to N(0,V)N(0, V) with V=EF[IF(X;T,F)2]V = E_F[\mathrm{IF}(X; T, F)^2]. This page cites that result and does not prove it.

Examples and non-examples

The results below are proved here. In each, FF is a law on R\mathbb{R}.

The mean. T(F)=∫y dF(y)=μT(F) = \int y\,dF(y) = \mu, with a finite mean. Then T((1−t)F+tδx)=(1−t)μ+txT((1-t)F + t\delta_x) = (1-t)\mu + t x, which is linear in tt. So

IF(x;mean,F)=x−μ.\mathrm{IF}(x; \text{mean}, F) = x - \mu.

It is unbounded, so γ∗=∞\gamma^* = \infty. One outlier far away has an effect without bound. At F=ΦF = \Phi, V=E[X2]=1V = E[X^2] = 1, the variance of the mean.

The median. Let m=F−1(1/2)m = F^{-1}(1/2), and assume that FF has a density ff that is continuous and positive at mm. Then

IF(x;median,F)=sign⁡(x−m)2f(m),\mathrm{IF}(x; \text{median}, F) = \frac{\operatorname{sign}(x - m)}{2 f(m)},

with the value 0 at x=mx = m.

Proof. Let Ft=(1−t)F+tδxF_t = (1-t)F + t\delta_x and let mtm_t be its median, the point with Ft(mt)=1/2F_t(m_t) = 1/2. Take x>mx > m. For small tt, mt<xm_t < x, so Ft(mt)=(1−t)F(mt)=1/2F_t(m_t) = (1-t)F(m_t) = 1/2, and mt=F−1(12(1−t))m_t = F^{-1}\big(\tfrac{1}{2(1-t)}\big). The inverse function rule gives ddtmt∣t=0=1f(m)⋅ddt12(1−t)∣t=0=12f(m)\frac{d}{dt} m_t \big|_{t=0} = \frac{1}{f(m)} \cdot \frac{d}{dt}\frac{1}{2(1-t)}\Big|_{t=0} = \frac{1}{2f(m)}. Take x<mx < m. For small tt, mt>xm_t > x, so (1−t)F(mt)+t=1/2(1-t)F(m_t) + t = 1/2, and F(mt)=1/2−t1−tF(m_t) = \frac{1/2 - t}{1 - t}. Its derivative at t=0t = 0 is −1/2-1/2, so ddtmt∣t=0=−12f(m)\frac{d}{dt} m_t \big|_{t=0} = -\frac{1}{2f(m)}. Take x=mx = m. Then Ft(y)<1/2F_t(y) < 1/2 for y<my < m and Ft(m)=1/2+t/2F_t(m) = 1/2 + t/2, so mt=mm_t = m for all tt, and the derivative is 0. □\square

The function is bounded but jumps at mm. At F=ΦF = \Phi, γ∗=1/(2φ(0))=2π/2≈1.2533\gamma^* = 1/(2\varphi(0)) = \sqrt{2\pi}/2 \approx 1.2533 and V=π/2≈1.5708V = \pi/2 \approx 1.5708. Hampel showed that the median has the least γ∗\gamma^* among all Fisher-consistent location functionals at Φ\Phi (cited).

The Huber estimator. Let ψk(u)=max⁡(−k,min⁡(k,u))\psi_k(u) = \max(-k, \min(k, u)), and let T(F)T(F) be the root θ\theta of Λ(θ)=∫ψk(y−θ) dF(y)=0\Lambda(\theta) = \int \psi_k(y - \theta)\,dF(y) = 0 (fixed scale 1). Assume that FF is continuous near T(F)±kT(F) \pm k and that PF(∣Y−T(F)∣<k)>0P_F(|Y - T(F)| < k) > 0. Then

IF(x;T,F)=ψk(x−T(F))PF(∣Y−T(F)∣<k).\mathrm{IF}(x; T, F) = \frac{\psi_k(x - T(F))}{P_F\big(|Y - T(F)| < k\big)}.

Proof. Put Λ(θ,t)=(1−t)Λ(θ)+t ψk(x−θ)\Lambda(\theta, t) = (1-t)\Lambda(\theta) + t\,\psi_k(x - \theta), so Tt=T(Ft)T_t = T(F_t) solves Λ(Tt,t)=0\Lambda(T_t, t) = 0. The function ψk\psi_k is Lipschitz with derivative 1{∣u∣<k}\mathbf 1\{|u| < k\} except at ±k\pm k. By dominated convergence, Λ′(θ)=−PF(∣Y−θ∣<k)\Lambda'(\theta) = -P_F(|Y - \theta| < k), and it is continuous near T(F)T(F) because FF has no atoms there. So ∂θΛ(T(F),0)=−PF(∣Y−T(F)∣<k)<0\partial_\theta \Lambda(T(F), 0) = -P_F(|Y - T(F)| < k) < 0. Also ∂tΛ(θ,t)=−Λ(θ)+ψk(x−θ)\partial_t \Lambda(\theta, t) = -\Lambda(\theta) + \psi_k(x - \theta), which is ψk(x−T(F))\psi_k(x - T(F)) at (T(F),0)(T(F), 0). The implicit function theorem gives a differentiable root TtT_t near t=0t = 0 with

dTtdt∣t=0=−∂tΛ∂θΛ=ψk(x−T(F))PF(∣Y−T(F)∣<k).□\frac{dT_t}{dt}\Big|_{t=0} = -\frac{\partial_t \Lambda}{\partial_\theta \Lambda} = \frac{\psi_k(x - T(F))}{P_F(|Y - T(F)| < k)}. \qquad \square

At F=ΦF = \Phi and k=1.345k = 1.345, P(∣Z∣<k)=0.8214P(|Z| < k) = 0.8214, so γ∗=1.345/0.8214≈1.637\gamma^* = 1.345/0.8214 \approx 1.637, and V=E[ψk(Z)2]/P(∣Z∣<k)2≈1.0526V = E[\psi_k(Z)^2]/P(|Z|<k)^2 \approx 1.0526, an efficiency of 95 percent. This is the general rule IF=A−1ψ\mathrm{IF} = A^{-1}\psi of a Z-estimator; the M-estimator page derives it for any ψ\psi.

A sensitivity curve by hand. Take the four points (1,2,3,4)(1, 2, 3, 4) and add a fifth point xx, so n=5n = 5.

xx −100-100 0 2.5 3 100
SC5\mathrm{SC}_5 of the mean, x−2.5x - 2.5 −102.5-102.5 −2.5-2.5 0 0.5 97.5
SC5\mathrm{SC}_5 of the median, 5(min⁡(max⁡(x,2),3)−2.5)5(\min(\max(x, 2), 3) - 2.5) −2.5-2.5 −2.5-2.5 0 2.5 2.5

For the mean, SC5(x)=5 ((10+x)/5−2.5)=x−2.5\mathrm{SC}_5(x) = 5\,((10 + x)/5 - 2.5) = x - 2.5. For the median, the median of five points is xx clamped to [2,3][2, 3], so the curve stays in [−2.5,2.5][-2.5, 2.5]. The shapes match the influence functions above: a line, and a step.

Non-examples.

  • A bounded influence function is not a high breakdown point. The influence function is a derivative at t=0t = 0. The α\alpha-trimmed mean has a bounded influence function and breakdown point α\alpha, which can be small. In regression, an M-estimator with a bounded ψ\psi of the residual has bounded influence in yy, but not in the design point, and breaks down with one point.
  • The influence function can fail to exist. The sample median at a law with f(m)=0f(m) = 0, or with an atom at mm, has no finite derivative.
  • The sample standard deviation has IF(x)=((x−μ)2−σ2)/(2σ)\mathrm{IF}(x) = ((x - \mu)^2 - \sigma^2)/(2\sigma), which grows like x2x^2. The MAD has a bounded one.
  • Breakdown point. The global measure: the largest fraction of outliers that TT can carry.
  • Empirical influence. The influence function evaluated at FnF_n. The infinitesimal jackknife estimates the variance V/nV/n with it, and the jackknife uses SC\mathrm{SC}-like differences with t=−1/(n−1)t = -1/(n-1).
  • Cook's distance. A regression diagnostic that measures the effect of deleting one case. It is a finite-sample influence of each case on the fit.
  • Gâteaux and Fréchet derivatives. The influence function is the kernel of the Gâteaux derivative of TT. With a Fréchet derivative, the von Mises expansion holds, and the delta method for smooth functionals follows.
  • Change-of-variance function. The derivative of V(T,F)V(T, F) in the same direction. It measures the robustness of the variance.

References

  1. Frank R. Hampel, The influence curve and its role in robust estimation, Journal of the American Statistical Association 69(346), 1974, pp. 383 to 393 (the definition, the gross-error sensitivity and the link to the asymptotic variance)
  2. Frank R. Hampel, Elvezio M. Ronchetti, Peter J. Rousseeuw and Werner A. Stahel, Robust Statistics, The Approach Based on Influence Functions, Wiley, 1986, Chapter 2 (the influence function of one-dimensional estimators, the gross-error sensitivity and the optimal bounded-influence estimators)
  3. Peter J. Huber and Elvezio M. Ronchetti, Robust Statistics, second edition, Wiley, 2009, Chapter 1 (infinitesimal aspects) and Chapter 3 (the influence functions of M-, L- and R-estimators)
  4. Ricardo A. Maronna, R. Douglas Martin, Victor J. Yohai and Matías Salibián-Barrera, Robust Statistics, Theory and Methods (with R), second edition, Wiley, 2019, Chapter 3 (measuring robustness, the influence function and the sensitivity curve)

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/89JZ0M/text.yaml