powered by
Compute average power of rank-sum tests
average.power.ranksum(n, alpha, p)
Average power estimate for multiple testing procedure
sample size (scalar)
p-value threshold (scalar)
Pr(Y>X), as in Noether (JASA 1987)
power.ranksum for more details about power calculation of rank-sum test. The power calculation is based on asymptotic normal approximation.
power.ranksum
p = rep(c(0.8,0.5),c(100,900)); average.power.ranksum(n = 50, alpha = 0.05, p=p)
Run the code above in your browser using DataLab