Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: sts graph bug


From   "Dupont, William" <[email protected]>
To   <[email protected]>
Subject   st: RE: sts graph bug
Date   Mon, 26 Jan 2004 09:59:03 -0600

Agreed.

A workaround that can be useful is the noorigin option, which works
properly.  Still there are times when the tmin option would be nice.

Bill

-----Original Message-----
From: Roger Harbord [mailto:[email protected]] 
Sent: Monday, January 26, 2004 6:02 AM
To: [email protected]
Subject: Re: sts graph bug


--On 24 January 2004 12:17 -0600 "Dupont, William" 
<[email protected]> wrote:

> The -tmin- option of the -sts graph- command does not appear to work. 
> For example
>
> 	. sysuse cancer, clear
> 	. stset age,  failure(died)
> 	. sts graph
> 	. sts graph, tmin(40)
>
> produces two identical survival curves with the x-axis running from 0 
> to 80.  I believe that the -tmin(40)- option on the second graph 
> command should generate an x-axis running from 40 to 80.
>

I think it may be worse than that: after the above, try :

        . sts graph, tmin(60)

 - does alter the graph, but not how i'd expect from the manual.  The 
resulting graph appears potentially misleading to me.

Roger.


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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