dwil | R Documentation |
Computes the density function for the Wilcoxon rank-sum distribution without centering.
dwil(q, m, n)
q |
vector of quantiles |
m |
number of observations in the first sample |
n |
number of observations in the second sample |
Computes the density function for the Wilcoxon rank-sum distribution, using
exact values when both groups have fewer than 50 items and switching
to a normal approximation otherwise. It was originally written for
S-Plus, which still perversely insists that m
and n
must
be less than 50. The function was retained when the OOMPA library was
ported to R, since S-Plus keeps the actual rank-sum but R centers the
distribution at zero. This function encapsulated the difference, allowing
everything else to continue to work as it had worked previously.
A vector of the same length as q
containing (approximate or
exact) values of the density function.
Kevin R. Coombes krc@silicovore.com
MultiWilcoxonTest
dwil(51:60, 9, 3)
dwil(51:60, 9, 51)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.