Ugly Proc Plan [General Sta­tis­tics]

posted by d_labes  – Berlin, Germany, 2012-07-04 19:06 (5093 d 21:06 ago) – Posting: # 8891
Views: 8,046

Dear Ajitha!

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 :angry:.

Regards,

Detlew

Complete thread:

UA Flag
Activity
 Admin contact
23,654 posts in 4,992 threads, 1,570 registered users;
113 visitors (0 registered, 113 guests [including 13 identified bots]).
Forum time: 16:12 CEST (Europe/Vienna)

The idea is to try and give all the information to help others
to judge the value of your contribution;
not just the information that leads to judgment
in one particular direction or another.    Richard Feynman

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5