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: Re: how can one quickly remove all variable labels?


From   "Joseph Coveney" <[email protected]>
To   <[email protected]>
Subject   Re: st: Re: how can one quickly remove all variable labels?
Date   Thu, 12 Sep 2013 09:47:08 +0900

Eric A. Booth wrote:

_strip_labels is for value labels, Lazlo was asking about stripping
all value labels.

Even so, _strip_labels takes a varlist argument, so you could skip the
loop and instead run:

_strip_labels *

--------------------------------------------------------------------------------

Yeah, I know about the misreading.  Our postings seem to be crossing in the mail
server.

What I didn't realize is that _strip_labels doesn't balk if the variable happens
to be string, float or otherwise has no value labels, and that's why I did the
external looping with -capture-.  Thanks for the tip.

Joseph Coveney


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