Algorithm Search⌘K

Theoremcore

Delta method

Also called propagation of error.

If sqrt(n)(T_n - theta) converges in distribution to N(0, sigma^2) and g is differentiable at theta, then sqrt(n)(g(T_n) - g(theta)) converges to N(0, g'(theta)^2 sigma^2).

The delta method gives the limit law of a smooth function of an asymptotically normal statistic. If TnT_n is close to θ\theta with an error of order 1/n1/\sqrt n that is asymptotically normal, then g(Tn)g(T_n) is close to g(θ)g(\theta), and to first order the error is the old error times the slope g′(θ)g'(\theta). The result turns the central limit theorem for a mean into a limit law, and so into a standard error, for a ratio, a log odds, a correlation or any other smooth function of means. The proof is a first-order Taylor step and one use of Slutsky's theorem.

Statement

Theorem (delta method). Let TnT_n be real random variables and θ\theta a constant. Assume:

  1. n (Tn−θ)→dY\sqrt n\,(T_n - \theta) \xrightarrow{d} Y for some random variable YY;
  2. gg is a real function on an open set that contains θ\theta and the values of TnT_n, and gg is differentiable at θ\theta.

Then n (g(Tn)−g(θ))→dg′(θ) Y\sqrt n\,(g(T_n) - g(\theta)) \xrightarrow{d} g'(\theta)\,Y. In particular, if Y∼N(0,σ2)Y \sim N(0, \sigma^2), then

n (g(Tn)−g(θ))→dN(0, g′(θ)2 σ2).\sqrt n\,\bigl(g(T_n) - g(\theta)\bigr) \xrightarrow{d} N\bigl(0,\ g'(\theta)^2\,\sigma^2\bigr).

If g′(θ)=0g'(\theta) = 0, the limit is the constant 0, and the next result applies.

Theorem (second-order delta method). Assume n (Tn−θ)→dN(0,σ2)\sqrt n\,(T_n - \theta) \xrightarrow{d} N(0, \sigma^2), g′(θ)=0g'(\theta) = 0, and gg is twice differentiable at θ\theta with g′′(θ)≠0g''(\theta) \ne 0. Then

n (g(Tn)−g(θ))→d12 σ2 g′′(θ) χ12,n\,\bigl(g(T_n) - g(\theta)\bigr) \xrightarrow{d} \tfrac12\,\sigma^2\,g''(\theta)\,\chi^2_1,

where χ12\chi^2_1 is a chi-square random variable with 1 degree of freedom.

Theorem (multivariate delta method). Let TnT_n and θ\theta be in Rk\mathbb R^k with n (Tn−θ)→dNk(0,Σ)\sqrt n\,(T_n - \theta) \xrightarrow{d} N_k(0, \Sigma). Let g:Rk→Rmg : \mathbb R^k \to \mathbb R^m be differentiable at θ\theta with m×km \times k Jacobian matrix G=∂g/∂θTG = \partial g/\partial\theta^{\mathsf T} at θ\theta. Then n (g(Tn)−g(θ))→dNm(0,G Σ GT)\sqrt n\,(g(T_n) - g(\theta)) \xrightarrow{d} N_m(0, G\,\Sigma\,G^{\mathsf T}).

The variance g′(θ)2σ2g'(\theta)^2\sigma^2, or GΣGTG\Sigma G^{\mathsf T}, is the asymptotic variance: the variance of the limit law. To use it you replace θ\theta by TnT_n and σ2\sigma^2 by a consistent estimate. By Slutsky's theorem this does not change the limit if g′g' is continuous at θ\theta and g′(θ)≠0g'(\theta) \ne 0.

In plain words

You have an estimate that lands near the true value, with a small bell-shaped error. You feed the estimate into a smooth function. Near the true value the function looks like a straight line, so the output error is the input error times the slope of that line. The output error is still bell-shaped, and its spread is the input spread times the size of the slope.

When the slope at the true value is zero, the straight line is flat, and the first-order rule gives no error at all. The curve then takes over, the error becomes much smaller, and it is no longer bell-shaped.

The rule says what happens in the limit. For a fixed sample size the true spread can be quite different, and the error can be lopsided.

Proof

First-order theorem. Define h(t)=(g(t)−g(θ))/(t−θ)h(t) = (g(t) - g(\theta))/(t - \theta) for t≠θt \ne \theta and h(θ)=g′(θ)h(\theta) = g'(\theta). Differentiability of gg at θ\theta says exactly that hh is continuous at θ\theta. For every tt,

g(t)−g(θ)=h(t) (t−θ).g(t) - g(\theta) = h(t)\,(t - \theta).

Step 1: Tn→pθT_n \xrightarrow{p} \theta. By Step 2 of the proof of Slutsky's theorem, n (Tn−θ)\sqrt n\,(T_n - \theta) is bounded in probability: for each η>0\eta > 0 there is MM with P(n ∣Tn−θ∣>M)<ηP(\sqrt n\,|T_n - \theta| > M) < \eta for all large nn. For ε>0\varepsilon > 0 and n>(M/ε)2n > (M/\varepsilon)^2 we get P(∣Tn−θ∣>ε)≤P(n ∣Tn−θ∣>M)<ηP(|T_n - \theta| > \varepsilon) \le P(\sqrt n\,|T_n - \theta| > M) < \eta.

Step 2: h(Tn)→pg′(θ)h(T_n) \xrightarrow{p} g'(\theta). Fix ε>0\varepsilon > 0. By continuity of hh at θ\theta there is δ>0\delta > 0 with ∣h(t)−g′(θ)∣<ε|h(t) - g'(\theta)| < \varepsilon when ∣t−θ∣<δ|t - \theta| < \delta. So P(∣h(Tn)−g′(θ)∣≥ε)≤P(∣Tn−θ∣≥δ)→0P(|h(T_n) - g'(\theta)| \ge \varepsilon) \le P(|T_n - \theta| \ge \delta) \to 0 by Step 1.

Step 3: n (g(Tn)−g(θ))=h(Tn)⋅n (Tn−θ)\sqrt n\,(g(T_n) - g(\theta)) = h(T_n)\cdot\sqrt n\,(T_n - \theta). The first factor converges in probability to the constant g′(θ)g'(\theta) and the second converges in distribution to YY. Part (b) of Slutsky's theorem gives the limit g′(θ) Yg'(\theta)\,Y. If Y∼N(0,σ2)Y \sim N(0, \sigma^2), then g′(θ)Y∼N(0,g′(θ)2σ2)g'(\theta)Y \sim N(0, g'(\theta)^2\sigma^2). ■\blacksquare

Second-order theorem. Since g′(θ)=0g'(\theta) = 0 and g′′(θ)g''(\theta) exists, Taylor's theorem with the Peano remainder gives g(t)−g(θ)=(12g′′(θ)+k(t)) (t−θ)2g(t) - g(\theta) = (\tfrac12 g''(\theta) + k(t))\,(t - \theta)^2, where k(θ)=0k(\theta) = 0 and kk is continuous at θ\theta. As in Step 2, k(Tn)→p0k(T_n) \xrightarrow{p} 0. Write Wn=n (Tn−θ)/σW_n = \sqrt n\,(T_n - \theta)/\sigma, so Wn→dN(0,1)W_n \xrightarrow{d} N(0, 1), and Wn2→dχ12W_n^2 \xrightarrow{d} \chi^2_1 by the continuous mapping theorem with x↦x2x \mapsto x^2. Then n (g(Tn)−g(θ))=σ2 (12g′′(θ)+k(Tn)) Wn2n\,(g(T_n) - g(\theta)) = \sigma^2\,(\tfrac12 g''(\theta) + k(T_n))\,W_n^2, and part (b) of Slutsky's theorem gives the limit 12σ2g′′(θ) χ12\tfrac12\sigma^2 g''(\theta)\,\chi^2_1. ■\blacksquare

Multivariate theorem. Differentiability at θ\theta means g(t)−g(θ)=G (t−θ)+r(t)g(t) - g(\theta) = G\,(t - \theta) + r(t) with ∥r(t)∥/∥t−θ∥→0\|r(t)\|/\|t - \theta\| \to 0 as t→θt \to \theta. Put q(t)=∥r(t)∥/∥t−θ∥q(t) = \|r(t)\|/\|t - \theta\| for t≠θt \ne \theta and q(θ)=0q(\theta) = 0; then qq is continuous at θ\theta. Step 1 holds in Rk\mathbb R^k with the same proof, so q(Tn)→p0q(T_n) \xrightarrow{p} 0, and n ∥r(Tn)∥=q(Tn)⋅n ∥Tn−θ∥\sqrt n\,\|r(T_n)\| = q(T_n)\cdot\sqrt n\,\|T_n - \theta\| converges in probability to 0, because the second factor is bounded in probability. Now n (g(Tn)−g(θ))=G n (Tn−θ)+n r(Tn)\sqrt n\,(g(T_n) - g(\theta)) = G\,\sqrt n\,(T_n - \theta) + \sqrt n\,r(T_n). The first term converges in distribution to GZG Z with Z∼Nk(0,Σ)Z \sim N_k(0, \Sigma), by the continuous mapping theorem, and GZ∼Nm(0,GΣGT)GZ \sim N_m(0, G\Sigma G^{\mathsf T}). The vector form of Slutsky's theorem adds the second term, which converges in probability to 0. ■\blacksquare

Consequences

Asymptotic variance and exact variance. Let X1,…,XnX_1, \ldots, X_n be iid N(μ,σ2)N(\mu, \sigma^2) and g(t)=t2g(t) = t^2. The delta method gives the asymptotic variance 4μ2σ2/n4\mu^2\sigma^2/n for Xˉ2\bar X^2. Here the exact variance is known: Var⁡(Xˉ2)=4μ2σ2/n+2σ4/n2\operatorname{Var}(\bar X^2) = 4\mu^2\sigma^2/n + 2\sigma^4/n^2. The table compares the two in exact rational arithmetic.

μ\mu σ2\sigma^2 nn exact variance delta method
1 1 10 21/50 2/5
2 1 10 81/50 8/5
1 4 25 432/625 16/25

The relative error is σ2/(2nμ2)\sigma^2/(2n\mu^2), so the approximation is poor when μ\mu is small compared with σ/n\sigma/\sqrt n. At μ=0\mu = 0 the slope g′(0)g'(0) is 0, and the second-order theorem applies: nXˉ2/σ2n\bar X^2/\sigma^2 is exactly χ12\chi^2_1 for every nn, which agrees with the limit 12σ2⋅2⋅χ12\tfrac12\sigma^2\cdot 2\cdot\chi^2_1 for nXˉ2n\bar X^2.

Variance-stabilizing transformations. If n (Tn−θ)→dN(0,v(θ))\sqrt n\,(T_n - \theta) \xrightarrow{d} N(0, v(\theta)), a function with g′(θ)=1/v(θ)g'(\theta) = 1/\sqrt{v(\theta)} gives a limit N(0,1)N(0, 1) that does not depend on θ\theta. For a binomial proportion p^\hat p, v(p)=p(1−p)v(p) = p(1 - p) and g(p)=arcsin⁡pg(p) = \arcsin\sqrt p gives nVar⁡(g(p^))→1/4n\operatorname{Var}(g(\hat p)) \to 1/4. For a Poisson count XX with mean λ\lambda, g(x)=xg(x) = \sqrt x gives Var⁡(X)→1/4\operatorname{Var}(\sqrt X) \to 1/4 as λ→∞\lambda \to \infty. The exact values, summed over the support, show how slowly the limit can arrive:

λ\lambda 1 2 5 10 20 100
Var⁡(X)\operatorname{Var}(\sqrt X) 0.4022 0.3900 0.2861 0.2613 0.2551 0.2510
nn p=0.1p = 0.1 p=0.3p = 0.3 p=0.5p = 0.5
20 0.3864 0.2714 0.2640
100 0.2608 0.2533 0.2526

The entries of the second table are nVar⁡(arcsin⁡p^)n\operatorname{Var}(\arcsin\sqrt{\hat p}).

Intervals on a transformed scale. The delta method with g(p)=log⁡(p/(1−p))g(p) = \log(p/(1 - p)) gives the standard error 1/np^(1−p^)1/\sqrt{n\hat p(1 - \hat p)} of the sample log odds. A nominal 95% interval for the log odds is g(p^)±z0.975 /np^(1−p^)g(\hat p) \pm z_{0.975}\,/\sqrt{n\hat p(1 - \hat p)}, mapped back to pp. The table compares its coverage with that of the Wald interval p^±z0.975p^(1−p^)/n\hat p \pm z_{0.975}\sqrt{\hat p(1 - \hat p)/n}. Both columns are exact: they sum binomial probabilities over all outcomes X=0,…,nX = 0, \ldots, n. For the log odds interval, the outcomes X=0X = 0 and X=nX = n count as misses, because the interval is not defined there.

nn pp log odds interval Wald interval
20 0.05 0.6256 0.6389
20 0.2 0.9563 0.9208
20 0.5 0.9586 0.9586
50 0.05 0.8853 0.9199
50 0.1 0.9703 0.8789
50 0.2 0.9507 0.9375
200 0.05 0.9672 0.9256
200 0.1 0.9561 0.9271
200 0.5 0.9440 0.9440

The theorem proves only that both coverages tend to 0.95 for each fixed pp in (0,1)(0, 1). The numbers in the table are computed, not proved, and they show that the transformation helps for moderate pp but cannot repair a sample that has very few successes. The Wilson score interval does better near the boundary.

Standard errors of functions of estimators. Under the conditions of asymptotic normality of the MLE, n (θ^n−θ0)→dN(0,I(θ0)−1)\sqrt n\,(\hat\theta_n - \theta_0) \xrightarrow{d} N(0, I(\theta_0)^{-1}), and the multivariate theorem gives the standard error ∇g(θ^n)TI(θ^n)−1 ∇g(θ^n)/n\sqrt{\nabla g(\hat\theta_n)^{\mathsf T} I(\hat\theta_n)^{-1}\,\nabla g(\hat\theta_n)/n} for g(θ^n)g(\hat\theta_n). This is the basis of Wald tests for nonlinear functions of parameters, and of the sandwich variance of an M-estimator.

Tightness

gg must be differentiable at θ\theta. Let g(t)=∣t∣g(t) = |t| and θ=0\theta = 0, with n Xˉ→dN(0,σ2)\sqrt n\,\bar X \xrightarrow{d} N(0, \sigma^2). Then n ∣Xˉ∣→d∣N(0,σ2)∣\sqrt n\,|\bar X| \xrightarrow{d} |N(0, \sigma^2)|, a half-normal law, not a normal one. The one-sided derivatives exist but differ, and the limit is not of the form cYcY.

The asymptotic variance is not the limit of the variances. Let XiX_i be iid N(μ,σ2)N(\mu, \sigma^2) with μ≠0\mu \ne 0, and g(t)=1/tg(t) = 1/t. The delta method gives n (1/Xˉ−1/μ)→dN(0,σ2/μ4)\sqrt n\,(1/\bar X - 1/\mu) \xrightarrow{d} N(0, \sigma^2/\mu^4). But Xˉ\bar X has a positive density at 0, so E∣1/Xˉ∣=∞\mathrm E|1/\bar X| = \infty for every nn, and 1/Xˉ1/\bar X has no finite mean or variance at any sample size. The theorem is a statement about convergence in distribution and gives no information about moments. The same problem affects ratio estimators; Fieller's theorem gives exact intervals for a ratio of normal means.

The second-order limit needs the first derivative to vanish exactly. If g′(θ)g'(\theta) is small but not zero, the first-order theorem holds, but the normal limit is a poor guide at moderate nn, as the Xˉ2\bar X^2 table shows for small μ\mu.

History

Error formulas of this kind, which multiply an error variance by a squared derivative, were in use in the theory of errors of observation long before they had a limit theorem behind them. J. L. Doob proved limit theorems of this type for smooth functions of statistics in 1935. Robert Dorfman used the name "δ-method" in a note in the Biometric Bulletin in 1938, and Ver Hoef (2012) traces the history and names Dorfman's note as the first use of the term. Casella and Berger give the first-order, second-order and multivariate forms as Theorems 5.5.24, 5.5.26 and 5.5.28, and van der Vaart gives the general form for maps between Euclidean spaces as Theorem 3.1.

References

  1. J. L. Doob, The limiting distributions of certain statistics, Annals of Mathematical Statistics 6(3), 1935, pages 160 to 169 (limit laws of smooth functions of asymptotically normal statistics)
  2. J. M. Ver Hoef, Who invented the delta method?, The American Statistician 66(2), 2012, pages 124 to 127 (history of the method, Dorfman 1938, and earlier uses)
  3. George Casella and Roger L. Berger, Statistical Inference, second edition, Duxbury, 2002, Section 5.5.4, Theorem 5.5.24 (delta method), Theorem 5.5.26 (second-order delta method) and Theorem 5.5.28 (multivariate delta method)
  4. A. W. van der Vaart, Asymptotic Statistics, Cambridge University Press, 1998, Chapter 3, Theorem 3.1 (delta method for maps between Euclidean spaces) and Section 3.2 (variance-stabilizing transformations)

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