--- Serguei Kaniovski <[email protected]> wrote:
> I would like to "stsplit" survival data at irregular intervals. I
> have monthly observations, so
>
> stsplit age, at(0(5)360)
>
> would split the data in 5-months spells.
>
> I would like to split the data in 1-month spells for the first
> 60-month (5 years), in 5 months spells for the following 60-month (5
> to 10 years), and in 10-month spells thereafter. Now, I know I could
> use a very long "at()" statement. But is there a more economical way
> of achieving this?
-help numlist- gives you a full inventory of tips and tricks in this
area.
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/
*
* 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/