Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: Changing range in sts graph


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: Changing range in sts graph
Date   Fri, 7 Dec 2007 00:02:01 -0000

Doesn't any messing with _t mess up anything later with the same 
survival dataset? Sounds a bad idea to me. See Maarten's solution. 

Allen Buxton

In context, the only way I have found to do this is something like:

local rangelimit=100
replace _d=0  if _t>`rangelimit'
replace _t=`rangelimit' if _t>`rangelimit'


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