pi.star: Compute the anticipated null proportion estimate

Description Usage Arguments Value References

View source: R/fdr-sampsize-v1.0e.R

Description

Compute an approximation of the expected value of the null proportion estimate given the sample size and effect size.

Usage

1
pi.star (n, pow.func, eff.size, lam = 0.95, eps = 1e-04, ...) 

Arguments

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

Value

scalar value for approximated E(pi.hat)

References

#> Pounds, Stan, and Cheng Cheng. "Sample size determination for the false discovery rate." Bioinformatics 21.23 (2005): 4263-4271.


FDRsampsize documentation built on May 2, 2019, 9:14 a.m.