list.power.est: Calculate power for each set of sd in est.sd

Description Usage Arguments Value Author(s) Examples

Description

Calculate power for each set of sd in est.sd

Usage

1
list.power.est(est.sd, ngenes.null, nrep.simu, delta, sig.level)

Arguments

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

Value

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

Author(s)

Peng Liu [email protected]

Examples

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)

warnes/exp.ssize documentation built on May 28, 2017, 12:58 a.m.