I'm trying to calculate a power analysis (using pwr
package in R
) for an unbalanced one-way ANOVA
. I'm unsure how to appropriately weight the means or account for the unbalanced design. I currently have:
groups = 4
n = n
for each group (here, n1=12 for group 1, n2=8 for group 2, n3=9, for group 3, and n4=12)
between.var
and within.var
are known from the ANOVA analysis:
(between.var=0.004363, within.var=0.003680)
And finally
means = (0.1513, 0.1767, 0.1676, 0.1968).
Any help would be appreciated.