Dear Sarah,
as far as
<How do I cut off KM at, say, 4 years follow-up ?>
Try (Stata 9/2 SE)
- sts graph, tmax(4)-
HTH and Kind Regards,
Carlo
-----Messaggio originale-----
Da: [email protected]
[mailto:[email protected]] Per conto di sarah keys
Inviato: giovedì 5 febbraio 2009 10.51
A: [email protected]
Oggetto: st: Kaplan meier graphs
Kaplan meier graphs
I am using a multiple record data set. and have Stset as below:
stset date_visit if chc!="", enter(all) fail(chcstop) id(client_id)
origin(startn)scale(365.25)
*** and had the final cox model:
xi: stcox i.group age bffa i.w50s
I produced KM graph with the following commands:
sts,by(group) fail ylabel(0 0.05 0.1) risktable
graph export chc.emf, replace
My questions are:
Can I adjust the KM in the same way as the COX model (adjust by age
bffa i.w50s)to compare group 1 and group 2?
How do I cut off KM at, say, 4 years follow-up ?
Thanks for help
Sarah
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/