Ugly Proc Plan [General Statistics]
Dear Ajitha!
Nothing simpler than that.
Try:
This is an example of great creativity of the SAS developers.
Usually one has to use the noprint option on the Proc line (
But here this gives an error
.
Nothing simpler than that.
Try:
*the option /noprint prevents output which is annoying at least
output out=first names the output dataset;
Proc plan seed=0011202;
factors block= 2 ordered Subject=14 ordered /noprint;
treatments Sequence= 14 random;
output out=first
sequence nvals=(1 1 1 1 1 1 1 2 2 2 2 2 2 2) random;
run;
*number consecutively;
Data first;
set first;
subject=_n_;
run;
Title Randomization for subj. 21-28;
Proc print noobs;
where subject>=21;
run;This is an example of great creativity of the SAS developers.
Usually one has to use the noprint option on the Proc line (
Proc plan seed=12345 noprint;). But here this gives an error
.—
Regards,
Detlew
Regards,
Detlew
Complete thread:
- To learn something new in 2×2 Randomization purvaph 2012-07-04 05:45
- Ugly Proc Pland_labes 2012-07-04 17:06
- Ugly Proc Plan purvaph 2012-07-24 07:11
- Ugly Proc Plan jag009 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 Pland_labes 2012-07-04 17:06
