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
Related Posts with Plot survival curve of the interaction in Stratified Cox Model
Labelling variable based on existing label of another variableHello, I was wondering if there is a command that enables you to label a variable based on an exist…
Dunn Test Median Comparison Error ?I might be doing this wrong but I named my groups numbers, so "7", "8" and "9" are separate groups. …
Dunn Test Bonferroni Correction gives p-value of 1. Error?I did the Dunn test using the following code: Code: dunntest rating, by(outcome) ma(bonferroni) I …
Generate Hourly TimeDear Everyone, This is a set of zip codes with the date of the policy. How can I generate new vars …
"Pre Trends" for DiD with continuous treatmentDear all, I have a Difference-in-Differences (DiD) setup in which treatment intensity is clearly co…
Subscribe to:
Post Comments (Atom)
0 Response to Plot survival curve of the interaction in Stratified Cox Model
Post a Comment