Statalist


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

st: customising ranges of the axis in Kaplan Meier plot


From   "Isabelle Deltour" <deltour@cancer.dk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: customising ranges of the axis in Kaplan Meier plot
Date   Tue, 6 Oct 2009 15:24:39 +0200

Hi listers,

My dataset contains  cancer occurrence in children, which is a rare
event. 
I have produced Kaplan-Meier survival graphs. 

. sts graph, by(var1)

The 2 lines corresponding to the groups of var1  are superimposed. (and
the overwhelming 
majority of subjects have not experienced the event by the end of the
follow up). 
I wanted to enlarge the y axis and focus the graph on the area of the y
values between 0.9 till 1, 
where the survival curve is placed. 
However, I have not succeeded to modify the scale using the ylabel
option. 

. sts graph , by(var1)  ylabel(.9 (.05) 1)

I would appreciate any suggestions. 
Isabelle

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index