Statalist


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

Re: AW: st: RE: sort on month


From   David Kantor <kantor.d@att.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: AW: st: RE: sort on month
Date   Tue, 08 Sep 2009 10:57:25 -0400

At 09:35 AM 9/8/2009, Martin Weiss wrote:

-encode- is the wrong tool, as it assigns numeric codes arbitrarily.
[...]

I believe it is not arbitrary. It works, apparently (in Stata 10), on alphabetic order, which would yield the same result as the string version.

*
*   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   |   What's new   |   Site index