Given:
Where indicates the group, or treatment.
Rearranging this equation gives:
Given
Substitute for
in the first equation
Then solve for
for factors a, b... (usually 1 or 2, sometimes 3) where is the number of replicates within each treatment combination.