Let me try to give you some ideas.
Suppose you have Y(i)=b1+b2*X(i)+e(i), i=1,...,n (*1)
also denote x(i)=X(i)-X_bar, where X_bar is the sample mean of X(i), simialrly for y(i).
for ease of exposition, when thinking about degrees of freedom(hereafter, df), only look at Y(i), or y(i).
Now if you estimate the sample mean of Y(i), i.e., Y_bar, you lose one df. Why? take a simple example. suppose you have 4 numbers, But I tell you that the sample mean is (say) 5. I ask 4 students choose such 4 numbers such that the sample mean is 5. The students are free to choose any number, The 1st student is happy, the 2nd is happy, the 3rd is happy... now suppose the first three numbers chosen are 10, -2, 4, then the sum is 12. The 4th student is not happy because she must to choose 8 such that the average is 5 is satisfied. So we have 4 "observations", but in order to have the mean, we lose one df.
Note that this is some sort of constraints (i.e. to calculate the sample mean).
I also note that estimate parameters in the mdoel can also be viewed constraints.
When you estimate one parameter, e.g. b1 in (*1), you impose one constraint upon the system.
[此贴子已经被作者于2006-3-12 3:25:29编辑过]