Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[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–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index