Displaying 1 result from an estimated 1 matches for "recap_random0".
Did you mean:
recap_random1
2006 Dec 11
2
How to write a two-way interaction as a random effect in a lmer model?
...After looking at the help function in R for lmer I deduced these models.
Examples from R
(fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
(fm2 <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject),
sleepstudy))
anova(fm1, fm2)
My models would then look like this:
recap_random0<-lmer(breath~handling+stress (1|rnr))
recap_random1<-lmer(breath~handling+stress (1|rnr)+(0+stress|rnr))
However, I do not know how to interpret the results. Does the model see
stress|rnr as an interaction between stress and rnr, or did it take
stress nested in rnr.
> summary(reca...