Description Usage Arguments Value Author(s) Examples
Calculate power for each set of sd in est.sd
1 | list.power.est(est.sd, ngenes.null, nrep.simu, delta, sig.level)
|
est.sd |
a matrix of estimated sd, one row for each observation and one column for each sample size |
ngenes.null |
number of genes from Ho |
nrep.simu |
sample size used for power calculation |
delta |
effect size for power calculation |
sig.level |
type I error rate |
returns a list with the same length as the number of sets for sd each component in the list is a list of a matrix (stores estimated power) and a vector (stores summary of proportion of observations with power greater then 80
Peng Liu peng_liu@groton.pfizer.com
1 2 | est.sd <- cbind(c(1:4)*0.01, c(1:4)*0.1)
list.power.est(est.sd, ngenes.null=0, nrep.simu=c(3,5,8), delta=1, sig.level=0.05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.