Degrees of Freedom

Hi,

After reading Quants, I got confused about df. If I have the following examples, why df is 22? df = N-k-1

_ ANOVA _

df

SS

MS

F

Regression

1

92.53009

92.53009

28.09117

Residual

22

72.46625

3.293921

Total

23

164.9963

n=24, k=1?

Exactly: the df for var(y) is 23=n-1; the df for var(error) is 22=n-k-1; the df for var(explained/regression) is 1=k .

Thanks. Got it know. No idea why I was confused with this simple question.