Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: merging floats to make dates


From   micdepo mic <[email protected]>
To   statalist <[email protected]>
Subject   st: merging floats to make dates
Date   Wed, 4 Jan 2012 22:41:00 +0200

Hello,

I am having difficulties with dates and couldn't really find much on
this even though it's a simple issue.

var 1      var2    X
1900      1        10
1900       2         20

I would like to merge these two varibles into 1900m1 etc. and not have
to deal with lagging 12 times to get last month's X value.

Thank you very much in advance.

Best regards,
mic

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index