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

st: Multiple failure-time survival data: how do I split onmultiple timescales?


From   "Laila Tata" <[email protected]>
To   <[email protected]>
Subject   st: Multiple failure-time survival data: how do I split onmultiple timescales?
Date   Fri, 19 Dec 2003 17:38:29 +0000

Further explanation:
I would like to obtain rates of births by calendar year and age band. I am using multiple failure-time survival data which requires stset as follows:

stset time, fail(evnt) exit(time .) id(epatid) enter(time0) scale(365.25) 

By setting my time0 to the appropriate scale, I can stsplit on age-band OR calendar period, but not on both at the same time (since the time0 scale is different).

I know that you can split on multiple time scales when you have single-failure data, for example,

stsplit ageband, (5(5)40)
stsplit period, after(dateofbirth) at (0(5)90) 

however, this does not work for my multiple-failure stset (above), because there is no specification of origin() in my stset. I have not been able to stset with origin(dateofbirth) for my data, although I know this is possible with multiple failure data.

Thanks!




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