powered by
mdes.bcra3f2 calculates minimum detectable effect size, power.bcra3f2 calculates statistical power, mrss.bcra3f2 calculates minimum required sample size.
mdes.bcra3f2
power.bcra3f2
mrss.bcra3f2
mdes.bcra3f2(power=.80, alpha=.05, two.tailed=TRUE, rho2, p=.50, g2=0, r21=0, r22=0, n, J, K, ...)power.bcra3f2(es=.25, alpha=.05, two.tailed=TRUE, rho2, p=.50, g2=0, r21=0, r22=0, n, J, K, ...)mrss.bcra3f2(es=.25, power=.80, alpha=.05, two.tailed=TRUE, n, J, K0=10, tol=.10, rho2, p=.50, g2=0, r21=0, r22=0, ...)
power.bcra3f2(es=.25, alpha=.05, two.tailed=TRUE, rho2, p=.50, g2=0, r21=0, r22=0, n, J, K, ...)
mrss.bcra3f2(es=.25, power=.80, alpha=.05, two.tailed=TRUE, n, J, K0=10, tol=.10, rho2, p=.50, g2=0, r21=0, r22=0, ...)
statistical power \((1-\beta)\).
effect size.
probability of type I error.
logical; TRUE for two-tailed hypothesis testing, FALSE for one-tailed hypothesis testing.
TRUE
FALSE
proportion of variance in the outcome explained by level 2 units.
average proportion of level 2 units randomly assigned to treatment within level 3 units.
number of covariates at level 2.
proportion of level 1 variance in the outcome explained by level 1 covariates.
proportion of level 2 variance in the outcome explained by level 2 covariates.
harmonic mean of level 1 units across level 2 units (or simple average).
harmonic mean of level 2 units across level 3 units (or simple average).
number of level 3 units.
starting value for K.
K
tolerance to end iterative process for finding K.
to handle depreciated or defunct arguments.
function name.
list of parameters used in power calculation.
degrees of freedom.
noncentrality parameter.
minimum detectable effect size.
# NOT RUN { # cross-checks mdes.bcra3f2(rho2=.10, n=20, J=44, K=5) power.bcra3f2(es = .145, rho2=.10, n=20, J=44, K=5) mrss.bcra3f2(es = .145, rho2=.10, n=20, J=44) # }
Run the code above in your browser using DataLab