Tutorials › Multivariate Statistics (Graduate) › Mean Testing Under Heavy Tails

High-Dimensional Mean Testing · Tutorial 823 of 975

Mean Testing Under Heavy Tails

Learn why conventional mean-test calibrations can fail under heavy tails and how truncation yields tests with explicit, valid size control.

Advanced 12 min read

What You'll Learn

  • Identify why finite variance alone does not justify Gaussian extreme-value calibration as dimension grows.
  • Trace how a single extreme observation can dominate a coordinate sum despite cancellation by the remaining observations.
  • Bound the bias introduced by coordinatewise truncation under a uniform moment condition.
  • Derive a finite-sample Bernstein threshold for a truncated maximum test.
  • Obtain a valid, though potentially conservative, quadratic-test threshold from simultaneous coordinate bounds.
  • Check how truncation level, dimension, and sample size jointly determine calibration.

Why Heavy Tails Change Mean-Test Calibration

High-dimensional mean tests often turn coordinatewise sample means into a maximum or a quadratic statistic. Their familiar Gaussian or extreme-value calibrations require more than a mean of zero and a finite covariance matrix: as the number of coordinates grows, a few unusually large observations can dominate coordinate sums or make quadratic fluctuations much larger than the calibration anticipates. The issue is not that every Gaussian approximation fails under every heavy-tailed model. It is that finite variance alone does not provide a general justification for those approximations.

We work with independent and identically distributed vectors \(X_1,\ldots,X_n\in\mathbb{R}^p\), where \(X_i=(X_{i1},\ldots,X_{ip})^\top\), and test \(H_0:E[X_i]=0\). Coordinates within one vector may be dependent unless an example says otherwise. Write \(\bar X_j=n^{-1}\sum_{i=1}^n X_{ij}\). The maximum statistic examines \(\max_j|\sqrt n\,\bar X_j|\); a basic quadratic statistic is \(Q=n\|\bar X\|_2^2=\sum_{j=1}^p(\sqrt n\,\bar X_j)^2\). Scale estimates and centering refinements used in particular tests do not remove the need to justify their reference distributions under the assumed tails.

Definition: A coordinatewise truncation at level \(\tau>0\) is the function \(\psi_\tau(x)=\operatorname{sign}(x)\min(|x|,\tau)\), with \(\psi_\tau(0)=0\). The truncated coordinate mean is \(\bar W_j=n^{-1}\sum_{i=1}^n\psi_\tau(X_{ij})\). Truncation bounds each observation’s contribution, but it can move the mean: in general, \(E[\psi_\tau(X_{ij})]\ne E[X_{ij}]\).

A Pareto Example: The Maximum Can Be Too Large

The following example shows explicitly why a Gaussian extreme-value threshold need not control the null rejection probability. Let \(p=n\). Take all \(n^2\) entries \(X_{ij}\) to be independent, symmetric random variables with \(P(|X_{ij}|>t)=t^{-3}\) for \(t\ge1\). Symmetry gives mean zero. The variance is finite and equals 3, since \(E[X_{ij}^2]=1+\int_1^\infty 2t\,t^{-3}\,dt=3\).

Worked Example: A Single Extreme Entry Defeats a Gaussian-Scale Maximum

Fix any \(K>0\), and choose a constant \(c>2K\). Set \(u_n=c\sqrt{n\log n}\), and let \(N\) count the entries whose magnitude exceeds \(u_n\). For all sufficiently large \(n\), \(u_n\ge1\), and independence gives

$$ E[N]=n^2u_n^{-3} =c^{-3}\frac{\sqrt n}{(\log n)^{3/2}} =:\lambda_n\longrightarrow\infty. $$

Because \(N\) is binomial, \(\operatorname{Var}(N)\le\lambda_n\). Chebyshev’s inequality therefore gives \(P(N<\lambda_n/2)\le4/\lambda_n\to0\), so \(N/\lambda_n\to1\) in probability.

An extreme entry might be canceled by the other entries in its coordinate. Let \(B\) count extreme entries for which the sum of the other \(n-1\) entries in that coordinate has magnitude greater than half the candidate entry’s magnitude. Conditional on the candidate entry, the remaining sum has mean zero and variance \(3(n-1)\). For a candidate of magnitude \(x>u_n\), Chebyshev’s inequality bounds its cancellation probability by

$$ \frac{3(n-1)}{(x/2)^2} \le \frac{12(n-1)}{u_n^2} \le \frac{12}{c^2\log n}. $$

Consequently, \(E[B]\le\lambda_n\,12/(c^2\log n)\). Markov’s inequality implies \(B/\lambda_n\to0\) in probability. Together, \(N/\lambda_n\to1\) and \(B/\lambda_n\to0\) imply \(P(N-B>0)\to1\): with probability tending to one, at least one extreme entry is not canceled by more than half its magnitude. Its coordinate sum then has magnitude greater than \(u_n/2=(c/2)\sqrt{n\log n}>K\sqrt{n\log n}\). Thus

$$ P\left\{\max_{1\le j\le n}|\sqrt n\,\bar X_j|>K\sqrt{\log n}\right\}\longrightarrow1. $$

A Gaussian extreme-value threshold for \(n\) coordinates is on the order of \(\sqrt{2\log n}\). Taking \(K>\sqrt2\) shows that even a threshold at an arbitrarily large fixed multiple of that order is exceeded with probability tending to one in this example. Dividing coordinates by their true standard deviation \(\sqrt3\) only changes the constant, not the conclusion.

Quadratic statistics are vulnerable for a related reason: they square coordinate means, so an unusually large coordinate can have disproportionate influence. In the example above, each finite-sample coordinate sum has infinite fourth moment. Indeed, condition on the other \(n-1\) entries lying in a fixed bounded interval; this event has positive probability, and the remaining Pareto entry still has infinite fourth moment after addition of a bounded quantity. Hence \(E[(\sqrt n\,\bar X_j)^4]=\infty\), and \(E[Q^2]=\infty\). A Gaussian quadratic calibration justified by finite fourth moments is therefore not justified here. More generally, the appropriate conditions depend on the precise quadratic statistic and its growth regime; finite coordinate variances alone do not establish its usual Gaussian limit.

Truncation: Control the Fluctuation and the Bias

Truncation gives a direct route to valid calibration. Suppose \(E[X_{ij}]=0\) and, for some \(0<\delta\le1\), the uniform moment bound \(E[|X_{ij}|^{2+\delta}]\le M\) holds for every coordinate. The moment condition controls the truncation bias, while the bounded summands permit Bernstein’s inequality. No independence among coordinates is needed for the simultaneous bound below; independence across observations is needed.

Lemma: Under \(E[X]=0\) and \(E[|X|^{2+\delta}]\le M\), the truncation bias satisfies \(|E[\psi_\tau(X)]|\le M\tau^{-(1+\delta)}\). Also, \(\operatorname{Var}(\psi_\tau(X))\le E[X^2]\). The second bound follows from \(|\psi_\tau(X)|\le|X|\).

To prove the bias bound, use \(E[X]=0\) to write \(E[\psi_\tau(X)]=E[\psi_\tau(X)-X]\). The difference is zero when \(|X|\le\tau\), and its magnitude is at most \(|X|\) otherwise. On \(\{|X|>\tau\}\), \(|X|\le |X|^{2+\delta}/\tau^{1+\delta}\), so

$$ |E[\psi_\tau(X)]| \le E\big[|X|\,1\{|X|>\tau\}\big] \le \frac{E[|X|^{2+\delta}]}{\tau^{1+\delta}} \le \frac{M}{\tau^{1+\delta}}. $$

For the fluctuation bound, set \(W_{ij}=\psi_\tau(X_{ij})\), \(m_j=E[W_{ij}]\), and \(v_j=\operatorname{Var}(W_{ij})\). Then \(|W_{ij}-m_j|\le2\tau\). If \(v_j\le v\) for every coordinate, Bernstein’s inequality and a union bound yield the following result.

Theorem: Suppose \(X_1,\ldots,X_n\) are independent and identically distributed, \(E[X_{ij}]=0\), \(v_j\le v\), and \(E[|X_{ij}|^{2+\delta}]\le M\) for \(0<\delta\le1\), all \(j\). For \(0<\alpha<1\), let \(t=\log(2p/\alpha)\) and \[ R=\sqrt{2vt}+\frac{4\tau t}{3\sqrt n} +\frac{\sqrt n\,M}{\tau^{1+\delta}}. \] Then, under \(H_0\), \(P\{\max_{1\le j\le p}|\sqrt n\,\bar W_j|>R\}\le\alpha\).

For each coordinate, apply Bernstein’s inequality to the centered sum of \(W_{ij}-m_j\). The variance of that sum is \(nv_j\le nv\), and each summand is bounded in magnitude by \(2\tau\). In the usual Bernstein tail bound, the threshold \(\sqrt{2nv t}+(2/3)(2\tau)t\) gives a one-sided tail at most \(e^{-t}\). Applying it to both signs gives

$$ P\left\{\left|\sqrt n(\bar W_j-m_j)\right|> \sqrt{2vt}+\frac{4\tau t}{3\sqrt n}\right\} \le 2e^{-t}. $$

Since \(2pe^{-t}=\alpha\), a union bound controls the largest centered coordinate at that threshold with probability at least \(1-\alpha\). The bias lemma gives \(\sqrt n|m_j|\le\sqrt n M/\tau^{1+\delta}\). Adding this maximum bias to the centered threshold proves the theorem. \(\square\)

Worked Calibration Examples

Worked Example: A Finite-Sample Maximum Test

Suppose \(p=3\), \(n=100\), and each coordinate is a mean-zero Rademacher variable: it equals \(1\) and \(-1\) with probability \(1/2\) each. Coordinates may be dependent within a vector. Choose \(\tau=2\), \(v=1\), \(M=1\), \(\delta=1\), and \(\alpha=0.05\). The moment and variance bounds hold, and truncation changes no observations. Here \(t=\log(2p/\alpha)=\log(120)\approx4.787\). The theorem gives

$$ R=\sqrt{2(1)(4.787)} +\frac{4(2)(4.787)}{3(10)} +\frac{10(1)}{2^2} \approx3.094+1.277+2.500=6.871. $$

Thus the rule that rejects when \(\max_j|\sqrt n\,\bar W_j|>6.871\) has null rejection probability at most \(0.05\). This bound is conservative, but its guarantee does not depend on an extreme-value approximation or independence between coordinates.

Worked Example: A Pareto Tail with a Growing Dimension

Return to the symmetric Pareto variables with tail \(P(|X|>x)=x^{-3}\), now taking \(p=n\). For \(0<\delta<1\), their moment is \(E[|X|^{2+\delta}]=3/(1-\delta)\); choose \(\delta=1/2\), so \(M=6\), and take \(v=3\). Let \(\tau=n^{2/5}\). The theorem’s bias contribution is

$$ \frac{\sqrt n\,M}{\tau^{1+\delta}} =\frac{6\sqrt n}{(n^{2/5})^{3/2}} =6n^{-1/10}\longrightarrow0. $$

For fixed \(\alpha\), \(t=\log(2n/\alpha)\), and the bounded-summand contribution is \(\frac{4}{3}n^{-1/10}t\), which also tends to zero. The resulting valid maximum threshold is \(\sqrt{6\log(2n/\alpha)}+o(1)\). This does not use the invalid Gaussian extreme-value calibration from the previous example: the moment condition bounds truncation bias, and Bernstein’s inequality controls the truncated fluctuations.

A quadratic statistic can also be calibrated from the same coordinate bounds, although this construction can be conservative. Under the theorem’s assumptions, reject when \(Q_W=n\|\bar W\|_2^2>pR^2\). If \(Q_W>pR^2\), then at least one coordinate satisfies \(|\sqrt n\,\bar W_j|>R\); otherwise summing the \(p\) squared coordinate bounds would give \(Q_W\le pR^2\). The theorem therefore guarantees null rejection probability at most \(\alpha\). This valid quadratic rule is not a claim that its threshold is optimal or that it has good power against every dense alternative.

Worked Example: A Valid Quadratic Threshold from Coordinate Bounds

Use the finite-sample example with \(p=3\) and \(R\approx6.871\). The robustified quadratic statistic is \(Q_W=100\sum_{j=1}^3\bar W_j^2\), and a valid level-\(0.05\) rule is to reject if

$$ Q_W>3(6.871)^2\approx141.6. $$

To check the calibration, if \(Q_W\le141.6\), this alone does not imply that every coordinate is below \(6.871\); rather, if any coordinate exceeded \(6.871\), its single squared contribution to \(Q_W\) would exceed \(6.871^2\), not necessarily \(3(6.871)^2\). Thus the threshold \(pR^2\) is valid, though conservative: \(Q_W>pR^2\) forces at least one coordinate to exceed \(R\), and hence has null rejection probability at most \(\alpha\). The sharper threshold \(R^2\) is also valid, since \(Q_W>R^2\) forces at least one coordinate to exceed \(R\). For these numbers, the rule using \(R^2\) is \(Q_W>6.871^2\approx47.2\).

Choosing the Truncation Level and Avoiding Pitfalls

The truncation level controls a real trade-off. A larger \(\tau\) preserves more of the original observations but enlarges the Bernstein fluctuation term \(4\tau t/(3\sqrt n)\). A smaller \(\tau\) reduces that term but increases the bias bound \(\sqrt n M/\tau^{1+\delta}\). For a growing \(p\), a useful asymptotic choice should make both contributions appropriately small relative to the desired threshold. For example, in the Pareto example, \(\tau=n^{2/5}\) makes the bias and bounded-summand contributions vanish for \(p=n\), while the principal threshold grows on the order of \(\sqrt{\log n}\).

The quadratic rule just derived is intentionally transparent: a simultaneous coordinate guarantee yields a valid threshold, but can discard the benefit of combining evidence across coordinates. More powerful robust quadratic procedures require additional structure or sharper distributional analysis. Their calibration must match their assumptions; truncation alone does not automatically produce a particular Gaussian or chi-squared limit.

  • Assuming finite variance is enough. The Pareto example has finite variance, yet its maximum coordinate mean exceeds every fixed Gaussian-scale multiple with probability tending to one.
  • Ignoring truncation bias. The clipped variables generally have nonzero means even under \(E[X_{ij}]=0\). Include a bias bound or establish a symmetry condition that makes the clipped mean zero.
  • Using a coordinatewise result without simultaneous calibration. A bound for one coordinate does not control the maximum over \(p\) coordinates. The union bound’s \(\log(2p/\alpha)\) term accounts for this multiplicity.
  • Transferring a maximum threshold to a quadratic statistic unchanged. A bound on the largest coordinate does not by itself justify a quadratic reference distribution. State and verify the implication or distributional result used for the quadratic test.
Key takeaway: Under heavy tails, Gaussian and extreme-value mean-test calibrations require explicit justification beyond finite variance. Truncation provides a concrete alternative: bound its bias, control its bounded fluctuations, and calibrate the resulting statistic using conditions that match the data and the dimension.

Check Your Understanding

Use the assumptions and bounds developed above to answer these questions.

  1. In the Pareto example, why is \(c>2K\) needed to turn an uncanceled extreme entry into a coordinate sum exceeding \(K\sqrt{n\log n}\)?
  2. Which step in the truncation-bias proof uses the null condition \(E[X]=0\)?
  3. Why does the maximum-test threshold contain \(\log(2p/\alpha)\) rather than only \(\log(2/\alpha)\)?
  4. For the Pareto example with \(\delta=1/2\) and \(\tau=n^{2/5}\), calculate the order of the truncation-bias contribution as \(n\) grows.
  5. Explain why the valid quadratic rule based on \(Q_W\) can use threshold \(R^2\) under the coordinatewise maximum bound, rather than \(pR^2\).
Clinical Biostats