Bookmark and Share

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

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

st: merging floats to make dates

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


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,

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index