Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: R-squared or intraclass correlation in xtmixed.

From   Clara Barata <>
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:
I hope you get some more answers!

On Sat, Nov 27, 2010 at 6:48 AM, Hobst <> 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:
> Sent from the Statalist mailing list archive at
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

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