Ugly Proc Plan [General Statistics]
Dear D_labes,
Do you see anything strange on my 4-way crossover randomization code? Just checking
Thanks
John
Do you see anything strange on my 4-way crossover randomization code? Just checking

proc plan seed=12152;
factors Subject=24 ordered Period=4 ordered;
treatments Treatment=4 cyclic;
output out=LatinSquare
Treatment cvals=('A' 'B' 'C' 'D') random;
run;
proc sort data=LatinSquare out=LatinSquare;
by subject period;
proc transpose data= LatinSquare(rename=(period=_NAME_))
out =tLatinSquare(drop=_NAME_);
by Subject;
var Treatment;
proc print data=tLatinSquare noobs;
run;Thanks
John
Complete thread:
- To learn something new in 2×2 Randomization purvaph 2012-07-04 05:45
- Ugly Proc Plan d_labes 2012-07-04 17:06
- Ugly Proc Plan purvaph 2012-07-24 07:11
- Ugly Proc Planjag009 2012-09-18 17:50
- Proc Plan 4x4 crossover d_labes 2012-09-19 16:46
- Proc Plan 4x4 crossover jag009 2012-09-20 21:20
- Proc Plan 4x4 crossover jag009 2012-09-25 18:07
- 4x4 crossover - Latin square or Williams d_labes 2012-09-26 11:59
- Proc Plan 4x4 crossover d_labes 2012-09-19 16:46
- Ugly Proc Plan d_labes 2012-07-04 17:06
