Statalist The Stata Listserver


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

Re: st: help with error


From   "Alan Neustadtl" <[email protected]>
To   [email protected]
Subject   Re: st: help with error
Date   Wed, 7 Jun 2006 07:43:19 -0400

The manual states the following:

" label define defines a list of up to 65,536 (1,000 for Small Stata)
associations of
   integers and text called value labels.  Value labels are attached
to variables by label
   values."

So, it appears that you cannot define a value label for character
data.  Options seem to be replacing a single character with a larger
set of characters or creating a new integer measure and defining a
label for that variable.

Best,
Alan

label define $FM8X
"F" "Female"
"M" "Male"
"U" "Unspecified"
;
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index