observations in multiple groups
Hi, Sorry, the link to Doug's response regarding multi-membership models was the wrong multi-membership thread. This is the correct one: https://stat.ethz.ch/pipermail/r-sig-mixed-models/2010q2/003860.html Jarrod
On 9 Jun 2011, at 17:39, Jeroen Ooms wrote:
No that would over parameritize my models as there are k^2 combinations. I only want a marginal group effect in there, not all possible interactions. On Thu, Jun 9, 2011 at 4:42 AM, Reinhold Kliegl <reinhold.kliegl at gmail.com>wrote:
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
[[alternative HTML version deleted]]
_______________________________________________ R-sig-mixed-models at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.