Description Usage Arguments Details Value Author(s) Examples
Given a set of sd and specified effect size, significance level and sample size, calculate power and proportion of observations with power greater than 0.8
1 | calc.power.est(sd, nrep.simu, delta, sig.level)
|
sd |
a vector of standard deviation |
nrep.simu |
a vector which specifies the sample size for calculate power |
delta |
effect size for sample size calculation |
sig.level |
type I error rate to control |
to be called by list.power.est
calc.power |
the matrix of calculated power (ngenes x length( nrep.simu )) |
propn.80 |
a vector of with the same length as the number of observations to store the proportion of observations with power greater than 0.8 |
Peng Liu peng_liu@groton.pfizer.com
1 2 | sd <- rep(0.1,5)
calc.power.est(sd, 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.