Named after the Dutch mathematician Bartel Leendert van der Waerden, the Van der Waerden test is a statistical test that k population distribution functions are equal. The Van der Waerden test converts the ranks from a standard Kruskal-Wallis one-way analysis of variance to quantiles of the standard normal distribution (details given below). These are called normal scores and the test is computed from these normal scores.

The k population version of the test is an extension of the test for two populations published by Van der Waerden (1952,1953).

## Background

Analysis of Variance (ANOVA) is a data analysis technique for examining the significance of the factors (independent variables) in a multi-factor model. The one factor model can be thought of as a generalization of the two sample t-test. That is, the two sample t-test is a test of the hypothesis that two population means are equal. The one factor ANOVA tests the hypothesis that k population means are equal. The standard ANOVA assumes that the errors (i.e., residuals) are normally distributed. If this normality assumption is not valid, an alternative is to use a non-parametric test.

## Test definition

Let nj (j = 1, 2, ..., k) represent the sample sizes for each of the k groups (i.e., samples) in the data. Let N denote the sample size for all groups. Let Xij represent the ith value in the jth group. The normal scores are computed as

$A_{ij}=\Phi ^{-1}\left({\frac {R(X_{ij})}{N+1))\right)$ where R(Xij) denotes the rank of observation Xij and where Φ−1 denotes the normal quantile function. The average of the normal scores for each sample can then be computed as

${\bar {A))_{j}={\frac {1}{n_{j))}\sum _{i=1}^{n_{j))A_{ij}\quad j=1,2,\ldots ,k$ The variance of the normal scores can be computed as

$s^{2}={\frac {1}{N-1))\sum _{j=1}^{k}\sum _{i=1}^{n_{j))A_{ij}^{2)$ The Van der Waerden test can then be defined as follows:

H0: All of the k population distribution functions tend to yield the same observation
Ha: At least one of the populations tends to yield larger observations than at least one of the other populations

The test statistic is

$T_{1}={\frac {1}{s^{2))}\sum _{j=1}^{k}n_{j}{\bar {A))_{j}^{2)$ For significance level α, the critical region is

$T_{1}>\chi _{\alpha ,k-1}^{2)$ where Χα,k − 12 is the α-quantile of the chi-squared distribution with k − 1 degrees of freedom. The null hypothesis is rejected if the test statistic is in the critical region. If the hypothesis of identical distributions is rejected, one can perform a multiple comparisons procedure to determine which pairs of populations tend to differ. The populations j1 and j2 seem to be different if the following inequality is satisfied:

$\left\vert {\bar {A))_{j_{1))-{\bar {A))_{j_{2))\right\vert >s\,t_{1-\alpha /2}{\sqrt {\frac {N-1-T_{1)){N-k))}{\sqrt ((\frac {1}{n_{j_{1))))+{\frac {1}{n_{j_{2))))))$ with t1 − α/2 the (1 − α/2)-quantile of the t-distribution.

## Comparison with the Kruskal-Wallis test

The most common non-parametric test for the one-factor model is the Kruskal-Wallis test. The Kruskal-Wallis test is based on the ranks of the data. The advantage of the Van Der Waerden test is that it provides the high efficiency of the standard ANOVA analysis when the normality assumptions are in fact satisfied, but it also provides the robustness of the Kruskal-Wallis test when the normality assumptions are not satisfied.

• Conover, W. J. (1999). Practical Nonparameteric Statistics (Third ed.). Wiley. pp. 396–406.
• van der Waerden, B.L. (1952). "Order tests for the two-sample problem and their power", Indagationes Mathematicae, 14, 453–458.
• van der Waerden, B.L. (1953). "Order tests for the two-sample problem. II, III", Proceedings of the Koninklijke Nederlandse Akademie van Wetenschappen, Serie A, 564, 303–310, 311–316. This article incorporates public domain material from the National Institute of Standards and Technology website https://www.nist.gov.