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: gllamm or xtmixed models?


From   Alfonso Sánchez-Peñalver <[email protected]>
To   Stata List <[email protected]>
Subject   Re: st: gllamm or xtmixed models?
Date   Thu, 30 Jan 2014 14:57:34 -0500

Hola Antonio,

I believe the correct syntax for the random effects model estimated via maximum likelihood would be

xtmixed depression x1 x2 x3 || country:

Alfonso Sánchez-Peñalver, PhD

Visiting Assistant Professor
Suffolk University
Senior Instructor
UMass Boston



On Jan 30, 2014, at 2:52 PM, Antonio Rodriguez Andres <[email protected]> wrote:

> Dear stata users
> 
> I want to estimate multilevel models as I have observations for individuals
> across countries.  My dependent variable
> İs a measure of mental health ranging from 0 to 24. I want to use
> hierarchical linear models with fixed effects and random effects for
> countries. The correct
> syntax is:
> 
> xtmixed depression   x1 x2 x3   || i(country)
> 
> Any clue
> 
> Regards
> 
> Antonio
> 
> 
> 
> *
> *   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/


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index