
Last chance! 50% off unlimited learning
Sale ends in
Computes the density function for the Wilcoxon rank-sum distribution without centering.
dwil(q, m, n)
A vector of the same length as q
containing (approximate or
exact) values of the density function.
vector of quantiles
number of observations in the first sample
number of observations in the second sample
Kevin R. Coombes krc@silicovore.com
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.
MultiWilcoxonTest
dwil(51:60, 9, 3)
dwil(51:60, 9, 51)
Run the code above in your browser using DataLab