[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: generating value labels
Never mind, Nick Cox's had pointed me to - labmask - the last time I
asked about this [which I forgot all about].
Of course I find his response about 2 minutes *after* I posted the
Apologies. I hope labmask will fix the problem. If not I shall post
again, but for now please disregard the query.
> -----Original Message-----
> From: Doogar, Rajib
> Sent: Wednesday, March 21, 2007 12:14 AM
> To: 'email@example.com'
> Subject: generating value labels
> From some data organized as follows, I want to generate value
> labels for Grp using the strings in Make.
> 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.
> 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
* For searches and help try: