delta method
{{Short description|Method in statistics}}
In statistics, the delta 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 a differentiable function of a random variable which is asymptotically Gaussian.
History
The delta method was derived from propagation of error, and the idea behind was known in the early 20th century.{{cite journal
|last=Portnoy
|first=Stephen
|year=2013
|title=Letter to the Editor
|journal=The American Statistician
|volume=67 |number=3 |pages=190 |doi=10.1080/00031305.2013.820668|s2cid=219596186
}} Its statistical application can be traced as far back as 1928 by T. L. Kelley.{{cite book
|last=Kelley
|first=Truman L.
|year=1928
|title=Crossroads in the Mind of Man: A Study of Differentiable Mental Abilities
|pages=49–50 |isbn=978-1-4338-0048-1}} A formal description of the method was presented by J. L. Doob in 1935.{{cite journal
|jstor=2957546
|last=Doob
|first=J. L.
|year=1935
|title=The Limiting Distributions of Certain Statistics
|journal=Annals of Mathematical Statistics
|volume=6 |issue=3
|pages=160–169
|doi=10.1214/aoms/1177732594|doi-access=free}} Robert Dorfman also described a version of it in 1938.{{cite journal |jstor=23339471 |last=Ver Hoef |first=J. M. |year=2012 |title=Who invented the delta method? |journal=The American Statistician |volume=66 |issue=2 |pages=124–127 |doi=10.1080/00031305.2012.687494}}
Univariate delta method
While the delta method generalizes easily to a multivariate setting, careful motivation of the technique is more easily demonstrated in univariate terms. Roughly, if there is a sequence of random variables {{mvar|Xn}} satisfying
:
where θ and σ2 are finite valued constants and denotes convergence in distribution, then
:
for any function g satisfying the property that its first derivative, evaluated at , exists and is non-zero valued.
The intuition of the delta method is that any such g function, in a "small enough" range of the function, can be approximated via a first order Taylor series (which is basically a linear function). If the random variable is roughly normal then a linear 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=
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 the mean value theorem (i.e.: the first order approximation of a Taylor series using Taylor's theorem):
:
where lies between {{mvar|Xn}} and θ.
Note that since and , it must be that and since {{math|g′(θ)}} is continuous, applying the continuous mapping theorem yields
:
where denotes convergence in probability.
Rearranging the terms and multiplying by gives
:
Since
:
by assumption, it follows immediately from appeal to Slutsky's theorem that
:
This concludes the proof.
==Proof with an explicit order of approximation==
Alternatively, one can add one more step at the end, to obtain the order of approximation:
:
\begin{align}
\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{align}
This suggests that the error in the approximation converges to 0 in probability.
Multivariate delta method
By definition, a consistent estimator B converges in probability to its true value β, and often a central limit theorem can be applied to obtain asymptotic normality:
:
where n 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 function h of the estimator B. Keeping only the first two terms of the Taylor series, and using vector notation for the gradient, we can estimate h(B) as
:
which implies the variance of h(B) is approximately
:
\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{align}
One can use the mean 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
Suppose Xn is binomial with parameters and n. Since
:
we can apply the Delta method with {{math|g(θ) {{=}} log(θ)}} to see
:
Hence, even though for any finite n, the variance of does not actually exist (since Xn can be zero), the asymptotic variance of does exist and is equal to
:
Note that since p>0, as , so with probability converging to one, is finite for large n.
Moreover, if and are estimates of different group rates from independent samples of sizes n and m respectively, then the logarithm of the estimated relative risk has asymptotic variance equal to
:
This is useful to construct a hypothesis test or to make a confidence interval for the relative risk.
Alternative form
The delta method is often used in a form that is essentially identical to that above, but without the assumption that {{mvar|Xn}} or B 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:{{cite book |last=Klein |first=L. R. |author-link=Lawrence Klein |year=1953 |title=A Textbook of Econometrics |page=258 |url=https://books.google.com/books?id=uzwiAAAAMAAJ&pg=PA258 }}
:
\operatorname{Var} \left(h_r \right) = & \sum_i \left( \frac{\partial h_r}{\partial B_i} \right)^2 \operatorname{Var}\left( B_i \right) + \sum_i \sum_{j \neq i} \left( \frac{ \partial h_r }{ \partial B_i } \right) \left( \frac{ \partial h_r }{ \partial B_j } \right) \operatorname{Cov}\left( B_i, B_j \right) \\
\operatorname{Cov}\left( h_r, h_s \right) = & \sum_i \left( \frac{ \partial h_r }{ \partial B_i } \right) \left( \frac{\partial h_s }{ \partial B_i } \right) \operatorname{Var}\left( B_i \right) + \sum_i \sum_{j \neq i} \left( \frac{\partial h_r}{\partial B_i} \right) \left(\frac{\partial h_s}{\partial B_j} \right) \operatorname{Cov}\left( B_i, B_j \right)
\end{align}
where {{mvar|hr}} is the rth element of h(B) and Bi is the ith element of B.
Second-order delta method
When {{math|1=g′(θ) = 0}} the delta method cannot be applied. However, if {{math|g′′(θ)}} 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 the weighted sum of a standard normal and a chi-square with 1 degree of freedom.
Nonparametric delta method
A version of the delta method exists in nonparametric statistics. Let be an independent and identically distributed random variable with a sample of size with an empirical distribution function , and let be a functional. If is Hadamard differentiable with respect to the Chebyshev metric, then
:
where and , with denoting the empirical influence 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.
See also
References
{{Reflist}}
Further reading
- {{cite journal |last=Oehlert |first=G. W. |year=1992 |title=A Note on the Delta Method |journal=The American Statistician |volume=46 |issue=1 |pages=27–29 |jstor=2684406 |doi=10.1080/00031305.1992.10475842}}
- {{cite book |first=Kirk M. |last=Wolter |chapter=Taylor Series Methods |title=Introduction to Variance Estimation |location=New York |publisher=Springer |year=1985 |isbn=0-387-96119-4 |pages=221–247 |chapter-url=https://books.google.com/books?id=EadxTw0t2dMC&pg=PA221 }}
- {{cite book |first=Larry |last=Wasserman |title=All of Nonparametric Statistics| location=New York |publisher=Springer |year=2006 |isbn=0-387-25145-6 |pages=19–20 }}
External links
- {{cite web|first=Søren|last=Asmussen|publisher=Aarhus University|title=Some Applications of the Delta Method|url=https://data.math.au.dk/courses/advsimmethod/Fall05/notes/1209.pdf|url-status=dead|archive-url=https://web.archive.org/web/20150525191234/http://data.math.au.dk/courses/advsimmethod/Fall05/notes/1209.pdf|archive-date=May 25, 2015|work=Lecture notes|date=2005}}
- {{cite web |title=Explanation of the delta method |first=Alan H. |last=Feiveson |publisher=Stata Corp. |url=https://www.stata.com/support/faqs/statistics/delta-method/ }}
Category:Statistical approximations