Statalist


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

Re: st: Censored observation in survival data


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Censored observation in survival data
Date   Tue, 2 Feb 2010 07:12:06 -0800 (PST)

--- On Tue, 2/2/10, Nikolaos Pandis wrote:
> When you enter survival data (before stset) how do you
> declare an observation as being censored? How do we let the
> software know to make the distinction between the failures
> and the censored observations during the predefined
> follow-up time? 

you typically add a second variable (often called died) which
is 1 if the observation experienced the event and 0 otherwise.
If the variable died is still 0 at the final record for an 
observation then that implies that that observation is censored.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

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