Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: Re: Multiple value labels


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Re: Multiple value labels
Date   Mon, 27 Mar 2006 10:28:24 +0100

I guess it's more likely that the question is
answered through a prior use of -numlabel-. 

Nick 
n.j.cox@durham.ac.uk 

Ronnie Babigumira
 
> I may be off here but -label list- and not -table- may be 
> what you are looking for.
> 
> . labmask var1, values(var2) //This creates a label called var1
> 
> To list the contents of this new label
> 
> . label list var1
> var1:
>           200 Building
>           304 House
>           666 Land

MA V 

> > Thanks! And once I've assigned the labels, is ti possible 
> to create tables 
> > (using the commands table or tabulate) that display both 
> the numeric codes 
> > and the value labels?

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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