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

Re: st: RE: Intraclass correlation?


From   "yore" <atiti_99@yahoo.com.au>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Intraclass correlation?
Date   Tue, 01 Apr 2003 06:34:40 -0000

Dear bissery,

How do estimate intraclass correlation for dichotomous data. That is,
replace your continuous variable example with categorical variable.

pi  yaw
1    1
0    2
1    3
1    1
0    2
0    3
1    1
1    2
0    3

cheers

atiti

--- In statalist@yahoogroups.com, BISSERY Alvine <Alvine.BISSERY@h...>
wrote:
> If you have one continuous variable called "measure", which contains
the
> value of measure on each subject, and one variable called "subject"
wich
> contains the label of each subject, do
>
> loneway measure subject
>
> it will give you the intraclass correlation
>
> For example:
>
>
>  mes	sub
> 25	1
> 36	2
> 14	3
> 24	1
> 35	2
> 12	3
> 25	1
> 37	2
> 14	3
>
> . loneway mes  sub
>
> One-way Analysis of Variance for mes:
>
> Number of obs =	9
> R-squared =	0.9931
>
> Source                SS         df      MS            F	Prob >
F
>
> Between sub            770.66667      2    385.33333    433.50
0.0000
> Within sub             5.3333333      6    .88888889
>
> Total                        776      8           97
>
> Intraclass       Asy.
> correlation      S.E.       [95% Conf. Interval]
> ------------------------------------------------
> 0.99311     0.00792       0.97759     1.00863
>
> Estimated SD of sub effect              11.32025
> Estimated SD within sub                  .942809
> Est. reliability of a sub mean          .9976932
> (evaluated at n=3.00)
>
>
> I Hope this helps
>
>
> Alvine Bissery
>
> *********************************************
> Alvine Bissery
> Biostatisticienne
>
> Hôpital Européen Georges Pompidou
> Centre d' Investigations Cliniques
> 20-40 rue Leblanc
> 75 908 Paris Cedex 15
> France
>
> tél: +33 1 56 09 29 13
> fax: +33 1 56 09 29 29
> mail: alvine.bissery@h...
> > -----Message d'origine-----
> > De: Jeffrey Simons [mailto:jsimons@u...]
> > Date: lundi 2 septembre 2002 00:08
> > À: statalist@h...
> > Objet: st: Intraclass correlation?
> >
> >
> > How can you do intraclass correlation coefficients in Stata
> > for examining
> > test-retest reliability?
> >
> > *
> > *   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/
> >
> *
> *   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/



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