Learn R Programming

⚠️There's a newer version (1.0.27) of this package.Take me there.

longpower (version 1.0-7)

Sample size calculations for longitudinal data

Description

The longpower package contains functions for computing power and sample size for linear models of longitudinal data based on the formula due to Liu and Liang (1997) and Diggle et al (2002). Either formula is expressed in terms of marginal model or Generalized Estimating Equations (GEE) parameters. This package contains functions which translate pilot mixed effect model parameters (e.g. random intercept and/or slope) into marginal model parameters so that the formulas of Diggle et al or Liu and Liang formula can be applied to produce sample size calculations for two sample longitudinal designs assuming known variance.

Copy Link

Version

Install

install.packages('longpower')

Monthly Downloads

1,132

Version

1.0-7

License

GPL (>= 2)

Maintainer

Michael Donohue

Last Published

May 22nd, 2013

Functions in longpower (1.0-7)

lmmpower-methods

Sample size calculations for linear mixed models of rate of change based on lmer, lme, or gee "placebo" pilot estimates.
power.mmrm.ar1

Linear mixed model sample size calculations.
print.power.longtest

Print method for longitudinal data power calculation object
diggle.linear.power

Linear mixed model sample size calculations.
edland.linear.power

Linear mixed model sample size calculations.
liu.liang.linear.power

Linear mixed model sample size calculations from Liu & Liang (1997).
power.mmrm

Linear mixed model sample size calculations.
longpower-package

Sample size calculations for longitudinal data