Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

wp.mmrm

Power analysis for longitudinal data analysis


Description

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

Usage

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

Basic and Advanced Statistical Power Analysis

v0.5.2
GPL (>= 3)
Authors
Zhiyong Zhang [aut, cre], Yujiao Mai [aut], Miao Yang [ctb]
Initial release
2018-11-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.