Statalist


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

st: AW: customising ranges of the axis in Kaplan Meier plot


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: customising ranges of the axis in Kaplan Meier plot
Date   Tue, 6 Oct 2009 15:25:43 +0200

<> 


http://www.stata-journal.com/sjpdf.html?articlenum=gr0019



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Isabelle
Deltour
Gesendet: Dienstag, 6. Oktober 2009 15:25
An: [email protected]
Betreff: st: customising ranges of the axis in Kaplan Meier plot

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/


*
*   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