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