[R] a question on df of linear model

Joe Moore emgt_r at hotmail.com
Sun Apr 16 21:56:19 CEST 2006


Dear R-users:

On page 155 of "Mixed-effects Models in S and S-Plus", the degree of 
freedoms of the anova comparison of lme and lm are 8 and 5.

But when I use the following SAS code:
proc glm data=ortho2;
   class gender;
   model distance = age|gender / solution ;
run;

The df is 3.

Could you please explain this to me?

Thanks

Joe




More information about the R-help mailing list