Tutorials › Statistical Theory I - Probability and Distribution Theory › Worked Problems on Multivariate Transformations

Delta Method and Limit Operations · Tutorial 894 of 994

Worked Problems on Multivariate Transformations

Learn to turn a joint asymptotic-normal limit into the limiting law of several transformed statistics, while checking every covariance calculation.

Advanced 10 min read

What You'll Learn

  • Apply the multivariate delta method to vector-valued transformations.
  • Find Jacobians for sums, products, logarithms, and ratios.
  • Calculate transformed variances and cross-covariances using the full covariance matrix.
  • Check whether transformations are smooth near the limiting parameter.
  • Diagnose the error caused by dropping dependence between components.

From a Joint Limit to Several Transformed Limits

In applications, several statistics are often calculated from the same random quantities. A sum and a product, for example, share the same inputs, so their limiting errors can be correlated. The multivariate delta method handles such quantities together: it uses the joint asymptotic distribution of the inputs and the derivative matrix of the transformation.

The calculations are compact, but they are easy to get wrong if a covariance term is omitted or a matrix product is miscomputed. The examples below show how to find the Jacobian at the limiting value, transform the full covariance matrix, and interpret the resulting joint limit.

Definition: Let \(Z_n\) be a random vector in \(\mathbb{R}^p\), let \(\mu\in\mathbb{R}^p\), and suppose \(\sqrt n(Z_n-\mu)\xrightarrow{d}N_p(0,\Sigma)\), where \(\Sigma\) is a covariance matrix. Let \(g\) map a neighborhood of \(\mu\) into \(\mathbb{R}^q\) and be differentiable at \(\mu\). Its Jacobian \(Dg(\mu)\) is the \(q\times p\) matrix whose \((i,j)\) entry is the partial derivative of the \(i\)th component of \(g\) with respect to the \(j\)th input, evaluated at \(\mu\).

The Multivariate Delta Method

Theorem: Under the conditions in the definition, \(\sqrt n\{g(Z_n)-g(\mu)\}\xrightarrow{d}N_q(0,Dg(\mu)\Sigma Dg(\mu)^{\mathsf T})\). The limiting covariance matrix may be singular.

The centering is \(g(\mu)\), and the derivative matrix is evaluated at \(\mu\), not at the observed value \(Z_n\). The theorem covers a vector of transformed statistics: each row of the Jacobian describes the first-order change in one output.

To justify the result, write \(J=Dg(\mu)\). Differentiability at \(\mu\) gives \(g(Z_n)=g(\mu)+J(Z_n-\mu)+r_n\), where \(\|r_n\|/\|Z_n-\mu\|\to 0\) as \(Z_n\to\mu\), with the remainder taken as zero when \(Z_n=\mu\). The assumed convergence implies \(\sqrt n(Z_n-\mu)=O_p(1)\), and therefore \(Z_n-\mu\xrightarrow{p}0\). It follows that \(\sqrt n\|r_n\|\xrightarrow{p}0\): it is the product of a term converging in probability to zero and a term bounded in probability. Thus \(\sqrt n\{g(Z_n)-g(\mu)\}=J\sqrt n(Z_n-\mu)+o_p(1)\). The continuous mapping theorem gives \(J\sqrt n(Z_n-\mu)\xrightarrow{d}JW\), where \(W\sim N_p(0,\Sigma)\); Slutsky’s theorem allows the \(o_p(1)\) remainder to be removed.

For completeness, the covariance transformation follows directly from the characteristic function of a multivariate normal vector. For any \(t\in\mathbb{R}^q\), \(E[\exp(i t^{\mathsf T}JW)]=\exp\{-\tfrac12(J^{\mathsf T}t)^{\mathsf T}\Sigma(J^{\mathsf T}t)\}=\exp\{-\tfrac12t^{\mathsf T}J\Sigma J^{\mathsf T}t\}\). This is the characteristic function of \(N_q(0,J\Sigma J^{\mathsf T})\), proving the claimed covariance formula. \(\square\)

Worked Example: A Sum and Product From the Same Pair

Suppose \(\sqrt n\{(X_n,Y_n)^{\mathsf T}-(2,3)^{\mathsf T}\}\xrightarrow{d}N_2(0,\Sigma)\), with \(\Sigma=\begin{pmatrix}4&1\\1&9\end{pmatrix}\). Find the joint limit of the sum \(S_n=X_n+Y_n\) and product \(P_n=X_nY_n\).

Set \(g(x,y)=(x+y,xy)^{\mathsf T}\). At \((2,3)\), \(g(2,3)=(5,6)^{\mathsf T}\), and \[ Dg(2,3)= \begin{pmatrix} 1&1\\ 3&2 \end{pmatrix} =J. \]

$$ J\Sigma= \begin{pmatrix}1&1\\3&2\end{pmatrix} \begin{pmatrix}4&1\\1&9\end{pmatrix} = \begin{pmatrix}5&10\\14&21\end{pmatrix}, \qquad J\Sigma J^{\mathsf T} = \begin{pmatrix}15&35\\35&84\end{pmatrix}. $$

For instance, the sum’s limiting variance is \(4+1+1+9=15\). The product’s is \((3,2)\Sigma(3,2)^{\mathsf T}=3(14)+2(21)=84\). Their limiting covariance is \((1,1)\Sigma(3,2)^{\mathsf T}=14+21=35\). Hence

$$ \sqrt n \begin{pmatrix}S_n-5\\P_n-6\end{pmatrix} \xrightarrow{d} N_2\left( \begin{pmatrix}0\\0\end{pmatrix}, \begin{pmatrix}15&35\\35&84\end{pmatrix} \right). $$

The off-diagonal entry is substantial: the same upward fluctuations in \(X_n\) and \(Y_n\) tend to increase both the sum and the product.

Ratios and Cross-Covariances

A ratio is smooth near a point where its denominator is nonzero. When a ratio is combined with another statistic, its covariance with that statistic must be calculated from the same joint input covariance matrix. In particular, the off-diagonal entries of that matrix cannot be discarded.

Worked Example: A Logarithm and a Ratio

Suppose \(A_n>0\) and \(B_n>0\), and \(\sqrt n\{(A_n,B_n)^{\mathsf T}-(4,2)^{\mathsf T}\}\xrightarrow{d}N_2(0,\Sigma)\), where \(\Sigma=\begin{pmatrix}9&2\\2&4\end{pmatrix}\). Find the joint limit of \(\log A_n\) and \(A_n/B_n\).

Take \(g(a,b)=(\log a,a/b)^{\mathsf T}\), so \(g(4,2)=(\log 4,2)^{\mathsf T}\). Its Jacobian at \((4,2)\) is

$$ J= \begin{pmatrix} 1/4&0\\ 1/2&-1 \end{pmatrix}. $$

The transformed covariance can be checked one row at a time. The first row \(u=(1/4,0)\) gives \(u\Sigma=(9/4,1/2)\), and hence \(u\Sigma u^{\mathsf T}=9/16\). For the second row \(v=(1/2,-1)\),

$$ \Sigma v^{\mathsf T} = \begin{pmatrix}9&2\\2&4\end{pmatrix} \begin{pmatrix}1/2\\-1\end{pmatrix} = \begin{pmatrix}9/2-2\\1-4\end{pmatrix} = \begin{pmatrix}5/2\\-3\end{pmatrix}. $$

Therefore \(v\Sigma v^{\mathsf T}=(1/2)(5/2)+(-1)(-3)=17/4\). The cross-covariance is \(u\Sigma v^{\mathsf T}=(1/4,0)(5/2,-3)^{\mathsf T}=5/8\). Thus

$$ \sqrt n \begin{pmatrix}\log A_n-\log 4\\A_n/B_n-2\end{pmatrix} \xrightarrow{d} N_2\left( \begin{pmatrix}0\\0\end{pmatrix}, \begin{pmatrix}9/16&5/8\\5/8&17/4\end{pmatrix} \right). $$

As a check, the determinant of the displayed covariance matrix is \((9/16)(17/4)-(5/8)^2=153/64-25/64=2>0\). The positive cross-covariance is consistent with the shared variation in \(A_n\).

Another Smooth Vector Transformation

Worked Example: Log-Ratio and Total

Let \(X_n,Y_n>0\) and suppose \(\sqrt n\{(X_n,Y_n)^{\mathsf T}-(2,1)^{\mathsf T}\}\xrightarrow{d}N_2(0,\Sigma)\), where \(\Sigma=\begin{pmatrix}1&1/5\\1/5&4\end{pmatrix}\). Find the joint limit of the log-ratio \(\log(X_n/Y_n)\) and total \(X_n+Y_n\).

For \(g(x,y)=(\log(x/y),x+y)^{\mathsf T}\), the limiting center is \(g(2,1)=(\log 2,3)^{\mathsf T}\), and

$$ J=Dg(2,1)= \begin{pmatrix} 1/2&-1\\ 1&1 \end{pmatrix}. $$

For the first row \(u=(1/2,-1)\), matrix multiplication gives \(\Sigma u^{\mathsf T}=(3/10,-39/10)^{\mathsf T}\). Thus its variance is \((1/2)(3/10)+(-1)(-39/10)=81/20\). For the second row \(v=(1,1)\), \(\Sigma v^{\mathsf T}=(6/5,21/5)^{\mathsf T}\), so its variance is \(6/5+21/5=27/5\). The cross-covariance is \(u\Sigma v^{\mathsf T}=(1/2)(6/5)-21/5=-18/5\). The joint limit is consequently

$$ \sqrt n \begin{pmatrix}\log(X_n/Y_n)-\log 2\\X_n+Y_n-3\end{pmatrix} \xrightarrow{d} N_2\left( \begin{pmatrix}0\\0\end{pmatrix}, \begin{pmatrix}81/20&-18/5\\-18/5&27/5\end{pmatrix} \right). $$

The negative covariance has a direct interpretation: increasing \(X_n/Y_n\) can accompany a decrease in \(Y_n\), which may offset an increase in the total. The sign is determined by the derivatives and the joint input covariance, not by the names of the statistics.

Common Mistake: Treating the Inputs as Independent

A frequent error is to use only the diagonal entries of \(\Sigma\), as if the components of \(Z_n\) were independent. For a row vector \(a\), the correct transformed variance is \(a\Sigma a^{\mathsf T}\). In two dimensions this is \(a_1^2\Sigma_{11}+2a_1a_2\Sigma_{12}+a_2^2\Sigma_{22}\); the middle term disappears only when the input covariance \(\Sigma_{12}\) is zero.

In the logarithm-and-ratio example, the crucial multiplication is \(\Sigma(1/2,-1)^{\mathsf T}=(5/2,-3)^{\mathsf T}\), not \((0,-3)^{\mathsf T}\). The first component includes the contribution \(9/2-2=5/2\). Omitting it changes both the ratio variance and its covariance with the logarithm. A reliable practice is to write out each matrix-vector product before taking the final dot product.

The smoothness condition is also substantive. The Jacobian formulas for a logarithm require a positive argument near the limiting point; a ratio requires a denominator that is nonzero there. When the limiting point satisfies these conditions, continuity ensures the transformed sequence is in the relevant domain with probability tending to one. Transformations at a kink or at a boundary require different considerations and are not handled by this differentiable version of the method.

Key takeaway: For jointly asymptotic-normal inputs, differentiate the entire vector transformation at the limiting center and calculate \(J\Sigma J^{\mathsf T}\) using the full covariance matrix. Its diagonal entries are transformed variances; its off-diagonal entries describe dependence among the transformed statistics.

Check Your Understanding

For each question, identify the derivative or covariance calculation that is needed.

  1. If \(g(x,y)=(x+y,xy)^{\mathsf T}\), what is \(Dg(x,y)\), and at which point should it be evaluated for a sequence converging to \((\mu_1,\mu_2)\)?
  2. For a scalar transformation with gradient \(a\), write its limiting variance in terms of \(a\) and the input covariance matrix \(\Sigma\).
  3. Why can the two components of a transformed vector have nonzero limiting covariance even when each transformed component has a simple formula?
  4. In the logarithm-and-ratio example, verify the cross-covariance by calculating \((1/4,0)\Sigma(1/2,-1)^{\mathsf T}\).
  5. What condition on the limiting denominator is needed to apply the differentiable delta method to a ratio?