Hi
I would like to obtain the name of a variable's value label
programatically within a loop.
For example:
. sysuse auto
(1978 Automobile Data)
. d foreign
storage display value
variable name type format label variable label
-------------------------------------------------------------------------------
foreign byte %8.0g origin Car type
How can I create a local macro containing the variable's value label,
i.e. "origin"?
Thankyou
Karin
*
* 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/