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: For Loop Using Variable Labels


From   daniel klein <klein.daniel.81@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: For Loop Using Variable Labels
Date   Tue, 25 Jun 2013 11:44:17 +0200

Also see -labelsof- (Jan, SSC), -labellist- and -labascii- (both part
of -labutil2-, SSC)

Best
Daniel
--
I'd like to use
the "levelsof" command on the variable label instead of the variable
values, since the label for the lowest category will always be in the
dataset, but there may not be a variable value for each response
category. How would one do that?
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index