Announcement

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

  • Plot survival curve of the interaction in Stratified Cox Model

    Dear all,
    I ran a Cox model with strata(year),
    stcox X1 X2 c.X1#i.X2, strata(year) vce(robust)

    X1 is a continuous variable, X2 is a category variable (=1 or 0), now I want to plot the survival and hazard curves to show the effects of interaction, may I know the commands? stcurve is invalid after strata().
    Thank you.

    Best
    Josh
Working...
X