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

st: multiple state surv. analysis


From   "Maryah Fram" <fram@gwm.sc.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: multiple state surv. analysis
Date   Sat, 22 Nov 2003 10:51:32 -0500

Hi -- I'm a new stata user, and trying to do an analysis in stata for
which I have syntax in R, as follows:
coxph(Surv(DUR,UNC)~B+J+Q16+strata(STRT)+cluster(ID)).

I'm looking at transitions between unemployment and work status during a
two-year study, where DUR is time between transitions, UNC indicates
final status is censored, B, J and Q16 are covariates, ID is the
individual's id number, and STRT is a 4-level stratification variable
indicating the type of transition (job to job, no job to job, etc.).  I
can't figure out how to handle the STRT in Stata.  Could someone point
me to the correct place in the manual? Or give any advice?
Thanks,
Maryah
*
*   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