Skip to content

But in add1, presumably in add1.lm (PR#7842)

1 message · Brian Ripley

#
The problem is in the way terms() reorders interactions in forming the 
term labels.  If asked to fit  ~ Age + Eth + Eth:Age it actually fits
~ Age + Eth + Age:Eth

It is not clear to me why R does this (S does not) nor if it is safe to 
change that, but it would be better to fix the root cause if possible as 
it occurs in several places.  In particular, it affects all known add1 
methods and can affect drop1 too.

If used consistently, there is a no problem: here your upper scope does 
not (strictly) include your lower model.
On Fri, 6 May 2005 berwin@maths.uwa.edu.au wrote: