Dear Nick,
just as an aside to Maarten's reply, something like the never-in-reality
following example might help (flag: Stata 9.2/SE):
---------------------begin example---------------
set obs 10
g id=_n
g In=0
g Out=1
g Failure=1 in 1/8
replace Failure=0 if Failure==.
g Risk_Time= Out-In
stset Risk_Time, failure(Failure==1)
sts graph, lost enter
--------------------ens example--------------------
Kind Regards,
Carlo
-----Messaggio originale-----
Da: [email protected]
[mailto:[email protected]] Per conto di Nikolaos Pandis
Inviato: martedì 2 febbraio 2010 14.46
A: [email protected]
Oggetto: st: Censored observation in survival data
Hi to all.
I would like to ask:
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?
Many thanks,
Nick
*
* 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/
*
* 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/