Description Usage Arguments Value
View source: R/power_formulas.R
MDES for 2-Level Random Effects Blocked Individual Random Assignment
1 2 |
R2_1 |
Proportion of variance in level 1 outcome explained by level 1 covariates |
R2_2T |
Proportion of between block variance in treatment effect explained by Level 2 covariates |
P |
Proportion of level 1 units randomized to the treatment |
g |
Number of level 2 covariates |
n |
Average Block Size (mean # of level 1 units per level 2 unit) |
J |
Number of level 2 units |
rho |
proportion of variance in outcome between clusters |
omega |
Treatment effect heterogeneity: variability in treatment effects across Level 2 units, standardized by the variability in the Level-2 outcome |
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.