anova1f_4c | R Documentation |
Compute power for a One Factor ANOVA with four levels. Takes means, sds, and sample sizes for each group. Alpha is .05 by default, alternative values may be entered by user
anova1f_4c( m1 = NULL, m2 = NULL, m3 = NULL, m4 = NULL, s1 = NULL, s2 = NULL, s3 = NULL, s4 = NULL, n1 = NULL, n2 = NULL, n3 = NULL, n4 = NULL, alpha = 0.05, c1 = 0, c2 = 0, c3 = 0, c4 = 0 )
m1 |
Mean of first group |
m2 |
Mean of second group |
m3 |
Mean of third group |
m4 |
Mean of fourth group |
s1 |
Standard deviation of first group |
s2 |
Standard deviation of second group |
s3 |
Standard deviation of third group |
s4 |
Standard deviation of forth group |
n1 |
Sample size for first group |
n2 |
Sample size for second group |
n3 |
Sample size for third group |
n4 |
Sample size for fourth group |
alpha |
Type I error (default is .05) |
c1 |
Weight for Contrast 1 (default is 0) |
c2 |
Weight for Contrast 2 (default is 0) |
c3 |
Weight for Contrast 3 (default is 0) |
c4 |
Weight for Contrast 4 (default is 0) |
anova1f_4c(m1=80, m2=82, m3=82, m4=86, s1=10, s2=10, s3=10, s4=10, n1=60, n2=60, n3=60, n4=60, c1=1, c2=1, c3=-1, c4=-1, alpha=.05) anova1f_4c(m1=80, m2=82, m3=82, m4=86, s1=10, s2=10, s3=10, s4=10, n1=60, n2=60, n3=60, n4=60, c1=1, c2=-1, c3=-0, c4=0, alpha=.05) anova1f_4c(m1=80, m2=82, m3=82, m4=86, s1=10, s2=10, s3=10, s4=10, n1=60, n2=60, n3=60, n4=60, c1=0, c2=0, c3=1, c4=-1, alpha=.05) #'@return Power for the One Factor ANOVA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.