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

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

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

Date |
Mon, 7 Dec 2009 13:10:23 +0100 |

<> Use -label list- and then the name of the value label: ************* sysuse auto, clear lab list origin ************* 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/

**References**:**st: How can I efficiently see which value of a categorical variable corresponds to which label***From:*Jen Zhen <jenzhen99@gmail.com>

- Prev by Date:
**st: How can I efficiently see which value of a categorical variable corresponds to which label** - Next by Date:
**Re: Re: st: instrumental variable estimation problems** - Previous by thread:
**st: How can I efficiently see which value of a categorical variable corresponds to which label** - Next by thread:
**st: AW: How can I efficiently see which value of a categorical variable corresponds to which label** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |