Skip to content
Prev 13425 / 20628 Next

Different random intercepts but same random slope for groups

Why not

mod2 <- lmer(result  ~ group*time+(1+time|lot), na.action=na.omit,
data=alldata)

This gives different slopes by group but same random effect variance for
all lots, which I think is what you actually want. A random intercept must
always be included with a random slope (there are probably exceptions but I
can't think of any).
On 10 June 2015 at 08:08, Ben Bolker <bbolker at gmail.com> wrote: