01 / 22

Taylor Expansions
for Approximations

Master the Delta Method and Taylor series to approximate distributions of transformed random variables: the cornerstone of asymptotic statistics.

Statistics

What Is a Taylor Expansion?

A Taylor expansion approximates a smooth function \( g(x) \) near a point \( a \) using its derivatives. For statistics, we expand around a population parameter \( \theta \) to study how random variation in estimators propagates through transformations.

Visual Intuition

x y a tangent line \( g(x) \) error

Why It Matters in Statistics

Variance Estimation
Approximate \(\text{Var}(g(\hat\theta))\) without complex exact distributions.
Confidence Intervals
Build CIs for transformed parameters like \(\log(\hat p)\) or \(1/\bar{X}\).
Asymptotic Theory
Derive limiting distributions of MLEs under smooth transformations.

When \(\hat\theta_n\) is asymptotically normal, a Taylor expansion lets us transfer that normality to any smooth function \( g(\hat\theta_n) \): this is the Delta Method.

The General Taylor Expansion

1
Order 0: \( g(x) \approx g(a) \) — a constant approximation.
2
Order 1: \( g(x) \approx g(a) + g'(a)(x - a) \) — linear (Delta Method).
3
Order 2: \( g(x) \approx g(a) + g'(a)(x - a) + \tfrac{1}{2}g''(a)(x-a)^2 \) — captures curvature.

The Delta Method

How the Delta Method Works

\( \hat\theta_n \sim N(\theta, \sigma^2/n) \) \( g(\cdot) \) \( g(\hat\theta_n) \) \( \approx N(g(\theta),\; \sigma^2[g'(\theta)]^2/n) \) Input distribution Output distribution

The input normal distribution of \(\hat\theta_n\) passes through the transformation \(g\), and the output is approximately normal with variance scaled by \([g'(\theta)]^2\).

First-Order vs Second-Order

First-Order Second-Order
Expansion \( g(\theta) + g'(\theta)(\hat\theta - \theta) \) \( \ldots + \tfrac{1}{2}g''(\theta)(\hat\theta - \theta)^2 \)
Captures Linear trend only Linear trend + curvature
Bias term Ignored (order \(1/n\)) \( \approx \tfrac{g''(\theta)\sigma^2}{2n} \)
Variance \( \sigma^2[g'(\theta)]^2 / n \) Adds higher-order corrections
When to use Large \( n \), mild curvature Small \( n \), strong curvature

The Multivariate Delta Method

Here \( \nabla g(\boldsymbol\theta) \) is the gradient vector of partial derivatives. The asymptotic variance becomes a quadratic form in the covariance matrix \( \boldsymbol\Sigma \).

How to Apply the Delta Method

1
Identify \(\hat\theta_n\): Find the estimator and confirm it is asymptotically normal with known variance \(\sigma^2/n\).
2
Define \(g\): Write the transformation of interest as a differentiable function.
3
Compute \(g'(\theta)\): Differentiate and evaluate at the true parameter. Verify \( g'(\theta) \neq 0 \).
4
Apply the formula: \( g(\hat\theta_n) \) is approximately \( N\!\left(g(\theta),\; \sigma^2[g'(\theta)]^2/n\right) \).
5
Build the CI or test: Plug in \(\hat\theta_n\) for \(\theta\) to estimate the variance, then construct intervals or test statistics.

Example 1: \(\log(\bar{X})\)

Let \( X_1, \ldots, X_n \overset{iid}{\sim} \text{Exp}(\lambda) \). Then \( \bar{X}_n \) is the MLE of \( \mu = 1/\lambda \). Find the asymptotic distribution of \( g(\bar{X}_n) = \log(\bar{X}_n) \).

1
Estimator: By CLT, \( \sqrt{n}(\bar{X}_n - \mu) \xrightarrow{d} N(0, \mu^2) \), as \(\text{Var}(X_i) = \mu^2\). The asymptotic variance of \(\bar{X}_n\) is thus \(\mu^2/n\).
2
Transformation: \( g(x) = \log(x) \), so \( g'(x) = 1/x \), and \( g'(\mu) = 1/\mu \).
3
Delta Method: The asymptotic variance is \( [g'(\mu)]^2 \cdot \text{Var}(\bar{X}_n) \approx (1/\mu)^2 \cdot (\mu^2/n) = 1/n \).

Example 2: \(\bar{X}^2\)

Let \( X_1, \ldots, X_n \overset{iid}{\sim} N(\mu, \sigma^2) \). Find the asymptotic distribution of \( g(\bar{X}_n) = \bar{X}_n^2 \).

1
Setup: \( \sqrt{n}(\bar{X}_n - \mu) \xrightarrow{d} N(0, \sigma^2) \).
2
Derivative: \( g(x) = x^2 \), so \( g'(x) = 2x \), and \( g'(\mu) = 2\mu \).
3
Apply: \( \sqrt{n}(\bar{X}_n^2 - \mu^2) \xrightarrow{d} N(0,\; 4\mu^2\sigma^2) \).

Example 3: Variance Stabilization

For Poisson data with \( \hat\lambda = \bar{X}_n \), the variance of \(\hat\lambda\) depends on \(\lambda\). We seek \( g \) such that \(\text{Var}(g(\hat\lambda))\) is constant.

When \( g'(\theta) = 0 \): Second-Order

When the first derivative vanishes at the expansion point, the linear term disappears and we must go to the next order.

Notice the rate changes from \(\sqrt{n}\) to \(n\), and the limiting distribution changes from normal to chi-squared. The convergence is slower and the limit is non-Gaussian.

Confidence Intervals via Delta Method

The Delta Method gives us an asymptotic CI for \( g(\theta) \). Since we rarely know \(\theta\), we plug in the estimator:

Direct CI
Transform endpoints of a CI for \(\theta\): \(\big(g(\hat\theta_L),\; g(\hat\theta_U)\big)\). Works when \(g\) is monotone.
Delta Method CI
Use the approximated variance directly. More general, works for non-monotone \(g\) but relies on normality.

Common Mistakes

✕ Ignoring \( g'(\theta) = 0 \)
When the derivative is zero, the first-order Delta Method gives a degenerate (zero variance) answer. You must use the second-order result.
✕ Forgetting to Square \( g' \)
The variance formula involves \( [g'(\theta)]^2 \), not \( g'(\theta) \). A common algebra slip: always square the derivative.
✕ Non-differentiable \( g \)
The Delta Method requires \( g \) to be differentiable at \(\theta\). Functions like \( |x| \) at \( x = 0 \) violate this assumption.

Summary of Key Formulas

Scenario & Condition Scaled Statistic Limiting Distribution
Univariate, 1st Order
\( g'(\theta) \neq 0 \)
\( \sqrt{n}(g(\hat\theta_n) - g(\theta)) \) \( N(0,\; \sigma^2[g'(\theta)]^2) \)
Univariate, 2nd Order
\( g'(\theta) = 0, g''(\theta) \neq 0 \)
\( n(g(\hat\theta_n) - g(\theta)) \) \( \frac{\sigma^2 g''(\theta)}{2} \chi^2_1 \)
Multivariate
\( \nabla g(\boldsymbol\theta) \neq \mathbf{0} \)
\( \sqrt{n}(g(\hat{\boldsymbol\theta}_n) - g(\boldsymbol\theta)) \) \( N(0,\; \nabla g^\top \boldsymbol\Sigma \nabla g) \)
Variance Stabilization
Solve \( [g'(\theta)]^2 v(\theta) = c \)
\( \sqrt{n}(g(\hat\theta_n) - g(\theta)) \) \( N(0, c) \)

Question 1 of 5

If \( \sqrt{n}(\hat\theta_n - \theta) \xrightarrow{d} N(0, \sigma^2) \) and \( g(x) = e^x \), what is the asymptotic variance of \( g(\hat\theta_n) \)?

Question 2 of 5

For Poisson data, the variance-stabilizing transformation is:

Question 3 of 5

When \( g'(\theta) = 0 \) and \( g''(\theta) \neq 0 \), the second-order Delta Method tells us the limiting distribution is:

Question 4 of 5

In the multivariate Delta Method, the asymptotic variance of \( g(\hat{\boldsymbol\theta}_n) \) involves:

Question 5 of 5

If \( \bar{X}_n \sim N(\mu, \sigma^2/n) \) and \(g(x) = 1/x\) with \( \mu \neq 0 \), the asymptotic variance of \(1/\bar{X}_n\) is: