Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Anna Reimondos <areimondos@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: Changing labels for multiple variables at the same time |
Date | Sun, 11 Apr 2010 11:22:25 +1000 |
Hello, I would like to define a some new value labels which I want to attach to all existing value labels in my dataset. For example, I want to define among other things that -1 is Missing, and -3 is Not applicable: sysuse nlsw88, clear label define gradlbl -1 "Missing", modify label define gradlbl -3 "Not applicable", modify However I want to modify all the labels (a couple of hundred labels in the dataset I am working on) in the same way not just gradlbl. Does anyone know of a way to do this? I tried using the extended macro functions but without much luck. Thanks very much, Anna * * 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/