Re: [R] Interaction plot between 2 continuous variables

2012-05-06 Thread Ben Bolker
Bert Gunter gene.com> writes: > > This almost certainly has nothing to do with mixed effects models per > se. x1 and x2 are probably ( if what you see is not due to a few > unusual values) correlated, so the standard decomposition into main > and interaction effects does not have the usual meani

Re: [R] Interaction plot between 2 continuous variables

2012-05-06 Thread Bert Gunter
This almost certainly has nothing to do with mixed effects models per se. x1 and x2 are probably ( if what you see is not due to a few unusual values) correlated, so the standard decomposition into main and interaction effects does not have the usual meaningful interpretation (e,g, that you would g

[R] Interaction plot between 2 continuous variables

2012-05-06 Thread Eiko Fried
I have two very strong fixed effects in a LMM (both continuous variables). model <- lmer( y ~ time + x1+x2 + (time|subject)) Once I fit an interaction of these variables, both main effects disappear and I get a strong interaction effect. model <- lmer( y ~ time + x1*x2 + (time|subject)) I would l