Announcement

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

  • Difference between sts graph, failure and stcurve, cumhaz after a stcox model?

    Hello, as stated in the subject topic, i want to understand what each graph is plotting and how interpretations differ
    A)
    Code:
    sts graph, failure by(variable)
    is run on a kaplan meier database with one row per person, where covariates correspond to the index visit/visit where they start being at risk for event- each row having 0/1 for event and event time

    B)
    Code:
    stcurve, cumhaz at1() at2()
    This on the other hand is what i expect to run on an stcox database (multiple rows per person corresponding to each visit), after running the stcox model.

    A plots 1-S(t), and Y axis can be interpreted as proportion of people who have had the event. But B, im not sure what it is plotting? is it the same?
Working...
X