Announcement

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

  • setting survival analysis with 2 types of failure -streg-

    trying to set up a survival analysis to then obtain transition probabilities

    The patient could either:

    ALIVE (and remain alive)
    REVISED
    DEAD

    I have manually calculated the transition probabilities for each state, basically within 1 year found out for eg transition probability for those who remained alive = how many remained alive at end of study/total patients
    revised = no of revised/total patients
    dead = no of death patients/total patients

    I then wanted to set up a survival analysis which would demonstrate 2 types of failure either revised or dead, however I have normally only run survival analysis using just one failure.

    Is it possible to set it up with 2 failures?
    Of course I have a time variable which has time to revision, time to death

    Code:
    stset survival, failure(revised==1)
    streg tkr_ukr age gender, distribution(weibull)
Working...
X