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

st: Failure time in stset.


From   adiallo5@worldbank.org
To   statalist@hsphsun2.harvard.edu
Subject   st: Failure time in stset.
Date   Thu, 16 Sep 2004 14:42:55 -0400

Hi,
I have a trouble knowing what exactely is the time variable
in stset command.
I want to compute a weibull model on the determinants of
child survival and I have an age variable along with
household and child characteristics.
Is it ok to set age as the analysis time, with correcting for
those children who are dead?
I do not have a origin and exit dates, only the age of child and the
interview date.

su agechild
replace agechild = agedeath if dead==1

stset agechild, failure(dead) id(childid)

Is it normal that stsum produces missings for 25, 50 and 75 percentiles?

Best regards.
Amadou.

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