1 The SAS System 14:46 Wednesday, March 1, 2000 NOTE: Copyright (c) 1998 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software Version 7 (TS P1) Licensed to UNIVERSITY OF WISCONSIN, Site 0002176032. NOTE: This session is executing on the OSF1 V4.0 platform. 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: SAS initialization used: real time 0.34 seconds cpu time 0.31 seconds 1 options ls=79 ps=200 nocenter; 2 3 /* table of means */ 4 data dat; 5 infile 'growth.dat' firstobs=2; 6 input trt BA TDZ code $ advplt; 7 /* 8 if advplt=0 then delete; 9 */ 10 if trt=20 then delete; 11 nonzero = ( advplt > 0 ); 12 run; NOTE: The infile 'growth.dat' is: File Name=/afs/cs.wisc.edu/p/stat/src/statistics/pda/data/Count/growth.dat, Owner Name=yandell,Group Name=yandell, Access Permission=rw-r--r--, File Size (bytes)=2770 NOTE: 183 records were read from the infile 'growth.dat'. The minimum record length was 11. The maximum record length was 17. NOTE: The data set WORK.DAT has 169 observations and 6 variables. NOTE: DATA statement used: real time 0.11 seconds cpu time 0.08 seconds 13 proc freq; 14 table BA*TDZ; 15 table nonzero*TDZ / chisq cellchi2 nopercent; 16 table BA*nonzero*TDZ / chisq cellchi2 nocol norow nopercent; 17 options ls=79 ps=200 nocenter; 18 /* See Growth Example of Yandell (1997) PDA */ 19 NOTE: The PROCEDURE FREQ printed page 1. NOTE: PROCEDURE FREQ used: real time 0.28 seconds cpu time 0.14 seconds 20 proc genmod; 21 class BA TDZ; 22 model nonzero = BA | TDZ / rorder=data type1 type3 dist = 22 ! binomial; 23 NOTE: Algorithm converged. NOTE: The scale parameter was held fixed. NOTE: The PROCEDURE GENMOD printed page 2. NOTE: PROCEDURE GENMOD used: real time 0.50 seconds cpu time 0.26 seconds 24 proc genmod; 25 class BA TDZ; 26 model advplt = BA | TDZ / rorder=data type1 type3 dist = poisson; NOTE: Algorithm converged. NOTE: The scale parameter was held fixed. NOTE: The PROCEDURE GENMOD printed page 3. NOTE: PROCEDURE GENMOD used: real time 0.78 seconds cpu time 0.26 seconds 27 proc genmod; 28 class BA TDZ; 29 model advplt = BA | TDZ / dist = poisson; NOTE: Algorithm converged. NOTE: The scale parameter was held fixed. NOTE: The PROCEDURE GENMOD printed page 4. NOTE: PROCEDURE GENMOD used: real time 0.36 seconds cpu time 0.11 seconds 30 proc genmod; 31 class trt; 32 model advplt = trt / noint dist = poisson; 33 lsmeans trt / diff; 34 35 NOTE: Algorithm converged. NOTE: The scale parameter was held fixed. NOTE: The PROCEDURE GENMOD printed page 5. NOTE: PROCEDURE GENMOD used: real time 0.37 seconds cpu time 0.14 seconds NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414 NOTE: The SAS System used: real time 3.20 seconds cpu time 1.44 seconds