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]

RE: st: How to rename value label names to match variable names?


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: How to rename value label names to match variable names?
Date   Mon, 17 May 2010 12:14:05 +0100

Thanks for the enthusiasm!

For this problem, 

. findname, valuelabel 

is merely an alternative to 

. ds, has(vallabel) 

Any advantages of -findname- lie elsewhere: 

<http://www.hsph.harvard.edu/cgi-bin/lwgate/STATALIST/archives/statalist.1003/date/article-1917.html> 

Nick 
n.j.cox@durham.ac.uk 

Anna Reimondos

Excellent, thank you for that extra tip Martin.
I  just tested findname (e.g  by defining and attaching a value label
of -3 "Refused" for all variables that have a value of -3)  and it
worked like a treat. Definitely a keeper for me.

On Mon, May 17, 2010 at 5:21 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:

> " The ds, has(vallabel)
> is also good to know"
>
>
> Also note NJC`s recent -ssc d findname- then!

*
*   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