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, statalist.org 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 <s.raemaekers@sig.eu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Multiple membership model with xtmixed
Date   Fri, 14 Dec 2012 15:11:20 +0100

Hello,

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. 

Regards,

Steven Raemaekers



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index