Tutorials › Multivariate Statistics (Graduate) › Common Errors in Robust Multivariate Inference

Robust Multivariate Inference · Tutorial 752 of 975

Common Errors in Robust Multivariate Inference

Recognize common errors in robust multivariate inference and correct them by aligning the target, covariance, distance interpretation, and calibration with the assumptions of the analysis.

Advanced 11 min read

What You'll Learn

  • Distinguish a robust location target from the arithmetic mean of a contaminated distribution
  • Match a Wald test’s covariance estimate to the asymptotic covariance of its estimator
  • Interpret robust distances as diagnostics rather than automatic probability statements
  • Identify when chi-square distance cutoffs require Gaussian assumptions
  • Explain why equal locations alone do not justify an exact label-permutation test

Why Robust Inference Can Still Go Wrong

Using a robust estimator does not, by itself, make an inference robust or correctly calibrated. A test can be numerically stable and still answer the wrong scientific question; a robust scatter estimate can be used in the wrong place; and a distance cutoff can be treated as a probability statement when its reference distribution does not apply. These errors are especially easy to make because many procedures use similar-looking matrices and statistics.

The central discipline is to keep four objects distinct: the estimand (the population quantity of interest), the estimator’s sampling covariance, the scatter used to describe observations, and the reference distribution used to calibrate a test or diagnostic. The calculations below show how confusing them changes conclusions.

First Identify the Estimand

Definition: An estimand is the population quantity a procedure is intended to estimate. For a distribution \(F\), a location functional \(T(F)\) assigns a location vector to \(F\). Different location functionals can have different values for the same distribution. A robust method does not have one universal “robust center”; its target is determined by the functional, the model, and the assumptions under which it is used.

A robust location procedure may be designed to estimate the center of a dominant, approximately homogeneous component despite a small contaminated fraction. The arithmetic mean, by contrast, is the mean of the entire distribution, including that fraction. Neither target is automatically the correct one: the scientific question decides. Testing whether a core population is centered at zero is not the same as testing whether the contaminated mixture has mean zero.

Worked Example: Core Location Versus Mixture Mean

Suppose a population follows the contamination model \(F=0.95N_2(\theta,I_2)+0.05\delta_{(6,0)}\), where \(I_2\) is the \(2\)-by-\(2\) identity matrix and \(\delta_{(6,0)}\) puts all its probability at \((6,0)\). Let the core location be \(\theta=(0,0)\).

The mean of the core distribution is \((0,0)\), and the contaminating point has mean \((6,0)\). By linearity of expectation, the mixture mean is \(0.95(0,0)+0.05(6,0)=(0.30,0)\).

Thus the null hypothesis “the core location is \((0,0)\)” is true in the stated model, while the null hypothesis “the mixture mean is \((0,0)\)” is false. A robust procedure intended to estimate the core location must be interpreted and calibrated for that target under its stated contamination assumptions; one cannot infer that every robust location estimator equals \((0,0)\) for this mixture.

Correction. State the target before selecting or interpreting a test. If the scientific question concerns the whole mixture mean, use an estimator and inference for that mean. If it concerns the core location, use a procedure whose assumptions and estimand support that interpretation.

Do Not Substitute Scatter for Estimator Covariance

A scatter matrix describes the spread of observations. The covariance matrix of an estimator describes how that estimator varies across repeated samples. They are different quantities, even when both are estimated robustly. A Wald statistic requires the latter, on the scale of the estimator’s sampling variation.

Theorem: Let \(T_n\) estimate a \(p\)-dimensional parameter \(\theta\), and suppose \(\sqrt n(T_n-\theta)\xrightarrow{d}N_p(0,V)\), where \(V\) is positive definite. If \(\widehat V_n\xrightarrow{p}V\), then under \(H_0:\theta=\theta_0\), \(W_n=n(T_n-\theta_0)^\mathsf{T}\widehat V_n^{-1}(T_n-\theta_0)\xrightarrow{d}\chi^2_p\).

The theorem concerns \(V\), the asymptotic covariance of the scaled estimator. It does not say to insert any robust estimate of the observations’ scatter in its place.

Proof. Under the null, set \(Z_n=\sqrt n(T_n-\theta_0)\). By assumption, \(Z_n\xrightarrow{d}Z\), where \(Z\sim N_p(0,V)\). Since \(V\) is positive definite and \(\widehat V_n\xrightarrow{p}V\), continuity of matrix inversion gives \(\widehat V_n^{-1}\xrightarrow{p}V^{-1}\). Slutsky’s theorem and continuity of the quadratic-form map therefore give \(W_n\xrightarrow{d}Z^\mathsf{T}V^{-1}Z\). Write \(Z=V^{1/2}U\), where \(U\sim N_p(0,I_p)\). Then \(Z^\mathsf{T}V^{-1}Z=U^\mathsf{T}U\), the sum of squares of \(p\) independent standard normal variables, which has a \(\chi^2_p\) distribution. \(\square\)

Worked Example: The Wrong Matrix Inflates a Wald Test

Let \(X_1,\ldots,X_n\) be independent observations from \(N_2(\theta,I_2)\). Estimate \(\theta\) by the two coordinate-wise sample medians, \(T_n\). For a univariate normal location with variance \(1\), the sample median has asymptotic variance \(\pi/(2n)\). The coordinates are independent, so \(\sqrt n(T_n-\theta)\xrightarrow{d}N_2(0,(\pi/2)I_2)\).

The asymptotic covariance matrix to use in the Wald statistic is \(V=(\pi/2)I_2\). Under \(H_0:\theta=(0,0)\), the correctly scaled statistic is \(W_n=nT_n^\mathsf{T}[(\pi/2)I_2]^{-1}T_n\), which converges to \(\chi^2_2\).

Suppose instead that one substitutes the observation scatter \(I_2\) for \(V\). The resulting statistic is \(W_n^{\mathrm{wrong}}=nT_n^\mathsf{T}T_n\). Its limit is \((\pi/2)\chi^2_2\), not \(\chi^2_2\). At the nominal five-percent cutoff \(5.991\), its asymptotic rejection probability is \(P\{(\pi/2)\chi^2_2>5.991\}=P\{\chi^2_2>5.991(2/\pi)\}=\exp(-5.991/\pi)\approx 0.1485\).

The actual asymptotic rejection rate is about \(14.85\%\), not \(5\%\). The error is not that \(I_2\) is a poor description of the observation scatter; it is that it is not the covariance of the scaled median estimator. Use an estimator-specific covariance estimate, including the correct scaling by \(n\).

Robust Distances Are Not Automatically P-Values

Given a center estimate \(m\) and a positive-definite scatter estimate \(C\), the squared robust distance of an observation \(x\) is \(D^2(x)=(x-m)^\mathsf{T}C^{-1}(x-m)\). This is a standardized measure of how far \(x\) lies from \(m\) relative to \(C\). It is not, by definition, a tail probability or a test statistic with a universal reference distribution.

Result: If \(X\sim N_p(\mu,\Sigma)\), with known positive-definite \(\Sigma\), then \(D^2=(X-\mu)^\mathsf{T}\Sigma^{-1}(X-\mu)\sim\chi^2_p\). This conclusion requires the stated Gaussian model and known parameters. Replacing them with estimates, or changing the distribution, generally changes the calibration.

Derivation. Let \(Z=\Sigma^{-1/2}(X-\mu)\). Under the stated Gaussian model, \(Z\sim N_p(0,I_p)\). The squared distance is \(D^2=Z^\mathsf{T}Z=\sum_{j=1}^p Z_j^2\). Since the coordinates are independent standard normal variables, this sum has a \(\chi^2_p\) distribution. \(\square\)

Worked Example: A Distance Cutoff Can Be Miscalibrated

Consider a bivariate Student \(t\) distribution with four degrees of freedom, location zero, and scale matrix \(I_2\). Use the known location and scale to form the radial squared distance \(D^2=X^\mathsf{T}X\). For this distribution, write \(X=Z/\sqrt{U/4}\), where \(Z\sim N_2(0,I_2)\), \(U\sim\chi^2_4\), and \(Z\) and \(U\) are independent.

Because \(Z^\mathsf{T}Z\sim\chi^2_2\), it follows that \(D^2=(Z^\mathsf{T}Z)/(U/4)\), so \(D^2/2\sim F_{2,4}\). It is therefore not \(\chi^2_2\). At the Gaussian five-percent cutoff \(5.991\), the actual tail probability is \(P(D^2>5.991)=P(F_{2,4}>5.991/2)=(1+5.991/4)^{-2}\approx0.1603\).

The last equality uses the \(F_{2,4}\) survival function \(P(F_{2,4}>x)=(1+x/2)^{-2}\) for \(x\geq0\). Thus a cutoff intended to flag five percent under the known-parameter Gaussian model flags about \(16.03\%\) here. The heavy-tailed model, not a computation error, accounts for the difference.

Worked Example: Calculating a Robust Distance Correctly

Suppose a robust analysis reports center \(m=(1,0)\) and scatter \(C=\begin{pmatrix}4&0\\0&1\end{pmatrix}\). For \(x=(5,2)\), first calculate \(x-m=(4,2)\), and note that \(C^{-1}=\begin{pmatrix}1/4&0\\0&1\end{pmatrix}\).

The squared distance is \(D^2=(4,2)\begin{pmatrix}1/4&0\\0&1\end{pmatrix}(4,2)^\mathsf{T}=4^2/4+2^2=4+4=8\).

This calculation establishes a distance of \(8\) relative to the reported robust center and scatter. Calling the observation a “five-percent outlier” additionally requires a justified reference distribution and cutoff for this estimation procedure and data model. The distance calculation alone does not supply them.

Calibration Must Match the Null and the Design

A test’s calibration is the rule that converts its statistic into a rejection threshold or p-value. The rule must match both the null hypothesis and the sampling design. A bootstrap can approximate a sampling distribution under suitable conditions, but it cannot repair a statistic aimed at the wrong estimand or a covariance matrix that does not estimate the needed quantity. A permutation procedure likewise requires its own validity conditions.

Worked Example: Equal Locations Do Not Guarantee Permutation Validity

Suppose two independent groups each contain bivariate observations. In group 1, observations follow \(N_2(0,I_2)\); in group 2, they follow \(N_2(0,4I_2)\). Both groups have location zero, but their distributions differ in spread.

An exact label-permutation argument requires the joint distribution to be unchanged when group labels are permuted under the null. Here it is not: an observation from group 2 has a different distribution from one in group 1, even though their locations agree. Thus equal locations alone do not establish the exchangeability needed for an exact permutation calibration of the unstudentized label-based statistic.

This does not imply that every permutation-based or studentized procedure fails in this setting. It means that validity must be justified for the particular statistic, null, and design; exchangeability cannot be inferred from a location equality alone.

Common Errors and Their Corrections

Common errorWhy it is wrongCorrection
Assuming every robust location estimate targets the mixture meanDifferent functionals can define different population targets.State the estimand and the model assumptions explicitly.
Using a robust scatter estimate as the covariance of a robust estimatorObservation scatter and estimator sampling covariance are different quantities.Estimate the asymptotic covariance of the estimator being tested.
Reading a robust distance as a calibrated tail probabilityA distance is a quadratic measure; its reference distribution depends on the model and estimation scheme.Use a justified cutoff or calibration for the stated setting.
Using a Gaussian chi-square cutoff automatically under heavy tailsThe radial distribution can have substantially heavier tails than \(\chi^2_p\).Derive or obtain calibration under the assumed distribution and design.
Permuting labels because group locations are equalEqual locations do not imply exchangeability of observations.Check the null invariance required by the permutation argument.

A practical review can be organized as four questions: What population quantity is being tested? Which covariance belongs to this estimator? What does the reported distance measure? Why is the chosen reference distribution valid? If any answer is unclear, a numerical p-value or cutoff should not yet be interpreted.

Key takeaway: Robustness is not a substitute for specifying the target, deriving the estimator’s uncertainty, or checking calibration. Correct inference requires all three to match the scientific question and the data-generating assumptions.

Check Your Understanding

Use the definitions and calculations in this tutorial to answer the following.

  1. In the contamination example, what is the mixture mean, and why is its null hypothesis distinct from a null about the core location?
  2. In a Wald statistic, what population matrix must \(\widehat V_n\) estimate for the stated chi-square limit?
  3. Why does substituting \(I_2\) for \((\pi/2)I_2\) in the coordinate-median example raise the asymptotic rejection probability?
  4. Under what model and parameter knowledge does a squared Mahalanobis distance have a \(\chi^2_p\) distribution?
  5. Why does equality of group locations alone not establish exactness of a label-permutation calibration?
Clinical Biostats