I am trying to calculate power analysis (using the pwr package in R ) for an unbalanced one-way ANOVA . I am not sure how to weigh the funds correctly or take into account 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 known from 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.
source share