alpha.power: Find the p-value threshold that gives a specified average power
Description
Find p-value cut-off that yields desired average power given n and effect size
Usage
alpha.power (ave.pow, n, pow.func, eff.size, null.effect, tol = 1e-06, ...)
Arguments
ave.pow
desired average power (scalar)
n
sample size
pow.func
name of R function to compute statistical power
eff.size
effect size vector
null.effect
value of effect size that corresponds to null hypothesis
tol
tolerance for bisection solution to alpha
...
additional agruments for the functions
Value
alpha
desired value of alpha
ave.pow
average power at that alpha
References
A Onar-Thomas, S Pounds. "FDRsampsize: An R package to Perform Generalized Power and Sample Size Calculations for Planning Studies that use the False Discovery Rate to Measure Significance", Manuscript 2015.
Pounds, Stan, and Cheng Cheng. "Sample size determination for the false discovery rate." Bioinformatics 21.23 (2005): 4263-4271.
Jung, Sin-Ho. "Sample size for FDR-control in microarray data analysis." Bioinformatics 21.14 (2005): 3097-3104.