wilcox.manyzeros.exact {choplump} | R Documentation |
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)
W |
a vector of responses, should have some zeros and all rest positive |
Z |
a vector of group membership, should be either 0 or 1 |
A vector of three types of p-values: p.lower, p.upper, and p.2sided.
M.P. Fay