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: labvarch-like command for value labels


From   "Dimitriy V. Masterov" <dvmaster@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: labvarch-like command for value labels
Date   Sun, 8 May 2011 16:41:59 -0400

I would like to change value labels themselves. For example, take the
foreign variable from the auto dataset. Is there a way to add the word
Automobile so that the value labels become "Foreign Automobile" and
"Domestic Automobile" and then to replace "Automobile" with "Car"?

These are trivial examples and strrec would definitely work if I was
willing to type things out, but I would like to avoid that when there
are many labels.

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