[R] intraclass correlation

2003-12-03 Thread Veronique Verhoeven
Hi, Can R calculate an intraclass correlation coefficient for clustered data, when the outcome variable is dichotomous? By now I calculate it by hand, estimating between- and intracluster variance by one-way ANOVA - however I don't feel very comfortable about this, since the distributional

Re: [R] intraclass correlation

2003-12-03 Thread Andrew Perrin
I have been using a little function I wrote myself; look at http://www.unc.edu/home/aperrin/tips/src/icc.R for the code. Not pretty, but it works. ap -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of