Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: stset time in months


From   raoul reulen <r.c.reulen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: stset time in months
Date   Mon, 23 Feb 2009 11:29:08 +0000

Hello,

I have a survival data set, but the time of entry, exit and date of
birth are only provided in months and years.  How do I stset my data?
I would like to use the origin option for date of birth.
I guess one solution would be to take the midpoint of each month (i.e.
15th day) to calculate the complete date (e.g. 15Jan2006). Are there
any other or better solutions?


Thanks

Raoul

-------------------------------------------------------
Raoul C. Reulen
Cancer Research UK Training Fellow
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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