Method in statistics
Instatistics, thedelta method is a method of deriving the asymptotic distribution of a random variable. It is applicable when the random variable being considered can be defined as adifferentiable function of a random variable which isasymptoticallyGaussian.
The delta method was derived frompropagation of error, and the idea behind was known in the early 20th century.[1] Its statistical application can be traced as far back as 1928 byT. L. Kelley.[2] A formal description of the method was presented byJ. L. Doob in 1935.[3]Robert Dorfman also described a version of it in 1938.[4]
Univariate delta method
[edit]While the delta method generalizes easily to a multivariate setting, careful motivation of the technique is more easily demonstrated inunivariate terms. Roughly, if there is asequence of random variablesXn satisfying
![{\displaystyle {{\sqrt {n}}[X_{n}-\theta ]\,\xrightarrow {D} \,{\mathcal {N}}(0,\sigma ^{2})},}](/image.pl?url=https%3a%2f%2fwikimedia.org%2fapi%2frest_v1%2fmedia%2fmath%2frender%2fsvg%2fd0c0cc5e1bb093d98be669c7ee437eea66d30816&f=jpg&w=240)
whereθ andσ2 are finite valued constants and
denotesconvergence in distribution, then
![{\displaystyle {{\sqrt {n}}[g(X_{n})-g(\theta )]\,\xrightarrow {D} \,{\mathcal {N}}(0,\sigma ^{2}\cdot [g'(\theta )]^{2})}}](/image.pl?url=https%3a%2f%2fwikimedia.org%2fapi%2frest_v1%2fmedia%2fmath%2frender%2fsvg%2fe1c9662a6c08b9088cbbd6bd091b9c46033c07a2&f=jpg&w=240)
for any functiong satisfying the property that its first derivative, evaluated at
,
exists and is non-zero valued.
The intuition of the delta method is that any suchg function, in a "small enough" range of the function, can be approximated via a first orderTaylor series (which is basically a linear function). If the random variable is roughly normal then alinear transformation of it is also normal. Small range can be achieved when approximating the function around the mean, when the variance is "small enough". When g is applied to a random variable such as the mean, the delta method would tend to work better as the sample size increases, since it would help reduce the variance, and thus the Taylor approximation would be applied to a smaller range of the function g at the point of interest.
Proof in the univariate case
[edit]Demonstration of this result is fairly straightforward under the assumption that
is differentiable near the neighborhood of
and
is continuous at
with
. To begin, we use themean value theorem (i.e.: the first order approximation of aTaylor series usingTaylor's theorem):

where
lies betweenXn andθ.Note that since
and
, it must be that
and sinceg′(θ) is continuous, applying thecontinuous mapping theorem yields

where
denotesconvergence in probability.
Rearranging the terms and multiplying by
gives
![{\displaystyle {\sqrt {n}}[g(X_{n})-g(\theta )]=g'\left({\tilde {\theta }}\right){\sqrt {n}}[X_{n}-\theta ].}](/image.pl?url=https%3a%2f%2fwikimedia.org%2fapi%2frest_v1%2fmedia%2fmath%2frender%2fsvg%2fb513a1a33095be13ff8f87a9ccc51bc61267d43a&f=jpg&w=240)
Since
![{\displaystyle {{\sqrt {n}}[X_{n}-\theta ]\xrightarrow {D} {\mathcal {N}}(0,\sigma ^{2})}}](/image.pl?url=https%3a%2f%2fwikimedia.org%2fapi%2frest_v1%2fmedia%2fmath%2frender%2fsvg%2f9c66f8196a977e31de2cdc705d2dfd7924d58763&f=jpg&w=240)
by assumption, it follows immediately from appeal toSlutsky's theorem that
![{\displaystyle {{\sqrt {n}}[g(X_{n})-g(\theta )]\xrightarrow {D} {\mathcal {N}}(0,\sigma ^{2}[g'(\theta )]^{2})}.}](/image.pl?url=https%3a%2f%2fwikimedia.org%2fapi%2frest_v1%2fmedia%2fmath%2frender%2fsvg%2f411bbe64fc07d9b513ed6f0219381bed0b8bd470&f=jpg&w=240)
This concludes the proof.
Proof with an explicit order of approximation
[edit]Alternatively, one can add one more step at the end, to obtain theorder of approximation:
![{\displaystyle {\begin{aligned}{\sqrt {n}}[g(X_{n})-g(\theta )]&=g'\left({\tilde {\theta }}\right){\sqrt {n}}[X_{n}-\theta ]\\[5pt]&={\sqrt {n}}[X_{n}-\theta ]\left[g'({\tilde {\theta }})+g'(\theta )-g'(\theta )\right]\\[5pt]&={\sqrt {n}}[X_{n}-\theta ]\left[g'(\theta )\right]+{\sqrt {n}}[X_{n}-\theta ]\left[g'({\tilde {\theta }})-g'(\theta )\right]\\[5pt]&={\sqrt {n}}[X_{n}-\theta ]\left[g'(\theta )\right]+O_{p}(1)\cdot o_{p}(1)\\[5pt]&={\sqrt {n}}[X_{n}-\theta ]\left[g'(\theta )\right]+o_{p}(1)\end{aligned}}}](/image.pl?url=https%3a%2f%2fwikimedia.org%2fapi%2frest_v1%2fmedia%2fmath%2frender%2fsvg%2fcbce02edd832f7563e0d970e7910a13407b840d4&f=jpg&w=240)
This suggests that the error in the approximation converges to 0 in probability.
Multivariate delta method
[edit]By definition, aconsistent estimatorBconverges in probability to its true valueβ, and often acentral limit theorem can be applied to obtainasymptotic normality:

wheren is the number of observations and Σ is a (symmetric positive semi-definite)covariance matrix. Suppose we want to estimate the variance of a scalar-valued functionh of the estimatorB. Keeping only the first two terms of theTaylor series, and usingvector notation for thegradient, we can estimateh(B) as

which implies the variance ofh(B) is approximately
![{\displaystyle {\begin{aligned}\operatorname {Var} \left(h(B)\right)&\approx \operatorname {Var} \left(h(\beta )+\nabla h(\beta )^{T}\cdot (B-\beta )\right)\\[5pt]&=\operatorname {Var} \left(h(\beta )+\nabla h(\beta )^{T}\cdot B-\nabla h(\beta )^{T}\cdot \beta \right)\\[5pt]&=\operatorname {Var} \left(\nabla h(\beta )^{T}\cdot B\right)\\[5pt]&=\nabla h(\beta )^{T}\cdot \operatorname {Cov} (B)\cdot \nabla h(\beta )\\[5pt]&=\nabla h(\beta )^{T}\cdot {\frac {\Sigma }{n}}\cdot \nabla h(\beta )\end{aligned}}}](/image.pl?url=https%3a%2f%2fwikimedia.org%2fapi%2frest_v1%2fmedia%2fmath%2frender%2fsvg%2f1a00c9975a111a65f01d3e63cdfbe131c5328b61&f=jpg&w=240)
One can use themean value theorem (for real-valued functions of many variables) to see that this does not rely on taking first order approximation.
The delta method therefore implies that

or in univariate terms,

Example: the binomial proportion
[edit]SupposeXn isbinomial with parameters
andn. Since
![{\displaystyle {{\sqrt {n}}\left[{\frac {X_{n}}{n}}-p\right]\,\xrightarrow {D} \,N(0,p(1-p))},}](/image.pl?url=https%3a%2f%2fwikimedia.org%2fapi%2frest_v1%2fmedia%2fmath%2frender%2fsvg%2ff68936fde52a2d07cb6394ee23727f4e96300bd9&f=jpg&w=240)
we can apply the Delta method withg(θ) = log(θ) to see
![{\displaystyle {{\sqrt {n}}\left[\log \left({\frac {X_{n}}{n}}\right)-\log(p)\right]\,\xrightarrow {D} \,N(0,p(1-p)[1/p]^{2})}}](/image.pl?url=https%3a%2f%2fwikimedia.org%2fapi%2frest_v1%2fmedia%2fmath%2frender%2fsvg%2f500d2fd163eccb08acb6cb29e70516c27984d328&f=jpg&w=240)
Hence, even though for any finiten, the variance of
does not actually exist (sinceXn can be zero), the asymptotic variance of
does exist and is equal to

Note that sincep>0,
as
, so with probability converging to one,
is finite for largen.
Moreover, if
and
are estimates of different group rates from independent samples of sizesn andm respectively, then the logarithm of the estimatedrelative risk
has asymptotic variance equal to

This is useful to construct a hypothesis test or to make aconfidence interval for the relative risk.
The delta method is often used in a form that is essentially identical to that above, but without the assumption thatXn orB is asymptotically normal. Often the only context is that the variance is "small". The results then just give approximations to the means and covariances of the transformed quantities. For example, the formulae presented in Klein (1953, p. 258) are:[5]

wherehr is therth element ofh(B) andBi is theith element ofB.
Second-order delta method
[edit]Wheng′(θ) = 0 the delta method cannot be applied. However, ifg′′(θ) exists and is not zero, the second-order delta method can be applied. By the Taylor expansion,
, so that the variance of
relies on up to the 4th moment of
.
The second-order delta method is also useful in conducting a more accurate approximation of
's distribution when sample size is small.
.For example, when
follows the standard normal distribution,
can be approximated as theweighted sum of a standard normal and a chi-square with 1 degree of freedom.
Nonparametric delta method
[edit]A version of the delta method exists innonparametric statistics. Let
be anindependent and identically distributed random variable with a sample of size
with anempirical distribution function
, and let
be a functional. If
isHadamard differentiable with respect to theChebyshev metric, then

where
and
, with
denoting the empiricalinfluence function for
. A nonparametric
pointwise asymptotic confidence interval for
is therefore given by

where
denotes the
-quantile of the standard normal. See Wasserman (2006) p. 19f. for details and examples.