BCRA3_2f: @title Model 4.1: MDES Calculator for 3-Level Fixed Effects...

Description Usage Arguments Value

View source: R/power_formulas.R

Description

@title Model 4.1: MDES Calculator for 3-Level Fixed Effects Blocked Cluster Random Assignment Design (BCRA3_2f)<e2><80><94>Treatment at Level 2 @description MDES for 3-Level Fixed Effects Blocked Cluster Random Assignment Design

Usage

1
2
BCRA3_2f(R2_1, R2_2, P, g_2, n, J, K, rho_2, alpha = 0.05, power = 0.8,
  tails = 2)

Arguments

R2_1

Proportion of variance in level 1 outcome explained by level 1 covariates

R2_2

Proportion of variance in level 2 outcome explained by level 2 covariates

P

Proportion of the level 2 units randomized to the treatment

g_2

Number of level 2 Covariates used

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

rho_2

proportion of variance in outcome that is between level 2 units

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.