Hello!
I would like to make one graph with 4 survival curves after estimation of Cox regression, but I can not plot the reference group in same plot with rest of the groups. I write following comands:
.stset time, failure(response=1)
.xi: stcox i.group4, basesurv(baseline)
.stcurve, surv at1( _Igroup4_2=1) at2( _Igroup4_3=1) at3( _Igroup4_4=1)
Variable group4 have values 1, 2, 3 and 4.
Is there a posibility to plot all the 4 curves in the same graph?
Thank you in advance!
Best regard
Ineta Sokolowski
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/