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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: margins and xtmixed


From   David Hoaglin <dchoaglin@gmail.com>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index