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

st: RE: Survival Analysis Issue


From   "Stephen P. Jenkins" <stephenj@essex.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Survival Analysis Issue
Date   Tue, 29 Mar 2005 09:55:03 +0100

> -----Original Message-----
> From: Natalja Guz-Nagrebecka [mailto:nataliaguz@hotmail.com] 
> Sent: 29 March 2005 09:46
> To: stephenj@essex.ac.uk
> Subject: st: Survival Analysis Issue
> 
> 
> Dear Professor Stephen P. Jenkins,
> 
> I am using stata to do survival analysis. I am interested in 
> estimating 
> poverty persistence.
> 
> By following Professor Stephen P. Jenkins notes and codes and 
> using duration 
> data I  got the following results.
> 
> Step 1: stset: Declare data to be survival-time data
> 
> stset time, id(id) failure(poverty)
> [time=year; poverty==1 if low income]
> 
> Original panel data:
> 
> time               id           poverty
> 1997              1               0
> 1998              1               1
> 1999              1               1
> 2000              1               1
> 
> STATA after stset:
> 
> time               id           poverty       _st             
> _d             
> _t                   _t0
> 1997              1               0              1            
>    0           
> 1997                 1996
> 1998              1               1              1            
>    1           
> 1998                 1997
> 1999              1               1              0            
>    -           
>   1999                 1998
> 2000              1               1              0            
>    -           
>   2000                 1999
> 
> 
> But  poverty is not death.

[But neither is it very pleasant for those who experience it.]


Natalja need not use -stset-. The set-up in her data evidently refers to
discrete-time rather than continuous time (which is the assumption made
by the -st- suite of commands). In the data shown the observation with
id==1 has a right-censored spell three years long that began in 1998.
She could look at the -discrete- entry in the [ST] Manual or, in more
gory detail, at the sections on discrete-time analysis in my Survival
Analysis manuscript and the associated Stata lessons (at
http://www.iser.essex.ac.uk/teaching/degree/stephenj/ec968/).


Stephen
-------------------------------------------------------------
Professor Stephen P. Jenkins <stephenj@essex.ac.uk>
Institute for Social and Economic Research
University of Essex, Colchester CO4 3SQ, U.K.
Tel: +44 1206 873374.  Fax: +44 1206 873151.
http://www.iser.essex.ac.uk   



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