Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: 01/04= month/year and tsset


From   sabbas gidarokostas <sabbasgidarokostas@googlemail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: 01/04= month/year and tsset
Date   Sat, 23 Jun 2012 16:33:24 +0100

Dear statalist

I have the following "times" column in my data

times
01/04
02/04
03/04

and so forth.


I use

gen edate1 = monthly(times,"M20Y")

format edate1  %td

and I get the message

(3744 missing values generated) out of  9126 obs that I have.

I can not see where my mistake is.


Best
*
*   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   |   Site index