pi.star: Compute the anticipated null proportion estimate
Description
Compute an approximation of the expected value of the null proportion estimate given the sample size and effect size.Usage
pi.star (n, pow.func, eff.size, lam = 0.95, eps = 1e-04, ...)
Arguments
pow.func
an R function to compute statistical power
eff.size
effect size vector
lam
p-value at which to numerically evaluate p-value pdf (scalar)
eps
epsilon for numerical differentiation
...
additional agruments for the functions
References
#> Pounds, Stan, and Cheng Cheng. "Sample size determination for the false discovery rate." Bioinformatics 21.23 (2005): 4263-4271.