Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Saving Random Effects Estimates After Using XTMIXED


From   Robert Sutter <rdsutterjr@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Saving Random Effects Estimates After Using XTMIXED
Date   Thu, 12 Apr 2012 14:57:00 -0500

How do I save the random effects estimates after using xtmixed into a
file that I can access and then compute the intraclass correlation
coeffient? I am developing three level random intercept models -
xtmixed oelosdiff || facility: || attending_phy_id: if
rptggroupid==13047, mle cov(un) variance - that produces the following
random effects table:



------------------------------------------------------------------------------

  Random-effects Parameters  |   Estimate   Std. Err.     [95% Conf. Interval]

-----------------------------+------------------------------------------------

facility: Identity           |

                  var(_cons) |   .0213868   .0241971      .0023286    .1964259

-----------------------------+------------------------------------------------

attending_~d: Identity       |

                  var(_cons) |   .1246193   .0615895      .0473047    .3282969

-----------------------------+------------------------------------------------

               var(Residual) |   3.575787   .1314181       3.32727    3.842865

------------------------------------------------------------------------------



Thanks much for the advice!


Regards,

Bob Sutter

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