BIRA4_1r: Model 2.5: MDES Calculator for 4-Level Random Effects Blocked...

Description Usage Arguments Value

View source: R/power_formulas.R

Description

MDES for 4-Level Random Effects Blocked Individual Random Assignment Design

Usage

1
2
BIRA4_1r(R2_1, R2_2T, R2_3T, R2_4T, P, g_4, n, J, K, L, rho_4, rho_3, rho_2,
  omega_2, omega_3, omega_4, alpha = 0.05, power = 0.8, tails = 2)

Arguments

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

R2_3T

Proportion of variance in treatment effect explained by Block and Level 3 covariates

R2_4T

Proportion of variance in treatment effect explained by Block and Level 4 covariates

P

Proportion of level 1 units randomized to the treatment

g_4

Number of level 4 covariates

n

Mean # of level 1 units per level 2 unit

J

Mean # of level 2 units per level 3 unit

K

Number of level 3 units per level 4 unit

L

Number of level 4 units

rho_4

proportion of variance in outcome between level 4 units

rho_3

proportion of variance in outcome between level 3 units

rho_2

proportion of variance in outcome between level 2 units

omega_2

Level 2 treatment effect heterogeneity: variance in treatment effect across Level 2 units, standardized by the Level-2 outcome variation

omega_3

Level 3 treatment effect heterogeneity: variance in treatment effect across Level 3 units, standardized by the Level-3 outcome variation

omega_4

Level 4 treatment effect heterogeneity: variance in treatment effect across Level 3 units, standardized by the Level-4 outcome variation

alpha

Probability of a type I error

power

Statistical power (1 - probability of type II error)

tails

One or two tailed test

Value

Minimum Detectable Effect Size


alishinski/CRTpower documentation built on May 22, 2019, 3:38 p.m.