Learn R Programming

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

longpower (version 1.0-19)

Sample Size Calculations for Longitudinal Data

Description

Compute power and sample size for linear models of longitudinal data. Supported models include mixed-effects models and models fit by generalized least squares and generalized estimating equations. Relevant formulas are derived by Liu and Liang (1997) , Diggle et al (2002) , and Lu, Luo, and Chen (2008) .

Copy Link

Version

Install

install.packages('longpower')

Monthly Downloads

1,070

Version

1.0-19

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Michael C Donohue

Last Published

March 7th, 2019

Functions in longpower (1.0-19)

diggle.linear.power

Sample size calculations for difference in slopes between two groups.
edland.linear.power

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

Linear mixed model sample size calculations from Liu & Liang (1997).
longpower-package

Sample size calculations for longitudinal data
print.power.longtest

Print method for longitudinal data power calculation object
power.longtest

Constructor function for class "power.longtest"
lmmpower

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

Linear mixed model sample size calculations.
power.mmrm.ar1

Linear mixed model sample size calculations.