Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Multiple membership model with xtmixed

From   Steven Raemaekers <>
Subject   st: Multiple membership model with xtmixed
Date   Fri, 14 Dec 2012 15:11:20 +0100


I have a complex data structure I'm trying to model with xtmixed. 
There exists a multiple membership hierarchy in my data, which means that units at one level can belong to multiple units at the next level.
The command is as follows:

xtmixed dep iv2 iv3 || A: iv3 || B:, mle var cov(un)

One unit of B can be part of multiple units of A. How can I account for this in the xtmixed model, or maybe I do not need to do anything?
I saw the "_all: R." syntax, but if I'm not mistaking this is for cross classified hierarchies only, which is something else, or is it the same?
I cannot find anything about this in the help files. 


Steven Raemaekers

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index