> -----Original Message-----
> From: Erik �. S�rensen [mailto:[email protected]]
> Sent: Friday, October 25, 2002 1:24 PM
> To: [email protected]
> Subject: Re: st: RE: RE: RE: suggestion for Stata 8: value
> labels for string variables
>
>
> On fredag, okt 25, 2002, at 13:04 America/Montreal, Nick Winter wrote:
>
> > It seems to me that the answer here is to store the "labels" in a
> > separate string variable. Then you can use the short name
> variable or
> > the long name variable (ie, the "value" or the "label") as you like.
>
> This may be fine if possible, but for those of us who regularly work
> with millions of observations, it is often not feasible. That
> it is not
> possible to label string values is a shortcoming that should be fixed
> in future releases.
Possibly. But storing the labels as a second variable of type "int",
which itself has a variable label, is a solution that works now, and
that adds relatively little memory overhead to a file, beyond what the
labels themselves inevitably add.
--Nick Winter
*
* 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/