wp.mmrm: Power analysis for longitudinal data analysis

Description Usage Arguments References

Description

The two functions are adapted from the R package longpower by Michael C. Donohue. More will be added later.

Usage

1
2
3
4
5
6
7
8
wp.mmrm(N = NULL, Ra = NULL, ra = NULL, sigmaa = NULL, 
Rb = NULL, rb = NULL, sigmab = NULL, lambda = 1, 
delta = NULL, alpha = 0.05, power = NULL, 
alternative = c("two.sided", "one.sided"))
wp.mmrm.ar1(N = NULL, rho = NULL, ra = NULL, sigmaa = NULL, 
rb = NULL, sigmab = NULL, lambda = 1, times = 1:length(ra), 
delta = NULL, alpha = 0.05, power = NULL, 
alternative = c("two.sided", "one.sided"))

Arguments

N

N

Ra

Ra

ra

ra

sigmaa

sigmaa

Rb

Rb

rb

rb

sigmab

sigmab

lambda

lambda

delta

delta

alpha

Significance level

power

Statistical power

alternative

alternative hypothesis

rho

rho

times

times

References

Lu, K., Luo, X., Chen, P.-Y. (2008) Sample size estimation for repeated measures analysis in randomized clinical trials with missing data. International Journal of Biostatistics, 4, (1)


WebPower documentation built on May 1, 2019, 8:19 p.m.