|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: sts graph: truncating reporting for -atrisk- option
From |
Michael McCulloch <[email protected]> |
To |
Statalist <[email protected]> |
Subject |
st: sts graph: truncating reporting for -atrisk- option |
Date |
Tue, 9 Sep 2008 13:52:30 -0700 |
Hello,
I've created a KM plot comparing two troups, and would like to show
the number at risk, but the numbers overlap on the left edge of the
graph. Is it possible to truncate reporting for the -atrisk- option,
so the numbers would start showing only later, when the plot lines
have diverged?
For example, in this graph, report -atrisk- only after t=5:
sysuse cancer.dta, clear
stset studytime
sts graph, by(drug) atrisk
--
Best wishes,
Michael McCulloch
Pine Street Foundation
124 Pine St., San Anselmo, CA 94960-2674
Tel: (415) 407-1357
Fax: (415) 485-1065
[email protected]
www.pinestreetfoundation.org
*
* 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/