Statalist


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

st: R: Kaplan meier graphs


From   "Carlo Lazzaro" <[email protected]>
To   <[email protected]>
Subject   st: R: Kaplan meier graphs
Date   Thu, 5 Feb 2009 11:26:16 +0100

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/



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