Re: [R] lmer with 2 random effects with only two levels

2011-05-19 Thread Daniel Malter
What you should and can do depends on the expectations you have regarding the correlation structure of the data and is limited by your degrees of freedom. For example, what is wrong about: reg<-lmer(response~femaleset+treatment+(1|group)) ? This assumes that there are constant group effects on

[R] lmer with 2 random effects with only two levels

2011-05-19 Thread gmd
Dear all, I am analysing a data set based on 6 groups of individuals. Each group is observed for 10 days. 5 days with one manipulation 5 days with another manipulation. I therefore have 6 replicate groups (n=6) each with one mean measurement for manipulation A and manipulation B. Each group con