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: R-squared or intraclass correlation in xtmixed.


From   Clara Barata <maria_barata@mail.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: R-squared or intraclass correlation in xtmixed.
Date   Sat, 27 Nov 2010 09:44:07 -0500

Hi Toby!
You can get an icc from xtmixed by using the xtmrho command. You need
to install it first by running "ssc install xtmrho, replace" and then
running the xtmrho command immediately after your xtmixed command. As
for R2, I tried computing pseudo-r2 by hand using the variance
estimates outputted by xtmixed at the two levels, but I could never
quite match the ones outputted by xtreg with a similar equation.
Here's my previous posting on this issue:
http://www.stata.com/statalist/archive/2010-09/msg00072.html
I hope you get some more answers!
Clara

On Sat, Nov 27, 2010 at 6:48 AM, Hobst <tobias.friedli@access.uzh.ch> wrote:
>
> Hi eveybody
>
> Is it possible to get r-squared values, icc, or something similar in the
> xtmixed output?
>
> Thanks for your support.
>
> Regards, Toby
> --
> View this message in context: http://statalist.1588530.n2.nabble.com/R-squared-or-intraclass-correlation-in-xtmixed-tp5779540p5779540.html
> Sent from the Statalist mailing list archive at Nabble.com.
> *
> *   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/


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