Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Survival curves after Cox regression


From   "Ineta Sokolowski" <[email protected]>
To   <[email protected]>
Subject   st: Survival curves after Cox regression
Date   Tue, 27 May 2003 14:32:42 +0200

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index