Rahul Sharma (Editor)

Delta method

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In statistics, the delta method is a result concerning the approximate probability distribution for a function of an asymptotically normal statistical estimator from knowledge of the limiting variance of that estimator.

Contents

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 Xn satisfying

n [ X n θ ] D N ( 0 , σ 2 ) ,

where θ and σ2 are finite valued constants and D denotes convergence in distribution, then

n [ g ( X n ) g ( θ ) ] D N ( 0 , σ 2 [ g ( θ ) ] 2 )

for any function g satisfying the property that g′(θ) exists and is non-zero valued.

Proof in the univariate case

Demonstration of this result is fairly straightforward under the assumption that g′(θ) is continuous. To begin, we use the mean value theorem (i.e.: the first order approximation of a Taylor series using Taylor's theorem):

g ( X n ) = g ( θ ) + g ( θ ~ ) ( X n θ ) ,

where θ ~ lies between Xn and θ. Note that since X n P θ and X n < θ ~ < θ , it must be that θ ~ P θ and since g′(θ) is continuous, applying the continuous mapping theorem yields

g ( θ ~ ) P g ( θ ) ,

where P denotes convergence in probability.

Rearranging the terms and multiplying by n gives

n [ g ( X n ) g ( θ ) ] = g ( θ ~ ) n [ X n θ ] .

Since

n [ X n θ ] D N ( 0 , σ 2 )

by assumption, it follows immediately from appeal to Slutsky's theorem that

n [ g ( X n ) g ( θ ) ] D N ( 0 , σ 2 [ g ( θ ) ] 2 ) .

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:

n [ g ( X n ) g ( θ ) ] = g ( θ ~ ) n [ X n θ ] = n [ X n θ ] [ g ( θ ~ ) + g ( θ ) g ( θ ) ] = n [ X n θ ] [ g ( θ ) ] + n [ X n θ ] [ g ( θ ~ ) g ( θ ) ] = n [ X n θ ] [ g ( θ ) ] + O p ( 1 ) o p ( 1 ) = n [ X n θ ] [ g ( θ ) ] + o p ( 1 )

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:

n ( B β ) D N ( 0 , Σ ) ,

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 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

h ( B ) h ( β ) + h ( β ) T ( B β )

which implies the variance of h(B) is approximately

Var ( h ( B ) ) Var ( h ( β ) + h ( β ) T ( B β ) ) = Var ( h ( β ) + h ( β ) T B h ( β ) T β ) = Var ( h ( β ) T B ) = h ( β ) T Cov ( B ) h ( β ) = h ( β ) T ( Σ / n ) h ( β )

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

n ( h ( B ) h ( β ) ) D N ( 0 , h ( β ) T Σ h ( β ) )

or in univariate terms,

n ( h ( B ) h ( β ) ) D N ( 0 , σ 2 ( h ( β ) ) 2 ) .

Example

Suppose Xn is Binomial with parameters p ( 0 , 1 ] and n. Since

n [ X n n p ] D N ( 0 , p ( 1 p ) ) ,

we can apply the Delta method with g(θ) = log(θ) to see

n [ log ( X n n ) log ( p ) ] D N ( 0 , p ( 1 p ) [ 1 / p ] 2 )

Hence, even though for any finite n, the variance of log ( X n n ) does not actually exist (since Xn can be zero), the asymptotic variance of log ( X n n ) does exist and is equal to

1 p p .

Note that since p>0, Pr ( X n n > 0 ) 1 as n , so with probability converging to one, log ( X n n ) is finite for large n.

Moreover, if p ^ and q ^ are estimates of different group rates from independent samples of sizes n and m respectively, then the logarithm of the estimated relative risk p ^ q ^ has asymptotic variance equal to

1 p p n + 1 q q m .

This is useful to construct a hypothesis test or to make a confidence interval for the relative risk.

Note

The delta method is often used in a form that is essentially identical to that above, but without the assumption that 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:

Var ( h r ) = i ( h r B i ) 2 Var ( B i ) + i j i ( h r B i ) ( h r B j ) Cov ( B i , B j ) Cov ( h r , h s ) = i ( h r B i ) ( h s B i ) Var ( B i ) + i j i ( h r B i ) ( h s B j ) Cov ( B i , B j )

where hr is the rth element of h(B) and Biis the ith element of B. The only difference is that Klein stated these as identities, whereas they are actually approximations.

References

Delta method Wikipedia