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/