Skip to content
Prev 312100 / 398502 Next

interactions in GAMs

David,

I think that the colorsex approach is the right one, and colorsex should 
initially be included as a main effect, because the smooths are centred 
for factor by variables (see e.g. ?gam.models). Whether you then choose 
to drop this main effect, as it appears to be non-significant, is a 
matter of taste (I would tend to leave it in).

best,
Simon
On 27/11/12 16:42, chirleu wrote: