powerlmm: Power Calculations for Longitudinal Multilevel Models

Calculate power for 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.

Version: 0.1.0
Depends: R (≥ 3.2.0)
Imports: stats, lmerTest (≥ 2.0), lme4 (≥ 1.1), ggplot2 (≥ 2.2), ggsci, pbmcapply (≥ 1.1), Matrix, MASS, gridExtra, scales, utils, testthat
Suggests: dplyr, tidyr, knitr, rmarkdown, viridis, shiny (≥ 1.0), shinydashboard
Published: 2017-09-11
Author: Kristoffer Magnusson [aut, cre]
Maintainer: Kristoffer Magnusson <hello at kristoffer.email>
BugReports: https://github.com/rpsychologist/powerlmm/issues
License: GPL (≥ 3)
URL: https://github.com/rpsychologist/powerlmm
NeedsCompilation: no
Materials: README
CRAN checks: powerlmm results


Reference manual: powerlmm.pdf
Vignettes: Tutorial: Evaluation the Models Using Monte Carlo Simulations
Details on the Power Calculations
Tutorial: Three-level Longitudinal Power Analysis
Tutorial: Two-level Longitudinal Power Analysis
Package source: powerlmm_0.1.0.tar.gz
Windows binaries: r-devel: powerlmm_0.1.0.zip, r-release: powerlmm_0.1.0.zip, r-oldrel: powerlmm_0.1.0.zip
OS X El Capitan binaries: r-release: powerlmm_0.1.0.tgz
OS X Mavericks binaries: r-oldrel: powerlmm_0.1.0.tgz


Please use the canonical form https://CRAN.R-project.org/package=powerlmm to link to this page.