pi.star {FDRsampsize} | R Documentation |
Compute an approximation of the expected value of the null proportion estimate given the sample size and effect size.
pi.star (n, pow.func, eff.size, lam = 0.95, eps = 1e-04, ...)
n |
sample size |
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 |
scalar value for approximated E(pi.hat)
#> Pounds, Stan, and Cheng Cheng. "Sample size determination for the false discovery rate." Bioinformatics 21.23 (2005): 4263-4271.