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

st: Competing Risks AND Repeated Events


From   Regina Branton <[email protected]>
To   [email protected]
Subject   st: Competing Risks AND Repeated Events
Date   Tue, 01 Nov 2005 17:26:01 -0600

I need to estimate a cox model with both competing risks and repeated 
events.  I know how to estimate a model with either competing risks OR 
repeated events.

I have two independent events that can and are repeating events.  I need
guidance regarding how to set this up and syntax.

I think the following may work:


ID    Event  SeqEv1   SeqEv2           Time  TimeEvent1   TimeEvent2
1      0         1                     1               1            1
            1
1      1         1                     1               2            2
             2
1      0         2                     1               1            1
             3
1      0         2                     1               2            2
             4
1      2         2                     1               3            3
             5
1      0         2                     2               1            4
             1
1      1         2                     2               2            5
             2
1      0         3                     2               1            1
             3



Thank you for your help

Gina Branton


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