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

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

Date

Mon, 7 Dec 2009 06:33:14 -0600

>
>
-fre- (from ssc) is also useful for this task. It gives you some control over how you list the variable values & labels and allows you to include some summary information and export the table.
~ Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
ebooth@ppri.tamu.edu
Office: +979.845.6754
On Dec 7, 2009, at 6:21 AM, Martin Weiss wrote:
>
> <>
>
> You may also want to look at -codebook- and -inspect-. The Variables Manager
> in Stata 11 allows you to efficiently manage value labels, btw.
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Jen Zhen
> Gesendet: Sonntag, 6. Dezember 2009 00:15
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: How can I efficiently see which value of a categorical variable
> corresponds to which label
>
> 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/
>
>
> *
> * 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/
*
* 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/