Analysis of Two-factor Designs (2 of 5)
Degrees of Freedom
The
degrees of freedom total is always equal
to the total number of numbers in the analysis minus one. The experiment
on task and drug dosage had eight subjects in each of the six groups
resulting in a total of 48 subjects. Therefore, df total = 48 - 1 =
47.
The degrees of freedom for the main effect of a factor is always
equal to the number of
levels of the factor
minus one. Therefore, df task = 2 - 1 = 1 since there were two levels
of task (simple and complex). Similarly, df dosage = 3 - 1 = 2 since
there were three levels of drug dosage (0 mg, 100 mg, and 200 mg).
The
degrees of freedom for an interaction is equal to the product of the
degrees of freedom of the variables in the interaction. Thus, the degrees
of freedom for the Task x Dosage interaction is the product of the degrees
of freedom for task (1) and the degrees of freedom for dosage (2). Therefore,
df Task x Dosage = 1 x 2 = 2.
The degrees of freedom error is equal
to the degrees of freedom total minus the degrees of freedom for all
the effects. Therefore, df error = 47 - 1 - 2 - 2 = 42.