I am working on a survival data on cancer patients comparing two groups of treatments. I build the model using the step by step approach of making a univariate log rank test for categorical variables
and univariate Cox regression for continuous model
When building my multivariate model from this step i wanted create KM curves for Treatment group: Chemo and Radiation
I wanted to adjust the survivor curves for other co-variates, which i achieved by the following
Recently i found that SAS has method of producing survival curve from a Cox Proportional Hazard Model.
You can find the article below.
http://www2.sas.com/proceedings/sugi23/Stats/p226.pdf
Is there a way to do this in STATA.
Thank you.
Code:
sts test variable, logrank sts graph, by(variable)
Code:
stcox variable, nohr
Code:
sts graph, by(treatment_group)
Code:
sts graph, by(treatment_group) adjustfor(varlist)
You can find the article below.
http://www2.sas.com/proceedings/sugi23/Stats/p226.pdf
Is there a way to do this in STATA.
Thank you.
Comment