Tutorials › Multivariate Statistics (Graduate) › Bootstrap Calibration of Robust Multivariate Tests

Robust Multivariate Inference · Tutorial 747 of 975

Bootstrap Calibration of Robust Multivariate Tests

Choose a bootstrap scheme that reproduces the null hypothesis and sampling structure, then assess when its robust-test calibration is trustworthy.

Advanced 12 min read

What You'll Learn

  • Define a null-imposed bootstrap and distinguish it from resampling under the fitted alternative.
  • Match the resampling unit to independent observations, groups, or regression designs.
  • Construct bootstrap calibration for robust location, unequal-scatter comparisons, and regression tests.
  • Identify assumptions behind asymptotic bootstrap validity for a robust Wald statistic.
  • Recognize when naive resampling can fail, including for dependent data and nonsmooth estimators.
  • Compute a Monte Carlo bootstrap p-value and interpret its finite simulation resolution.

Why Calibrate a Robust Test by Bootstrap?

A robust test may use a location or regression estimator that resists outliers, a robust scatter estimate, or a statistic whose finite-sample distribution is difficult to approximate. A textbook reference distribution can then give poor tail probabilities, especially with small samples, heavy tails, or unequal group scatters. Bootstrap calibration estimates the null distribution by repeatedly generating data that mimic the sampling process, refitting the robust procedure each time, and comparing the observed statistic with the resulting bootstrap statistics.

The design has two separate decisions. First, determine what must be resampled together: an observation, a group-specific observation, a cluster, or a response conditional on a design point. Second, ensure the bootstrap distribution represents the null hypothesis, rather than simply reproducing the observed effect. Getting either decision wrong can give a precise-looking but invalid p-value.

Definition: A null-imposed bootstrap generates bootstrap data from a fitted or empirical distribution constrained to satisfy the null hypothesis. For a test statistic \(T_n\), its bootstrap tail probability is estimated from \(T_n^{*(b)}\), the statistic recomputed on bootstrap sample \(b\), using the same fitting and testing steps as for the observed data.

Test Statistics and the Bootstrap Reference Distribution

For a \(d\)-dimensional location parameter \(\mu\), a common robust Wald statistic for \(H_0:\mu=\mu_0\) is

$$ T_n=n(\hat{\mu}-\mu_0)^\mathsf{T}\hat{\Omega}^{-1}(\hat{\mu}-\mu_0), $$

where \(\hat{\mu}\) is a robust location estimator and \(\hat{\Omega}\) estimates the asymptotic covariance matrix of \(\sqrt n(\hat{\mu}-\mu)\). The matrix \(\hat{\Omega}\) is not automatically the robust scatter estimate of the observations: it must estimate the sampling covariance of the chosen estimator. If the statistic tests \(q\) independent linear restrictions, replace the difference by the \(q\)-dimensional restriction residual and use its estimated covariance.

With \(B\) bootstrap replications, a standard Monte Carlo tail estimate for a large-value test is

$$ \hat p_{\mathrm{boot}}= \frac{1+\sum_{b=1}^{B} I(T_n^{*(b)}\geq T_n)}{B+1}. $$

The added one prevents a reported zero when no simulated value exceeds the observed statistic. It does not make a general bootstrap test an exact finite-sample test. Its calibration is usually approximate and depends on the bootstrap distribution representing the null law well.

How to Impose the Null

For a one-sample location test, one construction starts with residuals \(R_i=X_i-\hat{\mu}\), where \(\hat{\mu}\) is a suitable robust estimate of location. Resample residual vectors as whole units and set \(X_i^*=\mu_0+R_{I_i}\), with indices \(I_i\) sampled from \(1,\ldots,n\). The generated observations are centered at the null value, while their empirical residual distribution preserves estimated shape and dependence among coordinates. In each bootstrap sample, recompute the robust location, its covariance estimate, and the test statistic.

This recipe is not universal. If a null hypothesis concerns a contrast between groups, imposing it generally requires generating all groups under the shared restriction while retaining group-specific nuisance features, such as distinct scatters. For regression, the design and response form the relevant data structure: a pairs bootstrap resamples complete rows when the design is random, while a fixed-design procedure must keep the design points fixed and generate responses under a restricted fit. Resampling individual coordinates independently would destroy their multivariate dependence; resampling regression responses without respecting their design can destroy the model being tested.

Worked Example: One-Sample Robust Location Test

A study tests whether a two-dimensional robust location equals \(\mu_0=(0,0)^\mathsf{T}\). The observed robust Wald statistic is \(T_n=6.4\). The analyst centers each residual vector at the null, resamples whole vectors, refits the robust location and its covariance estimate, and obtains \(B=9\) bootstrap statistics: \(1.2, 2.0, 3.1, 4.7, 5.8, 6.0, 6.6, 7.3, 9.1\).

The values at least as large as 6.4 are \(6.6, 7.3,\) and \(9.1\), so the exceedance count is 3. The plus-one estimate is \[ \hat p_{\mathrm{boot}}=\frac{1+3}{9+1}=0.40. \] This is a deliberately small demonstration: with only nine replications the attainable p-value resolution is coarse. The statistic must be recomputed by the full robust procedure in each replication; holding the original covariance estimate fixed would not reproduce the variability of the test.

Worked Example: Two Groups With Unequal Scatter

Suppose two independent groups have sizes \(n_1=12\) and \(n_2=18\). The null hypothesis is equality of their robust location parameters, but their scatter matrices are allowed to differ. The observed studentized robust contrast statistic is \(T=5.2\). To impose the null, estimate a common location \(\hat{\mu}_0\) subject to equality, then center each group around that common location while retaining its own residual distribution. Resample 12 residual vectors from group 1 and 18 from group 2, separately, and add \(\hat{\mu}_0\) to each selected vector.

Suppose \(B=999\) refitted bootstrap statistics include 41 values at least 5.2. Then \[ \hat p_{\mathrm{boot}}=\frac{1+41}{999+1}=\frac{42}{1000}=0.042. \] Separate resampling preserves the two sample sizes and allows the groups to retain different scatter. Pooling all residuals into one distribution would impose a common scatter pattern as well as common location; that is a stronger bootstrap model than the stated null and may miscalibrate the test.

Worked Example: Restricted Robust Regression

Consider a regression with two predictors and a response vector, and test the one-dimensional restriction \(H_0:c^\mathsf{T}\beta=0\). The observed robust Wald statistic is \(T=4.1\). There are 25 independent subjects, each with predictor row \(x_i^\mathsf{T}\) and response \(Y_i\). Under a random-design model, a pairs bootstrap samples 25 complete subject rows. To impose the restriction, first fit the robust model constrained by \(c^\mathsf{T}\beta=0\); generate bootstrap responses around that restricted fit using a resampling scheme justified for the error model, then refit both restricted and unrestricted steps as needed to form the test statistic.

For illustration, suppose 5 of \(B=199\) null-bootstrap statistics are at least 4.1. The estimated tail probability is \[ \hat p_{\mathrm{boot}}=\frac{1+5}{199+1}=\frac{6}{200}=0.03. \] The complete row is the resampling unit for random design because predictors and response belong to the same subject. If the predictor values were fixed by design, resampling rows would instead alter the design; a fixed-design response bootstrap would be needed. Neither choice is valid automatically: the bootstrap must also reflect the relevant error variance pattern and account for the robust estimator's response to leverage.

Conditions for Valid Calibration

A useful justification is available for regular robust estimators. Let \(X_1,\ldots,X_n\) be independent and identically distributed vectors under a distribution \(P\), and let \(\theta\in\mathbb{R}^d\) be the parameter under test. Suppose the estimator has an asymptotically linear representation

$$ \sqrt n(\hat{\theta}-\theta) = \frac{1}{\sqrt n}\sum_{i=1}^n \psi(X_i)+o_p(1), \qquad E[\psi(X_i)]=0,\quad E[\psi(X_i)\psi(X_i)^\mathsf{T}]=\Omega, $$

where \(\Omega\) is finite and positive definite. Assume the estimator and covariance estimate are sufficiently regular that the corresponding expansion holds conditionally for the ordinary empirical bootstrap, with \(\hat{\Omega}\xrightarrow{p}\Omega\). For a null-imposed bootstrap, assume its fitted null-generating distribution satisfies the same conditional expansion and covariance convergence. These are substantive requirements, not a consequence of calling an estimator robust. They can fail for some nonsmooth estimators, poorly estimated nuisance parameters, or bootstrap schemes that do not reproduce the sampling structure.

Theorem: Under the preceding assumptions, for testing \(H_0:\theta=\theta_0\), the robust Wald statistic \(T_n=n(\hat{\theta}-\theta_0)^\mathsf{T}\hat{\Omega}^{-1}(\hat{\theta}-\theta_0)\) converges in distribution under the null to \(\chi^2_d\). If the null-imposed bootstrap satisfies the stated conditional expansion and covariance convergence, its conditional distribution of \(T_n^*\) converges in probability to the same \(\chi^2_d\) law.

Proof. Under the null, the multivariate central limit theorem and the asymptotic linear representation give \(\sqrt n(\hat{\theta}-\theta_0)\xrightarrow{d}N_d(0,\Omega)\). Since \(\hat{\Omega}\xrightarrow{p}\Omega\), Slutsky's theorem gives \(T_n\xrightarrow{d}Z^\mathsf{T}\Omega^{-1}Z\), where \(Z\sim N_d(0,\Omega)\). Write \(Z=\Omega^{1/2}U\) for \(U\sim N_d(0,I_d)\); then \(Z^\mathsf{T}\Omega^{-1}Z=U^\mathsf{T}U\sim\chi^2_d\).

Conditionally on the data, the assumed bootstrap expansion and covariance convergence give the same limiting normal law for \(\sqrt n(\hat{\theta}^*-\theta_0)\) under the null-imposed generating distribution. Applying the same quadratic-form argument conditionally yields convergence of the bootstrap statistic's conditional distribution to \(\chi^2_d\), in probability. The limiting chi-square distribution is continuous, so its tail probabilities at fixed thresholds are continuous as well. Thus the bootstrap reproduces the limiting null calibration. \(\square\)

A related practical implication follows from the proof: all data-dependent fitting that contributes to the statistic must be repeated. If the scatter or standard error is estimated from the sample, it should usually be re-estimated in every replicate. Otherwise the bootstrap statistic may omit a source of sampling variation, and the theorem's conditional covariance argument no longer describes the computation actually performed.

Resampling Units and Failure Modes

The right resampling unit is determined by how the data were sampled, not by which option is easiest to code. For independent multivariate observations, resample complete vectors. For independent groups, resample within groups when group-specific distributions are permitted under the null. For clustered observations, resample clusters if clusters are independent and within-cluster dependence is part of the data-generating process. For fixed-design regression, retain the design and use a response-generation method justified by the error assumptions. In each case, the null restriction must be built into the bootstrap generation step or otherwise enforced by a valid calibration argument.

Bootstrap consistency is not guaranteed merely because the estimator has bounded influence or resists outliers. The empirical bootstrap may be inconsistent for a nonsmooth estimator or a statistic whose limiting law depends on features not captured by naive resampling. Heavy tails can also undermine covariance estimation or the finite-moment conditions behind a Wald approximation. If the required regularity conditions are doubtful, examine the estimator-specific theory and consider a bootstrap designed for that estimator and sampling model; do not infer validity from robustness alone.

Common pitfall: Resampling the observed data as-is and comparing the observed statistic with those replicates can reproduce the alternative rather than the null. For example, if groups have different observed locations, separately resampling each group without centering or imposing equality retains that difference. The correction is to construct bootstrap data under the tested restriction, preserve nuisance features the null allows, and recompute the full statistic in each replicate.
1
Specify the hypothesis and sampling structure.
Write down the restrictions and identify which observations, groups, or clusters are independent sampling units.
2
Build a null-generating scheme.
Impose the restriction while retaining nuisance features, such as group-specific scatter or a fixed regression design, that are allowed under the null.
3
Refit and calibrate.
Repeat the robust estimation and covariance calculations for every bootstrap sample, then estimate the null tail probability and report the number of replications.

Bootstrap calibration matters because robust inference is often chosen precisely when simple reference distributions may be unreliable. A defensible analysis states the resampling unit, explains how the null is imposed, and names the conditions supporting the bootstrap approximation. Reporting the replication count and Monte Carlo tail estimate makes the numerical resolution visible; it does not replace the justification for the resampling design.

Check Your Understanding

Use these questions to check the design and interpretation of a bootstrap calibration.

  1. Why should a multivariate observation generally be resampled as a whole vector rather than coordinate by coordinate?
  2. In a two-group location test that permits unequal scatter, what features should be preserved when generating bootstrap samples under equality of locations?
  3. What does the plus-one Monte Carlo p-value correction prevent, and why does it not guarantee an exact finite-sample test?
  4. For regression with a fixed design, why can resampling complete rows be inappropriate?
  5. State two regularity requirements that support bootstrap validity for a robust Wald statistic.
Clinical Biostats