After xtmelogit try:
predict rintercept, reffects
Phil
On 20/07/2011, at 11:10 PM, Orian Brook wrote:
> Dear all
>
> I'm have data on a binary outcome which is organised as respondents within
> countries. What I really want to know is the random intercept for each
> country, but I can't see how to get it - could anyone point me? (I was
> previously not using a multilevel approach and had a dummy variable for each
> country, to get the country effect - but I realised I really should try a
> multilevel approach).
>
> The syntax I'm using is
>
> xi:xtmelogit QA4_PERF VD8 i.D10 VD11 i.C14 i.QB3 i.D25 || COUNTRY:
> xi:xtlogit QA4_PERF VD8 i.D10 VD11 i.C14 i.QB3 i.D25, i(COUNTRY)
>
> They get the same log-likelihood results, though naturally xtmelogit takes
> longer to run, I realise it has other options available.
> Thanks for any advice.
>
>
>
> *
> * 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/
*
* 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/