Estimate N on the basis of one pilot sample.
n_locshift_one(sample, alpha, power, delta, q)
pilot data
Type I error probability
1 - Type II error probability, the desired statistical power
numeric value, location shift parameter \(\delta\)
size of group0 relative to total sample size.
numeric value, an estimate of the sample size required to
detect a location shift of delta
with a Wilcoxon Mann-Whitney
test with power
and alpha
.