View source: R/average_power.R
average.power.ranksum | R Documentation |
Compute average power of rank-sum tests
average.power.ranksum(n, alpha, p)
n |
sample size (scalar) |
alpha |
p-value threshold (scalar) |
p |
Pr(Y>X), as in Noether (JASA 1987) |
Average power estimate for multiple testing procedure
power.ranksum
for more details about power calculation of rank-sum test. The power calculation is based on asymptotic normal approximation.
p = rep(c(0.8,0.5),c(100,900));
average.power.ranksum(n = 50, alpha = 0.05, p=p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.