Learn R Programming

choplump (version 1.1.2)

wilcox.manyzeros.exact: Wilcoxon Rank Sum Test

Description

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")).

Usage

wilcox.manyzeros.exact(W, Z)

Value

A vector of three types of p-values: p.lower, p.upper, and p.2sided.

Arguments

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

Author

M.P. Fay

See Also

choplump