Bookmark and Share

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


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

Re: st: margins and xtmixed


From   David Hoaglin <[email protected]>
To   [email protected]
Subject   Re: st: margins and xtmixed
Date   Wed, 14 Mar 2012 11:15:13 -0400

I'm not sure that I understand the random-effects part of your model.
For each id it specifies a random intercept.  Also, for each id it
specifies a random coefficient for group.  Please say more about the
structure of your data.  How is id related to group (and to time)?

David Hoaglin

>
> I fit the following -xtmixed- model:
> . xtmixed ft i.group##month || id: group, cov(unstructured) mle
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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