Hello,
I have a a variable that I am encoding, that takes on a large number of values.
How would one go about hacking -encode- such that in the value labels
generated the numerical value is automatically added to the label,
i.e.
sysuse auto
encode make, gen(make2)
table make, c(m make2)
where make2's labels should have
1- AMC Concord
2- AMC Pacer
and so on...
Cheers,
Dan
*
* 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/