Date: Mon, 25 Feb 2002 15:26:32 -0800
Reply-To: Andrew Bushmakin <abushmakin@ARGOSE.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Andrew Bushmakin <abushmakin@ARGOSE.COM>
Organization: http://groups.google.com/
Subject: Re: I know there is a way to do this, but I can't figure it out!
Content-Type: text/plain; charset=ISO-8859-1
Meg,
Create something like
Race=Race6*100000+Race5*10000+Race4*1000+Race3*100+Race2*10+Race1;
Andrew
napu1975@netscape.net (meg A) wrote in message news:<afbb0b7a.0202251141.504272f1@posting.google.com>...
> Hello! I am having a problem...I have a dataset that has 1 mil +
> subjects.
> There are six variables that specify race. Race1= native american
> (coded 1,0) Race2=Pacific Islander etc. I have around 34000 subjects
> who have selected more than one race. I run into a problem when I
> try to combine into one variable onerace, where 1=native 2=pacific
> is. etc. Can someone tell me a way to specify multiple races in this
> one variable? Hopefully I explained my situaion well enough...if not
> let me know!
>
> Thanks!!!
>
> Meg
|