Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Competing Outcomes - stcrreg

    Hi all,

    I have a question about competing outcomes using stcrreg


    Status codes for competing events 1 through 5
    stset time, fail(status==1)
    stcrreg group, compete(status == 2 3 4 5)

    How do I generate CIF curves for each of these competing events? And is it possible to do in one figure?

    Below is an example of what I am trying to generate:



    Thanks in advance for your help!

  • #2
    -stcurve- has an -outfile()- option that lets you save the values used to plot the curves. So you canrun -stcrreg- 5 times, with each outcome as the primary event (and the others as competing), running -stcurve- with the -outfile- option after each. Then combine the five -stcurve- output files and use -graph twoway- to plot all of the curves together.

    Comment

    Working...
    X