LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 16 Apr 2004 01:34:42 GMT
Reply-To:     "(2B) || !(2B) Arin Chaudhuri" <spam@SPAM.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "(2B) || !(2B) Arin Chaudhuri" <spam@SPAM.NET>
Organization: Road Runner - NC
Subject:      Re: Creating Dummy Treatment Groups
Content-Type: text/plain; charset=us-ascii; format=flowed

Steve Zelasky wrote: > We are on XP with 8.2. > > Our study is still blinded. We have 3 treatment groups, all values for RXCD are missing in the dataset, how can I assign dummy treatment codes(1,2,3) randomly to all the patients in a given dataset. > > Thanks. >

One more method

data new; set old; treatment=RANTBL(0,1/3,1/3); run;


Back to: Top of message | Previous page | Main SAS-L page