average.power.signtest {FDRsamplesize2}R Documentation

Compute average power of many sign tests

Description

Compute average power of many sign tests

Usage

average.power.signtest(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.signtest for more details about power calculation of sign test. The power calculation is based on asymptotic normal approximation.

Examples

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

[Package FDRsamplesize2 version 0.2.0 Index]