Power analysis for longitudinal data analysis
The two functions are adapted from the R package longpower by Michael C. Donohue. More will be added later.
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"))
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 |
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.