Skip to content
Prev 42796 / 398506 Next

nlme vs aov with Error() for an ANCOVA

Well, I don't think this is ANCOVA as you seem to want to specify a random 
slope for a covariate.  aov() is not designed for that.  It is also not 
designed for assessing the size of fixed effects which seems the question 
here.

As I understand it, you have only one observation for each value of `rt'
for each subject, and `rt' is an explanatory variable.  For lme you have
specified a subject-dependent intercept and coefficient of `rt'.  You
cannot do that in aov, where the argument of Error is supposed to be a
factor or a combination of factors.  This is in the reference given by
help for aov or Error (on pp 157-9).
On Thu, 15 Jan 2004, Christoph Lehmann wrote:

            
Nope.  It means that you have two lines with a common non-zero intercept
and probably different slopes for the two age groups.  However, as I 
understand it rt=0 is an extraplolation to an physically impossible value, 
so interpreting the intercept makes little sense.