Ugly Proc Plan [General Sta­tis­tics]

posted by jag009  – NJ, 2012-09-18 19:50 (5018 d 00:28 ago) – Posting: # 9237
Views: 7,526

Dear D_labes,

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:

UA Flag
Activity
 Admin contact
23,654 posts in 4,992 threads, 1,570 registered users;
137 visitors (0 registered, 137 guests [including 12 identified bots]).
Forum time: 20:18 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