wlsGlmmPower: wlsGlmmPower

Description Usage Arguments Value Examples

View source: R/BinomialWrapper.R

Description

wlsGlmmPower

Usage

1
2
wlsGlmmPower(Cl, mu0, mu1, tau, eta = NULL, rho = NULL,
  family = "binomial", N = NULL, sig.level = 0.05, delay = NULL)

Arguments

Cl

integer (vector), number of clusters per wave (in SWD)

mu0

average under control

mu1

average under intervention

tau

numeric, standard deviation of random intercepts (soon) to be understood on the linear predictor level

sig.level

numeric, significance level, defaults to 0.05

delay

numeric (possibly vector), value between 0 and 1 specifing the intervention effect in the first (second ... ) intervention phase *not implemented*

Value

as wlsMixedPower

Examples

1
wlsGlmmPower(Cl=c(2,2,2),mu0=0.25,mu1=0.5,tau=0.05,N=20)

PMildenb/SteppedPower documentation built on Dec. 7, 2018, 7:59 a.m.