![]() Volume 9, Issue 4 Articles Tricks of the Trade In and Out Trott's Corner New Products New Publications Calendar News Bulletins New Resources Classifieds Download This Issue Editorial Policy Staff and Contributors Submissions Subscriptions Advertising Back Issues Contact Information |
Applications of Generating Functions in Nonparametric Tests
The Wilcoxon Rank Sum TestSuppose two independent samples The Wilcoxon rank sum test (which is closely related to the Mann-Whitney U test) is one of the best known and easiest to use tests in this situation (see, for example, [2]). It rejects the null hypothesis No TiesLet us first assume that there are no ties, that is, all
we have
Thus we get
Together with our procedures of the third section, we can use this generating function to calculate the probability density function; to calculate, tabulate, and plot the cumulated distribution function; and to calculate alpha-quantiles of the null distribution of the Wilcoxon rank sum. For example,
For large values of
Figure 1. Furthermore, it is possible to generate accurate tables of alpha-quantiles of the null distribution of this test statistic.
TiesIf ties occur, we assign to tied observations the same midrank, which is the average of the ranks of these observations. Suppose we have the seven observations 1.3, 1.7, 1.7, 1.7, 1.9, 1.9, and 2.2, then the midranks of these observations are 1, 3, 3, 3, 5.5, 5.5, and 7. If
Thus, we define
Calculating the generating function
we have
Thus, we get
Again we can use this generating function to calculate the probability density function; to calculate, tabulate, and plot the cumulated distribution function; and to calculate alpha-quantiles of the null distribution of the Wilcoxon rank sum. For example,
In [2] it is shown that for large values of
Figure 2.
|
||||||||
About Mathematica | Download Mathematica Player © 2005 Wolfram Media, Inc. All rights reserved. |