Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: intracluster correlation coefficient (ICC)


From   Joseph Coveney <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: intracluster correlation coefficient (ICC)
Date   Thu, 21 Apr 2005 09:13:17 +0900

Economicus wrote:

Hi! Is there a simple method to calculate ICC in Stata?

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

-findit intraclass- brings up -loneway-, if that's what you're looking for.  

A few years ago, I adapted Robert M. Hamer's SAS macro that provided for all of 
the intraclass correlation coefficients (and their confidence intervals) 
described in P. E. Shrout and J. L. Fleiss, Intraclass correlations: Uses in 
assessing rater reliability. _Psychological Bulletin_ 86:420-428, 1979.  It 
worked for balanced datasets (it called -anova-) for all of the various ICCs, 
and for unbalanced datasets (it called -xtreg-) one type of ICC.  StataCorp's 
rewrite of -anova- a while back broke it for some reason that I wasn't able to 
uncover.  Datasets in practice are rarely nicely balanced, so there hasn't been 
much incentive to fix it.

When -xtmixed- is available, I plan go back and re-work it, and add the 
additional ICCs described in K. O. McGraw and S. P. Wong, Forming inferences 
about some intraclass correlation coefficients. _Psychological Methods_ 1:30-
46, 1996.

Joseph Coveney

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index