Hello, as stated in the subject topic, i want to understand what each graph is plotting and how interpretations differ
A)
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)
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?
A)
Code:
sts graph, failure by(variable)
B)
Code:
stcurve, cumhaz at1() at2()
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?