Statalist


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

st: survival data analysis- recode survival time variable


From   Johannes Schoder <[email protected]>
To   [email protected]
Subject   st: survival data analysis- recode survival time variable
Date   Mon, 24 Aug 2009 16:56:43 -0400

Hi,

I am working with survival data and have the problem that my variable survival time is in the following format: yymm, where y represents years and m months. Instead of the yymm format I just want to have it in months since otherwise I always have the jump from 11 months (0011) to 1 year (0100).

Thank you very much for your help!
Johannes
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index