Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Kaplan meier graphs


From   sarah keys <[email protected]>
To   [email protected]
Subject   st: Kaplan meier graphs
Date   Thu, 5 Feb 2009 11:50:52 +0200

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/



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