[R-sig-ME] observations in multiple groups

Reinhold Kliegl reinhold.kliegl at gmail.com
Thu Jun 9 13:42:36 CEST 2011


Could you define your "groups" with class pairs as units?
Reinhold Kliegl

On Thu, Jun 9, 2011 at 5:39 AM, Jeroen Ooms <jeroen.ooms at stat.ucla.edu> wrote:
> The standard assumption in multilevel modelling seems to be that every
> observation is in 1 group. However, I have an application in which every
> observation is in 2 (exchangable) groups. More precisely, I have k groups
> and k^2 observations, and there is one observations for every combination of
> groups. The groups are unordered, so I can't do e.g. 1 + (1| firstgroup) +
> (1|secondgroup). Is there a way to model this with lme4?
>
> So the schoolbook example would be a hierarchical model with children within
> classes, however every child is in two classes at the same time.
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>




More information about the R-sig-mixed-models mailing list