powerlmm: Power Analysis for Longitudinal Multilevel Models
Version 0.2.0

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) , 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

AuthorKristoffer Magnusson [aut, cre]
Date of publication2018-03-20 19:08:03 UTC
MaintainerKristoffer Magnusson <[email protected]>
LicenseGPL (>= 3)
URL https://github.com/rpsychologist/powerlmm
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the powerlmm package in your browser

Any scripts or data that you put into this service are public.

powerlmm documentation built on March 21, 2018, 1:04 a.m.