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/