rpsychologist/powerlmm: Power Analysis for Longitudinal Multilevel Models

Calculate power for the 'time x treatment' effect in two- and three-level multilevel longitudinal studies with missing data. Both the third-level factor (e.g. therapists, schools, or physicians), and the second-level factor (e.g. subjects), can be assigned random slopes. Studies with partially nested designs, unequal cluster sizes, unequal allocation to treatment arms, and different dropout patterns per treatment are supported. For all designs power can be calculated both analytically and via simulations. The analytical calculations extends the method described in Galbraith et al. (2002) <doi:10.1016/S0197-2456(02)00205-2>, to three-level models. Additionally, the simulation tools provides flexible ways to investigate bias, Type I errors and the consequences of model misspecification.

Package details

Maintainer
LicenseGPL (>= 3)
Version0.4.0.9000
URL https://github.com/rpsychologist/powerlmm
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("rpsychologist/powerlmm")
rpsychologist/powerlmm documentation built on Aug. 17, 2018, 7:57 a.m.