Announcement

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

  • Competing risks with multiple failures per subject not supported by stcrreg

    I am trying to estimate time to onset of Alzheimer's with a competing risk of death. what are the hazards of onset of AD or death? I have multiple failures per subject.

    agey = agey in years
    idauniq = id variable
    bagey = baseline age, origin
    iadrd = failure Alzheimer's ==1
    die = did respondent die

    stset age, id(idauniq) failure(iadrd==1) o(bagey) exit(DIE==1)

    id: idauniq
    failure event: iadrd == 1
    obs. time interval: (agey[_n-1], agey]
    exit on or before: DIE==1
    t for analysis: (time-origin)
    origin: time bagey

    ------------------------------------------------------------------------------
    138,510 total observations
    18,296 observations end on or before enter()
    33,373 observations begin on or after exit
    ------------------------------------------------------------------------------
    86,841 observations remaining, representing
    15,643 subjects
    8,646 failures in multiple-failure-per-subject data
    172,249.08 total analysis time at risk and under observation
    at risk from t = 0
    earliest observed entry t = 0
    last observed exit t = 23


    stcrreg bagey, compete(DIE==1)
    data with multiple failures per subject not supported by stcrreg

    What commands do i need to do competing risks of failure(iadrd==1 | DIE==1)?

  • #2
    Hi Ginny,
    Have you found a solution to your problem? I am currently dealing with the same situation!

    I need to account for multiple failures in the presence of competing risks.

    Thank you!

    Comment


    • #3
      I am not sure if I understand the problem.
      Have you tried stpm2?

      https://journals.sagepub.com/doi/pdf...867X1301300209

      Comment

      Working...
      X