average.power.ranksum {FDRsamplesize2}R Documentation

Compute average power of rank-sum tests

Description

Compute average power of rank-sum tests

Usage

average.power.ranksum(n, alpha, p)

Arguments

n

sample size (scalar)

alpha

p-value threshold (scalar)

p

Pr(Y>X), as in Noether (JASA 1987)

Value

Average power estimate for multiple testing procedure

See Also

power.ranksum for more details about power calculation of rank-sum test. The power calculation is based on asymptotic normal approximation.

Examples

p = rep(c(0.8,0.5),c(100,900));
average.power.ranksum(n = 50, alpha = 0.05, p=p)

[Package FDRsamplesize2 version 0.2.0 Index]