This function gives exact p-values for the Wilcoxon rank sum. This algorithm is designed for the case
when the responses are either positive or zero, and there are many zero responses. Its purpose is mostly for the
validation of the choplump
function (see vignette("choplumpValidation")
).
wilcox.manyzeros.exact(W, Z)
A vector of three types of p-values: p.lower, p.upper, and p.2sided.
a vector of responses, should have some zeros and all rest positive
a vector of group membership, should be either 0 or 1
M.P. Fay
choplump