Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: How can I efficiently see which value of a categorical variable corresponds to which label


From   Jen Zhen <jenzhen99@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: How can I efficiently see which value of a categorical variable corresponds to which label
Date   Sat, 5 Dec 2009 18:15:04 -0500

Dear colleagues,

I have a probably basic question, but to which I could not find a
satisfactory answer:

I have a categorical variable for which different values carry
different labels, and I would like to see which value corresponds to
which label.

Using the -tab varname- command, I can see all labels, and using -tab
varname, nolabel- I can see all values, but since the list of possible
values/labels is long, I'd like to see both at the same time. The only
way I've been able to do this so far is to browse the variable, which
however seems rather ineffiecient as well.

Is there a better command or tab option to do this?

Thanks,
Jen

*
*   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   |   What's new   |   Site index