Diff for "FAQ/df" - CBU statistics Wiki
location: Diff for "FAQ/df"
Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2010-05-11 14:39:38
Size: 1355
Editor: PeterWatson
Comment:
Revision 6 as of 2013-03-08 10:17:44
Size: 1373
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
|||| Error (subjects x Within subs interaction) || df of Error (between subjects) x df(W interaction term) || |||| Error (subjects x Within subjects interaction) || df of Error (between subjects) x df(Within subjects interaction term) ||

How do I work out degrees of freedom for terms in an ANOVA?

For N subjects and g group variables (factors) with respective levels L1, L2, ... , Lg and a within subjects factors, W, the table below gives the degrees of freedom for various types of sources variation in an analysis of variance.

Source of variation

df

Factor

L1-1

2-way interaction

(L1-1)(L2-1)

K-way interaction of factors

$$\prod_text{k} (L_text{k}-1)$$

Between subjects error terms

Error (one-way anova between subjects)

N - L1

Error (between subjects)

N - df of terms involving between subjects factors - 1

Within subjects error terms

Error (subjects x W1), no between subjects factor

(N-1)(L1-1)

Error (subjects x W1 x W2, no between subjects factor )

(N-1)(L1-1)(L2-1)

Error (subjects x W1 x W2, 1 between subjects factor)

(N-L1)(L2-1)(L3-1)

Error (subjects x Within subjects interaction)

df of Error (between subjects) x df(Within subjects interaction term)

Reference

Boniface DR (1995) Experiment design and statistical methods for behavioural and social research. Chapman and Hall:London. (This book contains further details about computing degrees of freedom and also SS in balanced designs for terms in an ANOVA).

None: FAQ/df (last edited 2013-03-08 10:17:44 by localhost)