1 The SAS System 11:29 Thursday, April 30, 1998 NOTE: Copyright (c) 1989-1996 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software Release 6.11 TS040 Licensed to UNIVERSITY OF WISCONSIN, Site 0002176032. This message is contained in the SAS news file, and is presented upon initialization. Edit the files "news" in the "misc/base" directory to display site-specific news and information in the program log. The command line option "-nonews" will prevent this display. NOTE: AUTOEXEC processing beginning; file is /afs/.cs.wisc.edu/s/sas-6.11/alpha_osf20/sas611/autoexec.sas. NOTE: SAS initialization used: real time 11.08 seconds cpu time 0.80 seconds NOTE: AUTOEXEC processing completed. 1 /* Example of Two-Period Crossover MJ 32.3 */ 2 options linesize=80 pagesize=50; 3 data cross; 4 infile 'cross2.dat'; 5 input seq person a b; NOTE: The infile 'cross2.dat' is: File Name=/afs/cs.wisc.edu/p/stat/Data/MJ/cross2.dat, Owner Name=yandell,Group Name=6013, Access Permission=rw-r-----, File Size (bytes)=155 NOTE: 14 records were read from the infile 'cross2.dat'. The minimum record length was 8. The maximum record length was 12. NOTE: The data set WORK.CROSS has 14 observations and 4 variables. NOTE: DATA statement used: real time 4.58 seconds cpu time 0.40 seconds 6 data b; set cross; 7 trt = 'A'; y = a; output; 8 trt = 'B'; y = b; output; 9 drop a b; 2 The SAS System 11:29 Thursday, April 30, 1998 NOTE: The data set WORK.B has 28 observations and 4 variables. NOTE: DATA statement used: real time 1.06 seconds cpu time 0.20 seconds 10 proc glm; 11 class trt seq person; 12 model y = seq person(seq) trt trt*seq; 13 random person(seq) / test; 14 test h=seq e=person(seq); 15 lsmeans seq / e=person(seq); 16 lsmeans trt trt*seq; NOTE: TYPE I EMS not available without the E1 option. NOTE: The PROCEDURE GLM printed pages 1-7. NOTE: PROCEDURE GLM used: real time 5.10 seconds cpu time 1.00 seconds 17 proc mixed; 18 class trt seq person; 19 model y = seq trt trt*seq / ddfm = satterth; 20 random person(seq); 21 lsmeans seq trt; 22 lsmeans trt*seq / pdiff; NOTE: Estimated G matrix is not positive definite. NOTE: The PROCEDURE MIXED printed pages 8-9. NOTE: PROCEDURE MIXED used: real time 5.55 seconds cpu time 0.63 seconds NOTE: The SAS System used: real time 29.15 seconds cpu time 3.40 seconds NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414