SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Contacts SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Auxillary Chapter

VAN DER WAERDEN

Name:
    VAN DER WAERDEN
Type:
    Analysis Command
Purpose:
    Perform a Van Der Waerden (normal scores) test that k population distribution functions are equal.
Description:
    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.

    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 Van Der Waerden test converts the ranks 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 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.

    Let ni (i = 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. Then compute the normal scores as follows:

      A(ij) = NORPPF(R(X(ij))/(N+1)

    with R(Xij) and NORPPF denoting the rank of observation Xij and the normal percent point function, respectively.

    The average of the normal scores for each sample can then be computed as

      Abar(i) = (1/n(i))*SUM[j=1 to n(i)][A(ij)]  i = 1, 2, ..., k

    The variance of the normal scores can be computed as

      S**2 = (1/(N-1))*SUM[i=1 to k]SUM[j=1 to n(i)][A(ij)**2]

    The Van Der Waerden test can then be defined as follows.

      H0: All of the k population distribution functions are identical
      HA: At least one of the populations tends to yield larger observations than at least one of the other populations
      Test Statistic: T1 = (1/S**2)*SUM[i=1 to k][n(i)*(Abar(i))**2]
      Significance Level: alpha
      Critical Region: T1 > CHIPPF( alpha,k-1) where CHIPPF is the chi-square percent point function.
      Conclusion: Reject the null hypothesis if the test statistic is in the critical region.
Syntax:
    VAN DER WAERDEN <y> <x>             <SUBSET/EXCEPT/FOR qualification>
    where <y> is the response (= dependent) variable;
                <x> is the factor (= independent) variable;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
    VAN DER WAERDEN Y X
    VAN DER WAERDEN Y X SUBSET X = 1 TO 4
Note:
    If the hypothesis of identical distributions is rejected, you can perform a multiple comparisons procedure to determine which pairs of populations tend to differ.

    The populations i and j seem to be different if the following inequality is satisfied:

      |Abar(i) - Abar(j)| > TPPF(1-(alpha/2))*
SQRT(S**2*(N-1-T1)/(N-k))*SQRT((1/N(i)) + (1/N(j)))

    with t and T1 denoting the t percent point function and the Van Der Waerden test statistic, respectively.

    Dataplot writes all the pairwise multiple comparisons to the file "dpst1f.dat" in the current directory.

Note:
    Dataplot writes the following information to the file "dpst2f.dat" in the current directory:

      Column 1 = Index
      Column 2 = Raw Data Value
      Column 3 = Rank
      Column 4 = Normal Score
      Column 5 = Group Average of the Normal Scores (Abar(i))
      Column 6 = Group Sample Sizes (ni)
Default:
    None
Synonyms:
    NORMAL SCORES TEST is a synonym for VAN DER WAERDEN TEST
Related Commands: Reference:
    W. J. Conover, (1999). "Practical Nonparameteric Statistics", Third Edition, Wiley, pp. 396-406.
Applications:
    Analysis of Variance
Implementation Date:
    2004/10
Program:
     
    SKIP 25
    READ SPLETT2.DAT Y MACHINE
    VAN DER WAERDEN Y MACHINE
        
    The following output is generated.
     
                   VAN DER WAERDEN (NORMAL SCORES) TEST
                   THAT THE GROUPS COME FROM IDENTICAL POPULATIONS.
      
     1. STATISTICS
           NUMBER OF OBSERVATIONS               =       99
           NUMBER OF GROUPS                     =        4
           VARIANCE OF NORMAL SCORES OF RANKS   =   0.9289047
           VAN DER WAERDEN TEST STATISTIC       =    39.78569
      
     2. PERCENT POINTS OF THE CHI-SQUARE REFERENCE DISTRIBUTION
        FOR VAN DER WAERDEN TEST STATISTIC
           0          % POINT    =    0.000000
           50         % POINT    =    2.365974
           75         % POINT    =    4.108345
           90         % POINT    =    6.251388
           95         % POINT    =    7.814727
           99         % POINT    =    11.34487
           99.9       % POINT    =    16.26626
      
      
              100.0000       % Point:     39.78569
      
     3. CONCLUSION (AT THE 5% LEVEL):
           THE        4 SAMPLES DO NOT COME FROM IDENTICAL POPULATIONS.
        

Date created: 1/5/2006
Last updated: 1/5/2006
Please email comments on this WWW page to alan.heckert@nist.gov.