Compute power for a One Factor Within Subjects Linear Mixed Model with up to four levels. Takes means, sds, and sample sizes for each group. Alpha is .05 by default, alternative values may be entered by user
lmm1F(
m1,
m2,
m3 = NA,
m4 = NA,
s1,
s2,
s3 = NULL,
s4 = NULL,
r12,
r13 = NULL,
r14 = NULL,
r23 = NULL,
r24 = NULL,
r34 = NULL,
n,
alpha = 0.05
)
Power for the One Factor Within Subjects Linear Mixed Model
Mean of first time point
Mean of second time point
Mean of third time point
Mean of fourth time point
Standard deviation of first time point
Standard deviation of second time point
Standard deviation of third time point
Standard deviation of forth time point
correlation Time 1 and Time 2
correlation Time 1 and Time 3
correlation Time 1 and Time 4
correlation Time 2 and Time 3
correlation Time 2 and Time 4
correlation Time 3 and Time 4
Sample size for first group
Type I error (default is .05)
lmm1F(m1=-.25,m2=.00,m3=.10,m4=.15,s1=.4,s2=.5,s3=.6,s4=.7,
r12=.50, r13=.30, r14=.15, r23=.5, r24=.30, r34=.50, n=25)
lmm1F(m1=-.25,m2=.00,m3=.10,m4=.15,s1=.4,s2=.5,s3=2.5,s4=2.0,
r12=.50, r13=.30, r14=.10, r23=.5, r24=.30, r34=.40, n=100)
Run the code above in your browser using DataLab