Algorithm Search⌘K

Definitionadvanced

U-statistic

Also called Hoeffding U-statistic.

The average of a symmetric kernel over all subsets of size r of the sample. It is unbiased, has minimum variance in large nonparametric families, and is asymptotically normal.

A U-statistic is the average of a fixed function hh, the kernel, over all subsets of rr distinct observations of a sample. It is an unbiased estimator of the parameter θ(F)=E h(X1,…,Xr)\theta(F) = E\, h(X_1, \ldots, X_r), and many familiar statistics are U-statistics: the sample mean, the sample variance, the Mann-Whitney statistic and the Wilcoxon signed-rank statistic. Wassily Hoeffding (1948) defined the class and proved that its members are asymptotically normal. In a nonparametric family large enough for the order statistics to be complete, a U-statistic is the minimum variance unbiased estimator of its parameter; in a smaller, parametric family it usually is not.

Definition

Let X1,…,XnX_1, \ldots, X_n be independent with common distribution FF, and let h(x1,…,xr)h(x_1, \ldots, x_r) be a function of r≤nr \le n arguments that is symmetric, that is, unchanged by any permutation of its arguments. Suppose θ(F)=EF h(X1,…,Xr)\theta(F) = E_F\, h(X_1, \ldots, X_r) is finite. The U-statistic with kernel hh is

Un=(nr)−1∑1≤i1<⋯<ir≤nh(Xi1,…,Xir).U_n = \binom{n}{r}^{-1} \sum_{1 \le i_1 < \cdots < i_r \le n} h(X_{i_1}, \ldots, X_{i_r}).

The number rr is the degree (or order) of the kernel. It is fixed as nn grows. A kernel that is not symmetric can be replaced by its average over the r!r! orders of its arguments, which has the same expectation. A parameter of the form θ(F)=EFh\theta(F) = E_F h for some kernel of degree rr is called regular or estimable of degree rr.

The following facts are part of the standard theory and explain why the class matters.

Unbiased. Each term has expectation θ\theta, so EUn=θE U_n = \theta.

A conditional expectation. Un=E[h(X1,…,Xr)∣X(1),…,X(n)]U_n = E[h(X_1, \ldots, X_r) \mid X_{(1)}, \ldots, X_{(n)}], where X(1)≤⋯≤X(n)X_{(1)} \le \cdots \le X_{(n)} are the order statistics. Given the order statistics, the sample is a uniformly random arrangement of these values, and (X1,…,Xr)(X_1, \ldots, X_r) is a uniformly random rr-subset of them.

Minimum variance, with a condition. The order statistics are sufficient for every family of iid laws. So, by the Rao-Blackwell theorem, conditioning any unbiased estimator of θ\theta on them gives a symmetric unbiased estimator whose variance is not larger. If the family F\mathcal F is large enough that the order statistics are also complete, for example all distributions with finite support, or all distributions with a density for which the needed moments are finite, then there is only one symmetric unbiased estimator, namely UnU_n. By the Lehmann-Scheffé theorem it is then the minimum variance unbiased estimator of θ\theta over F\mathcal F (Halmos 1946). In a parametric family the order statistics are not complete, and a function of a smaller sufficient statistic can do better; the non-examples show a case.

Variance. For 0≤c≤r0 \le c \le r let ζc=Cov(h(X1,…,Xr), h(X1,…,Xc,Xc+1′,…,Xr′))\zeta_c = \mathrm{Cov}\bigl(h(X_1, \ldots, X_r),\ h(X_1, \ldots, X_c, X'_{c+1}, \ldots, X'_r)\bigr), the covariance of the kernel on two subsets that share exactly cc observations, with the X′X' independent copies. Then ζ0=0\zeta_0 = 0 and

Var Un=(nr)−1∑c=1r(rc)(n−rr−c) ζc=r2ζ1n+O(n−2).\mathrm{Var}\, U_n = \binom{n}{r}^{-1} \sum_{c=1}^{r} \binom{r}{c}\binom{n-r}{r-c}\, \zeta_c = \frac{r^2 \zeta_1}{n} + O(n^{-2}).

Projection and asymptotic normality. Let h1(x)=E h(x,X2,…,Xr)−θh_1(x) = E\, h(x, X_2, \ldots, X_r) - \theta, so ζ1=Var h1(X1)\zeta_1 = \mathrm{Var}\, h_1(X_1). The Hájek projection of UnU_n onto sums of functions of single observations is U^n=θ+rn∑i=1nh1(Xi)\hat U_n = \theta + \frac{r}{n}\sum_{i=1}^n h_1(X_i), and E(Un−U^n)2=O(n−2)E(U_n - \hat U_n)^2 = O(n^{-2}). If Eh2<∞E h^2 < \infty and ζ1>0\zeta_1 > 0, the central limit theorem applied to U^n\hat U_n gives

n (Un−θ)→dN(0, r2ζ1).\sqrt n\,(U_n - \theta) \xrightarrow{d} N(0,\ r^2 \zeta_1).

Degenerate kernels. If ζ1=0\zeta_1 = 0, the kernel is degenerate, the projection is constant, and Un−θU_n - \theta is of order 1/n1/n. For r=2r = 2, n(Un−θ)n(U_n - \theta) converges to ∑jλj(Zj2−1)\sum_j \lambda_j (Z_j^2 - 1), with independent standard normal ZjZ_j and the eigenvalues λj\lambda_j of the integral operator with kernel h(x,y)−θh(x, y) - \theta (Serfling, Chapter 5).

Examples and non-examples

Examples.

  • Sample mean. r=1r = 1, h(x)=xh(x) = x, Un=XˉU_n = \bar X and θ=EX\theta = E X.
  • Sample variance. r=2r = 2, h(x,y)=(x−y)2/2h(x, y) = (x - y)^2/2. Since E(X1−X2)2/2=σ2E(X_1 - X_2)^2/2 = \sigma^2, Un=(n2)−1∑i<j(Xi−Xj)2/2U_n = \binom n2^{-1}\sum_{i<j}(X_i - X_j)^2/2 estimates σ2\sigma^2, and expanding the squares shows that Un=S2=1n−1∑i(Xi−Xˉ)2U_n = S^2 = \frac{1}{n-1}\sum_i (X_i - \bar X)^2 exactly. Here h1(x)=((x−μ)2−σ2)/2h_1(x) = ((x - \mu)^2 - \sigma^2)/2 and ζ1=(μ4−σ4)/4\zeta_1 = (\mu_4 - \sigma^4)/4, so n(S2−σ2)→N(0,μ4−σ4)\sqrt n(S^2 - \sigma^2) \to N(0, \mu_4 - \sigma^4), with μ4\mu_4 the fourth central moment.
  • Gini mean difference. r=2r = 2, h(x,y)=∣x−y∣h(x, y) = \lvert x - y \rvert, which estimates E∣X1−X2∣E\lvert X_1 - X_2\rvert, a measure of spread that is less sensitive to outliers than the variance.
  • Wilcoxon signed-rank statistic. With h(x,y)=1{x+y>0}h(x, y) = \mathbf 1\{x + y > 0\} and the differences DiD_i of paired data, the Wilcoxon signed-rank statistic is W+=∑i≤j1{Di+Dj>0}=nUn,1+(n2)Un,2W^+ = \sum_{i \le j}\mathbf 1\{D_i + D_j > 0\} = n U_{n,1} + \binom n2 U_{n,2}, where Un,1U_{n,1} is the fraction of positive DiD_i (degree 1) and Un,2U_{n,2} is the U-statistic with this kernel (degree 2). Its asymptotic normality follows from the theory above.
  • Mann-Whitney statistic. A two-sample U-statistic averages a kernel over all pairs of one observation from each sample. With h(x,y)=1{x>y}+121{x=y}h(x, y) = \mathbf 1\{x > y\} + \frac12\mathbf 1\{x = y\}, the average over the mnm n pairs is U/(mn)U/(mn), the Mann-Whitney statistic scaled to [0,1][0, 1], which estimates P(X>Y)+12P(X=Y)P(X > Y) + \frac12 P(X = Y).
  • Square of the mean. h(x,y)=xyh(x, y) = x y gives Un=(∑Xi)2−∑Xi2n(n−1)U_n = \frac{(\sum X_i)^2 - \sum X_i^2}{n(n-1)}, an unbiased estimator of μ2\mu^2, while Xˉ2\bar X^2 is biased upward by σ2/n\sigma^2/n. Here h1(x)=μ(x−μ)h_1(x) = \mu(x - \mu), so ζ1=μ2σ2\zeta_1 = \mu^2\sigma^2. If μ=0\mu = 0 the kernel is degenerate, and nUn→σ2(Z2−1)n U_n \to \sigma^2(Z^2 - 1), which is not normal.

Non-examples.

  • V-statistics. The average of the kernel over all nrn^r tuples, repeats included, is a V-statistic, or von Mises statistic. With h(x,y)=(x−y)2/2h(x, y) = (x - y)^2/2 it is the plug-in variance 1n∑(Xi−Xˉ)2\frac1n\sum(X_i - \bar X)^2, which is biased. The jackknife bias correction turns every degree-2 V-statistic into the U-statistic with the same kernel.
  • The sample median. It is a symmetric function of the data, but not the average of a kernel of fixed degree. It is not unbiased in general, and its asymptotic theory is that of the quantile, not of U-statistics. Every symmetric statistic is trivially a U-statistic of degree nn, which is why the definition fixes rr.
  • Not minimum variance in the normal family. For XiX_i normal with unknown mean μ\mu and variance 1, the parameter P(X>0)=Φ(μ)P(X > 0) = \Phi(\mu) is estimated without bias by the U-statistic 1n∑1{Xi>0}\frac1n\sum\mathbf 1\{X_i > 0\}. But Xˉ\bar X is complete and sufficient in this family, and the unbiased estimator Φ(Xˉn/(n−1))\Phi\bigl(\bar X\sqrt{n/(n-1)}\bigr), a function of Xˉ\bar X, has smaller variance (Lehmann and Casella, Chapter 2). The U-statistic is the best unbiased estimator only over a large nonparametric family.
  • Infinite expectation. For a Cauchy sample and h(x)=xh(x) = x, EhE h does not exist, so θ\theta is not defined and Xˉ\bar X is not a U-statistic estimator of anything.
  • V-statistic. The average over all nrn^r tuples with repetition, as above. It differs from UnU_n by Op(1/n)O_p(1/n) when the kernel has finite moments on the diagonal.
  • Hoeffding decomposition. Un−θ=∑c=1r(rc)(nc)−1∑∣S∣=cgc(XS)U_n - \theta = \sum_{c=1}^r \binom rc \binom nc^{-1} \sum_{\lvert S\rvert = c} g_c(X_S), with orthogonal terms gcg_c; the first term is the Hájek projection. It gives the variance formula and the degenerate limits.
  • Generalized U-statistics. For kk samples, average a kernel over all choices of rjr_j distinct observations from sample jj; the Mann-Whitney statistic is the case k=2k = 2, r1=r2=1r_1 = r_2 = 1.
  • Incomplete U-statistics. Average the kernel over a random or designed selection of the (nr)\binom nr subsets. They are still unbiased, with a larger variance; subsampling uses averages of this kind.
  • Concentration. Hoeffding also showed that a U-statistic with a bounded kernel satisfies a Hoeffding inequality with nn replaced by ⌊n/r⌋\lfloor n/r \rfloor, because UnU_n is an average of averages of ⌊n/r⌋\lfloor n/r \rfloor independent terms.
  • Estimators from U-statistics. The Hodges-Lehmann estimator is the median of the Walsh averages, the values whose signs the Wilcoxon kernel counts.

References

  1. Wassily Hoeffding, A class of statistics with asymptotically normal distribution, The Annals of Mathematical Statistics 19(3), 1948, pp. 293 to 325 (the definition, the variance formula with the covariances zeta_c, and the asymptotic normality)
  2. Robert J. Serfling, Approximation Theorems of Mathematical Statistics, Wiley, 1980 (paperback 2002), Chapter 5 (U-statistics, their variance, the projection, the asymptotic distribution theory and the degenerate case)
  3. P. R. Halmos, The theory of unbiased estimation, 1946, the symmetric unbiased estimator of a regular functional is unique and has minimum variance in a large nonparametric family
  4. E. L. Lehmann and George Casella, Theory of Point Estimation, second edition, Springer, 1998, Chapter 2 (unbiasedness, UMVU estimation in nonparametric families and in the normal family)
  5. A. W. van der Vaart, Asymptotic Statistics, Cambridge University Press, 1998, Chapter 11 (projections, the Hajek projection) and Chapter 12 (U-statistics, including the degenerate case)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/SRYNEE/text.yaml