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, is already up and running.

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

Re: st: 'Re-ordering' the labels of a variable

From   Phil Schumm <>
Subject   Re: st: 'Re-ordering' the labels of a variable
Date   Fri, 26 Mar 2010 11:02:31 -0500

On Mar 26, 2010, at 8:20 AM, Nick Cox wrote:
But to the point: I was under the impression that -recode- could manage value labels too.

To a certain extant, that's true. However, -re2lab- takes an entirely different approach (rather than recoding, it re-encodes), and is capable of catching errors that -recode- with the -label()- option cannot.

Also, I realize that I forgot to mention one of the most important reasons I wrote -re2lab-; it is robust against changes in the mapping of the original variable(s), which can be very useful in certain contexts.

-- Phil

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index