[R] Unbalanced Design Power Analysis

Jacob Warren (RIT Student) jjw3952 at rit.edu
Tue Jun 12 18:40:26 CEST 2012


I have an unbalanced design I would like to run a power analysis on.
What I have been able to find has pointed me to using the pwr.f2.test
function as described below. My problem is that I don't know how to
appropriately define the numerator and demoninator df.

If someone can help here is some more info about my design.

It is an unbalanced 2^3 x 3 design where the factor with 3 levels is a
random effect.
So say there are factors A, B, C with 2 levels and D with 3 levels
A will have 77 observations at level -1 and 19 at 1
B will have 67 at -1 and 29 at 1
C will have 57 at -1 and 39 at 1
D will have 32 at -1, 0, and 1

General Linear Model
Function: pwr.f2.test
Arguments: u: Numerator degrees of freedom
v: Denominator degrees of freedom
f2: Effect Size
sig.level: Significance level
power: Power of test



More information about the R-help mailing list