Date: Wed, 5 Sep 2007 13:51:37 -0700
Reply-To: sarimohan12@GMAIL.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: sarimohan12@GMAIL.COM
Organization: http://groups.google.com
Subject: Re: block randomization
In-Reply-To: <7367b4e20709051258i5351bbd4v8a6df9f2b29f0d3c@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
On Sep 5, 3:58 pm, datan...@GMAIL.COM ("data _null_;") wrote:
> Maybe this will get you started...
>
> proc plan seed=327022325;
> factors
> site = 3 ordered
> block = 17 ordered
> t = 4 random
> / noprint;
> output out=work.plan t nvals=(1 1 2 2);
> run;
>
> data work.plan;
> set work.plan;
> attrib patno length=$10;
> patno = catx('-',put(site,z2.),put(block,z2.),put(_n_,z4.));
> run;
> proc print;
> run;
>
> On 9/5/07, sarimoha...@gmail.com <sarimoha...@gmail.com> wrote:
>
> > hi friends,
> > I am new to groups.I need some help in the randomization schedule
> > programming.
> > there are 200 patients divided among 3 sites and 2 treatment groups
> > and block size of 4 menas there should be 4 patients per block.How can
> > I do this usin proc pla.your help is really appreciated.
> > Thanks
> > sm
Thanks...
|