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]

Re: st: Combining two data variables (month and year)


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Combining two data variables (month and year)
Date   Tue, 6 Aug 2013 17:32:30 +0100

Sure. As prominently advised in a concurrent thread,

The document to read first, second and third on dates is the help.
-help dates and times-.

and that tells you about -ym()-.

Reminder: Full real names are expected on Statalist. Please see the
Statalist FAQ.

Nick
[email protected]


On 6 August 2013 17:01, MCar <[email protected]> wrote:

> I need to combine two numeric variables into one variable.  The first
> variable is the month and the second variable is the year.
>
> Does anybody know how to do this?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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