The PLAN Procedure

Example 87.3 An Incomplete Block Design

(View the complete code for this example.)

Jarrett and Hall (1978) give an example of a generalized cyclic design with good efficiency characteristics. The design consists of two replicates of 52 treatments in 13 blocks of size 8. The following statements use the PLAN procedure to generate this design in an appropriately randomized form and store it in a SAS data set GCBD. Then the design is sorted and transposed to display in randomized order. The following statements produce Output 87.3.1 and Output 87.3.2:

title 'Generalized Cyclic Block Design';
proc plan seed=33373;
   factors Block=13 Plot=8;
   treatments Treatment=8 of 52 cyclic (1 2 3 4 32 43 46 49) 4;
   output out=GCBD;
quit;
proc sort data=GCBD out=GCBD;
   by Block Plot;
run;
proc transpose data= GCBD(rename=(Plot=_NAME_))
               out =tGCBD(drop=_NAME_);
   by Block;
   var Treatment;
run;
proc print data=tGCBD noobs;
run;

Output 87.3.1: A Generalized Cyclic Block Design

Generalized Cyclic Block Design

The PLAN Procedure

Plot Factors
FactorSelectLevelsOrder
Block1313Random
Plot88Random

Treatment Factors
FactorSelectLevelsOrderInitial Block / Increment
Treatment852Cyclic(1 2 3 4 32 43 46 49) / 4

BlockPlotTreatment
1074812356123432434649
81243865756783647501
9254731869101112405125
6426837151314151644369
747631285171819204871013
4481536722122232452111417
262387514252627284151821
362317458293031328192225
1127856343334353612232629
5576843123738394016273033
12581473624142434420313437
13351842674546474824353841
11415238674950515228394245


Output 87.3.2: A Generalized Cyclic Block Design

Generalized Cyclic Block Design

Block_1_2_3_4_5_6_7_8
13334262912233536
2182627211525428
3323031192229825
42317522124111422
53033271637393840
66144413915316
7487201713191810
856875047136
95194011105122
10432432464913
115052284951424539
124337314441342042
134735452446384148