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: 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–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index