Description Usage Arguments Value
View source: R/power_formulas.R
MDEs for Two-Level Cluster Random Assignment Design
1 2 |
R2_1 |
Proportion of variance in level 1 outcome explained by level 1 covariates |
R2_2T |
Proportion of variance in level 2 outcome explained by level 2 covariates |
P |
Proportion of the level 2 units randomized to the treatment |
g |
Number of level 2 Covariates used |
n |
Mean # of level 1 units per level 2 cluster |
J |
Number of level 2 units |
rho |
proportion of variance in outcome that is between clusters |
alpha |
Probability of a type I error |
power |
Statistical power (1 - probability of type II error) |
tails |
One or two tailed test |
Minimum Detectable Effect Size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.