Tutorials › Multivariate Statistics (Graduate) › Null Limits of Multivariate Rank Statistics

Ranks and Nonparametric Methods · Tutorial 771 of 975

Null Limits of Multivariate Rank Statistics

Learn how rank-based statistics acquire their null distributions, when their limits are Gaussian or chi-square mixtures, and how to calibrate them reliably.

Advanced 12 min read

What You'll Learn

  • Derive a quadratic-form null limit from the covariance of a spatial-rank score.
  • Distinguish population rank scores from their empirical versions and identify when estimation affects the limit.
  • Obtain a two-sample depth-score limit and calculate its variance under a continuous null distribution.
  • Use a Hoeffding decomposition to derive a nondegenerate U-statistic limit.
  • Recognize why degenerate rank kernels need different calibration from ordinary Gaussian limits.
  • Choose among covariance standardization, permutation calibration, and null simulation.

Why Null Limits Need More Than a Rank Definition

A rank statistic is often distribution-free in a particular finite-sample setting, but that does not mean every statistic built from multivariate ranks has the same null distribution. The limiting law depends on what is being summed, how the ranks are estimated, and whether the first-order variation vanishes under the null. In particular, a vector of rank scores usually leads to a quadratic form in normal variables, while a pairwise statistic can have a normal limit or, in a degenerate case, a nonnormal limit.

The goal here is to identify the assumptions that support these conclusions. The key distinction is between a score whose first-order projection is nonzero and one whose first-order projection vanishes. The former is governed by a central limit theorem; the latter requires a different analysis.

Definition: A null limit distribution is the limiting distribution of a suitably centered and scaled statistic when the null hypothesis holds as the sample size tends to infinity. A statistic has an asymptotic chi-square mixture if its limit can be written as \(\sum_{j=1}^p \lambda_j Z_j^2\), where the \(Z_j\) are independent \(N(0,1)\) variables and the \(\lambda_j\) are nonnegative constants.

Spatial-Rank Scores and Quadratic-Form Limits

For a distribution \(F\) on \(\mathbb{R}^p\), define its population spatial-rank function by \(\mathbf R_F(x)=E[S(x-Y)]\), where \(Y\sim F\) and \(S(z)=z/\|z\|\) for \(z\ne0\), with \(S(0)=0\). A spatial-rank score can be this vector itself or a transformed score such as \(a(\|\mathbf R_F(x)\|)\mathbf R_F(x)\). Under a centrally symmetric null distribution about the specified center, an odd score has mean zero, provided its expectation exists.

Theorem: Suppose \(X_1,\ldots,X_n\) are independent and identically distributed under the null, and let \(\psi(X_i)\in\mathbb{R}^p\) be a score with \(E[\psi(X_i)]=0\) and finite covariance matrix \(\Sigma=E[\psi(X_i)\psi(X_i)^\mathsf{T}]\). Then \(T_n=n\bar\psi_n^\mathsf{T}\bar\psi_n\), where \(\bar\psi_n=n^{-1}\sum_i\psi(X_i)\), converges in distribution to \(\sum_{j=1}^p\lambda_j Z_j^2\), with \(\lambda_j\) the eigenvalues of \(\Sigma\). If \(\Sigma\) is positive definite and known, then \(n\bar\psi_n^\mathsf{T}\Sigma^{-1}\bar\psi_n\xrightarrow{d}\chi_p^2\).

Proof. The multivariate central limit theorem gives \(\sqrt n\,\bar\psi_n\xrightarrow{d}Z\), where \(Z\sim N_p(0,\Sigma)\). By the continuous mapping theorem, \(T_n\xrightarrow{d}Z^\mathsf{T}Z\). Write \(\Sigma=Q\Lambda Q^\mathsf{T}\), where \(Q\) is orthogonal and \(\Lambda\) is diagonal with entries \(\lambda_1,\ldots,\lambda_p\). The distribution of \(Q^\mathsf{T}Z\) is that of \(\Lambda^{1/2}W\), with \(W\sim N_p(0,I_p)\). Therefore \(Z^\mathsf{T}Z\) has the distribution of \(\sum_j\lambda_j W_j^2\). If \(\Sigma\) is positive definite, \(n\bar\psi_n^\mathsf{T}\Sigma^{-1}\bar\psi_n\) converges to \(W^\mathsf{T}W\), which has a \(\chi_p^2\) distribution. \(\square\)

In an application, the score may use an estimated center, an empirical spatial-rank map, or estimated score parameters. The theorem still applies if the resulting score sum has the same first-order limit as a sum of independent, mean-zero influence scores. One precise sufficient condition is an expansion \(\sqrt n\,\bar\psi_n^{\,\mathrm{est}}=n^{-1/2}\sum_{i=1}^n\psi_{\mathrm{eff}}(X_i)+o_p(1)\), where \(\psi_{\mathrm{eff}}\) has mean zero and finite covariance. The covariance in the limit is then that of \(\psi_{\mathrm{eff}}\), not necessarily that of the unestimated score. This expansion must be justified for the estimator and score in use; empirical ranks do not automatically have negligible estimation error.

Worked Example: A One-Dimensional Spatial-Rank Score

Let \(X_1,\ldots,X_n\) be independent uniform random variables on \((-1,1)\), and test the null distribution with known center zero using the population spatial-rank score. In one dimension, \(S(x-y)=\operatorname{sgn}(x-y)\). For a continuous distribution, \(R_F(x)=E[\operatorname{sgn}(x-Y)]=P(Y<x)-P(Y>x)=2F(x)-1\).

For the uniform distribution, \(F(x)=(x+1)/2\) on \((-1,1)\), so \(R_F(x)=x\). Thus \(E[R_F(X)]=0\), and \(E[R_F(X)^2]=E[X^2]=\int_{-1}^1x^2\,dx/2=1/3\). The theorem gives \(n\bar R_n^2\xrightarrow{d}(1/3)Z^2\). Equivalently, the variance-standardized statistic \(3n\bar R_n^2\) converges to \(\chi_1^2\). The factor 3 is essential: without it, the limit is a scaled chi-square, not a standard chi-square.

Depth Scores in Two-Sample Comparisons

A depth function \(D_F(x)\) assigns a centrality value to \(x\) relative to \(F\). A depth-rank score is a chosen function of that value, for example \(q_F(x)=J(D_F(x))\), where \(J\) is a specified score function. Consider two independent samples of sizes \(n_1\) and \(n_2\), drawn from the same continuous distribution \(F\) under the null. If \(q_F(X)\) has finite variance \(\sigma_q^2>0\), the difference of sample mean scores has a direct null limit.

Theorem: With \(n_1/(n_1+n_2)\to\rho\in(0,1)\), and independent samples from \(F\), suppose \(E[q_F(X)^2]<\infty\). Then \[ \frac{\bar q_1-\bar q_2}{\sigma_q\sqrt{1/n_1+1/n_2}}\xrightarrow{d}N(0,1), \] where \(\bar q_g\) is the mean score in group \(g\), and \(\sigma_q^2=\operatorname{Var}(q_F(X))\).

Proof. Under the null, both group means have expectation \(\mu_q=E[q_F(X)]\). For each group, the ordinary central limit theorem applies to its independent scores. Independence of the samples makes the two limiting normal variables independent. The variance of \(\bar q_1-\bar q_2\) is exactly \(\sigma_q^2(1/n_1+1/n_2)\). Dividing by its square root therefore gives a sum of two independent, asymptotically normal terms with total limiting variance one, proving the result. \(\square\)

This statement uses the population depth score. If the depth is computed from a pooled empirical distribution, the scores share the estimated reference distribution and are dependent. A valid asymptotic calculation must account for that estimation, or calibration must reproduce it, as a permutation procedure does under exchangeability.

Worked Example: A Two-Sample Depth Score on the Line

Let \(F\) be continuous on the real line and use univariate halfspace depth \(D_F(x)=\min(F(x),1-F(x))\). Take \(J(d)=d\), so \(q_F(X)=D_F(X)\). The probability integral transform gives \(U=F(X)\sim\mathrm{Uniform}(0,1)\), hence \(q_F(X)=\min(U,1-U)\).

Its expectation is \(E[q_F(X)]=2\int_0^{1/2}u\,du=1/4\). Its second moment is \(E[q_F(X)^2]=2\int_0^{1/2}u^2\,du=1/12\). Therefore \(\sigma_q^2=1/12-(1/4)^2=1/48\).

For two independent samples of sizes \(n_1\) and \(n_2\) from this same \(F\), the null standard error of the difference of mean depth scores is \(\sqrt{(1/48)(1/n_1+1/n_2)}\). Thus the difference divided by this quantity converges to \(N(0,1)\). This calculation also shows why using the variance of the depth score, rather than treating the scores as uniform ranks, matters: depth is a transformed rank and has its own variance.

Pairwise Rank Statistics and the U-Statistic Projection

Many multivariate rank procedures are averages of pairwise comparisons. Their null limits can be derived from a U-statistic decomposition. Let \(h(x,y)\) be a symmetric kernel, let \(X\) and \(Y\) be independent with common distribution \(F\), and define \(\theta=E[h(X,Y)]\). Assume \(E[h(X,Y)^2]<\infty\). Define the first projection \(h_1(x)=E[h(x,Y)]-\theta\), and the remainder \(h_2(x,y)=h(x,y)-\theta-h_1(x)-h_1(y)\). By construction, \(E[h_2(X,Y)\mid X]=0\).

Theorem: If \(\operatorname{Var}(h_1(X))>0\), the U-statistic \(U_n={\binom n2}^{-1}\sum_{i<j}h(X_i,X_j)\) satisfies \(\sqrt n(U_n-\theta)\xrightarrow{d}N(0,4\operatorname{Var}(h_1(X)))\).

Proof. Substituting the definition of \(h_2\) into the pairwise average gives \(U_n-\theta=(2/n)\sum_i h_1(X_i)+{\binom n2}^{-1}\sum_{i<j}h_2(X_i,X_j)\). The first term, multiplied by \(\sqrt n\), converges by the ordinary central limit theorem to a normal distribution with variance \(4\operatorname{Var}(h_1(X))\). For the remainder, two terms \(h_2(X_i,X_j)\) and \(h_2(X_k,X_l)\) have zero covariance if their index pairs are disjoint, by independence and zero mean. They also have zero covariance if the pairs share one index: conditioning on the shared observation, the other observations are independent and each conditional expectation is zero. Consequently the variance of the average remainder is \(\operatorname{Var}(h_2(X,Y))/\binom n2=O(n^{-2})\). Its product by \(\sqrt n\) converges to zero in probability by Chebyshev's inequality. Slutsky's theorem gives the stated limit. \(\square\)

Worked Example: A Pairwise Concordance Rank Statistic

Suppose \(X_i=(X_{i1},X_{i2})\) are independent, with the two coordinates independent and each uniform on \((0,1)\). Consider the symmetric comparison kernel \(h(x,y)=\operatorname{sgn}(x_1-y_1)\operatorname{sgn}(x_2-y_2)\). It is bounded, so the required second moment exists. By symmetry, \(\theta=E[h(X,Y)]=0\).

For fixed \(x=(x_1,x_2)\), independence of the two coordinates gives \(E[h(x,Y)]=(2x_1-1)(2x_2-1)\). Thus \(h_1(x)=(2x_1-1)(2x_2-1)\), whose expectation is zero. Its variance is \(E[(2X_1-1)^2]E[(2X_2-1)^2]=(1/3)(1/3)=1/9\). The theorem therefore yields \(\sqrt n\,U_n\xrightarrow{d}N(0,4/9)\). Equivalently, \((3/2)\sqrt n\,U_n\) converges to \(N(0,1)\). The variance comes from the first projection; it is not obtained by pretending that the \(\binom n2\) pairwise terms are independent.

Degeneracy, Calibration, and a Common Pitfall

The U-statistic theorem requires \(\operatorname{Var}(h_1(X))>0\). If \(h_1(X)=0\) almost surely, the first-order normal term disappears, so the theorem does not apply. The remainder then determines the limit; for a square-integrable degenerate kernel, that limit can involve a weighted sum of centered chi-square variables rather than a normal distribution. A test calibrated with a normal approximation in this case can have the wrong size.

In practice, choose calibration to match the statistic and its null assumptions:

  • Covariance-standardized Gaussian limits: estimate the score covariance consistently and use a chi-square reference distribution when the score vector has a nondegenerate normal limit.
  • Unstandardized quadratic forms: use the estimated eigenvalues of the score covariance to approximate the corresponding chi-square mixture, or simulate its normal quadratic form.
  • Permutation calibration: permute group labels when the null makes observations exchangeable, reproducing the empirical ranks or depths in each permutation. For blocked designs, permute only within the allowed blocks.
  • Degenerate or complicated statistics: use a null bootstrap or simulation that preserves the null structure, after checking that the method is valid for the statistic’s degeneracy and sampling design.

Common mistake: “The statistic is based on ranks, so its null limit must be standard normal or chi-square.” Rank construction alone implies neither conclusion. A vector score with covariance \(\Sigma\) gives a weighted chi-square for its unstandardized squared norm, and an estimated rank map can change the first-order covariance. A degenerate pairwise kernel may not have a Gaussian limit at all. The correction is to identify the score or kernel, verify its null expectation and regularity conditions, determine whether its first projection is nonzero, and calibrate the resulting limit rather than choosing a reference distribution by appearance.

Key takeaway: For spatial-rank score sums, derive the null limit from the covariance of the effective score. For depth-score contrasts, derive it from the score variance and the sampling design. For pairwise rank statistics, inspect the first projection: a nonzero projection yields the usual U-statistic normal limit, while a zero projection calls for separate degenerate-limit analysis.

Check Your Understanding

For each question, state which limit argument applies and which variance or projection must be considered.

  1. A centered spatial-rank score vector has covariance matrix with unequal positive eigenvalues. What is the limit of its unstandardized squared norm, and how can it be standardized to obtain a chi-square limit?
  2. Why can replacing a population depth function by a pooled empirical depth function affect the null variance in a two-sample test?
  3. For a pairwise U-statistic, what condition on the first projection supports the usual normal limit?
  4. In the concordance example, why is the variance of the U-statistic not calculated by treating all pairwise terms as independent?
  5. Under what null condition is permutation calibration justified, and what restriction is needed in a blocked design?
Clinical Biostats