Announcement

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

  • Competing risk model (-stcrreg-): want to plot probability of failure and competing events in one graph using -stcrreg- suite

    Hi,
    (I am new to this forum. Sorry if I am asking stupid questions.)
    I am interested in plotting the probability of failure event and competing events in one graph for competing risk model using -stcrreg- suite. Here is an example from the manual.

    use http://www.stata-press.com/data/r13/hypoxia, clear
    stset dftime, failure(failtype == 1)
    stcrreg ifp tumsize pelnode, compete(failtype == 2)

    The following command gives the cumulative incidence curves for specific values of covariates.
    stcurve, cif at1(ifp = 5 pelnode = 0) at2(ifp = 20 pelnode = 0)
    Instead, I am interest in plotting the probability of event 1 (failtype==1) and event 2 (failtype==2) (probability on the vertical axis and analysis time on the horizontal axis). I searched the post estimation commands of stcrreg, but it doesn’t have any options for subhazards or probabilities for competing events.
    Any suggestions would be appreciated.

    Thanks,
    Nazmul

  • #2
    I replied to your post in the "Learning about how to use the forum" before seeing this message. Please note the comments there about registering with your real name, and responses regarding your questions.

    Comment

    Working...
    X