wilcoxon {ASSISTant} | R Documentation |
Compute the standardized Wilcoxon test statistic for two samples
Description
We compute the standardized Wilcoxon test statistic with mean 0 and
and standard deviation 1 for samples and
. The R function
stats::wilcox.test()
returns the statistic
Usage
wilcoxon(x, y, theta = 0)
Arguments
x |
a sample numeric vector |
y |
a sample numeric vector |
theta |
a value > 0 but < 1/2. |
Details
where are the ranks of the first sample
of size
. We compute
where is the alternative hypothesis shift on the
probability scale, i.e.
.
Value
the standardized Wilcoxon statistic
[Package ASSISTant version 1.4.3 Index]