Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: clogit data format


From   Margaret R Grove <margaret.r.grove@Dartmouth.EDU>
To   statalist@hsphsun2.harvard.edu
Subject   st: clogit data format
Date   Thu, 20 Mar 2008 07:42:36 -0400

Hi,

I'm attempting to use clogit and have a very basic question about the data format. It seems like it should be obvious but I'm getting very different answers than a colleague using SAS PHREG.

The data looks like this:

id rater rating
1 1 0
1 2 1
1 3 1
1 4 0
2 1 1
2 2 .
2 3 0
2 4 0
etc.

I want to look at the difference between raters (have already done kappa). I tried:

xi: clogit rating i.rater, group(id)

but, I get different results than with PHREG.

What am I doing wrong? Am I misunderstanding clogit?

Thank you!

Margaret

*
* 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