Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Problem with xtmixed


From   SamL <saml@demog.berkeley.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Problem with xtmixed
Date   Wed, 4 Jun 2008 12:06:19 -0700 (PDT)

Thanks for that heads up. I think knowing that will increase the chance I estimate the model I am trying to estimate. Thanks again.

Sam

On Wed, 4 Jun 2008, Roberto G. Gutierrez, StataCorp wrote:


SamL <saml@demog.berkeley.edu> writes:

I have wondered about the way in which xtmixed seems not to match the syntax
of other multi-equation commands with which I am familiar.  I am thinking of
heckman, sureg, and other such commands as examples.

I have wondered whether xtmixed matches the syntax of other multi-equation
commands with which I am not familiar. If not, I have wondered whether there
is any way xtmixed could be written so that the syntax matched some of the
other multi-equation commands in stata.

So, asking explicitly: Could xtmixed be written so that the syntax matched
some of the other multi-equation commands in stata?
-xtmixed- does support "standard" multi-equation syntax.  For example,

   . xtmixed (weight week) (id: week)

is equivalent to

   . xtmixed weight week || id: week

See the technical note on page 303 of [XT] xtmixed (Stata 10).  There it
states that, although both syntaxes are supported, the latter is predominant
to emphasize the multiLEVEL aspect of the model rather than the multiEQUATION
aspect.

But you still need to colon after the level identifier.

--Bobby
rgutierrez@stata.com
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index