Grp Obs Make
1 1 GM
1 2 GM
2 1 Ambassador
3 1 Mazda
3 2 Mazda
3 3 Mazda
...
`encode Make, gen(var1) label (foo)' does not work because Grp numbers
are not in alphabetical order of Make.
Any advice? Sorry if this is a FAQ.
Thanks.
r.
Rajib Doogar,
Department of Accountancy,
The University of Illinois at Urbana-Champaign
1206 S. Sixth Street, Champaign, IL 61820
Ph: 217.244.8083, Fax: 217.244.0902
http://www.cba.uiuc.edu/doogar
*
* 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/