[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: RE: RE: RE: suggestion for Stata 8: value labels for string variables
> -----Original Message-----
> From: Erik Ø. Sørensen [mailto:firstname.lastname@example.org]
> Sent: Friday, October 25, 2002 1:24 PM
> To: email@example.com
> 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.
* For searches and help try: