1 The SAS System 11:06 Monday, March 6, 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 8.54 seconds cpu time 0.56 seconds 1 options ls=79 ps=50 nocenter; 2 /* See Section 7.2 of Venables and Ripley (1999) MASS */ 3 4 /* table of means */ 5 data dat; 6 infile 'budworm.dat' firstobs=2; 7 input ldose dead sex $; 8 total = 20; 9 pctdead = dead / total; NOTE: The infile 'budworm.dat' is: File Name=/afs/cs.wisc.edu/p/stat/src/statistics/pda/data/Count/budworm.dat, Owner Name=yandell,Group Name=yandell, Access Permission=rw-r--r--, File Size (bytes)=92 NOTE: 12 records were read from the infile 'budworm.dat'. The minimum record length was 5. The maximum record length was 6. NOTE: The data set WORK.DAT has 12 observations and 5 variables. NOTE: DATA statement used: real time 1.81 seconds cpu time 0.15 seconds 10 proc freq; 11 table sex*ldose/ norow nocol nopercent; 2 The SAS System 11:06 Monday, March 6, 2000 12 weight dead; NOTE: The PROCEDURE FREQ printed page 1. NOTE: PROCEDURE FREQ used: real time 1.89 seconds cpu time 0.14 seconds 13 proc genmod; 14 class sex pctdead; 15 model dead/total = ldose | sex / type1 type3 16 dist = binomial; 17 output out = plot p = pdead; 18 NOTE: Algorithm converged. NOTE: The scale parameter was held fixed. NOTE: The data set WORK.PLOT has 12 observations and 6 variables. NOTE: The PROCEDURE GENMOD printed pages 2-3. NOTE: PROCEDURE GENMOD used: real time 2.75 seconds cpu time 0.26 seconds 19 proc plot; 20 plot ldose * pdead = '*' ldose * pctdead = sex / overlay; 21 NOTE: The PROCEDURE PLOT printed page 4. NOTE: PROCEDURE PLOT used: real time 0.10 seconds cpu time 0.04 seconds 22 proc genmod; 23 class sex; 24 model dead/total = ldose sex / noint 25 dist = binomial; 26 27 NOTE: Algorithm converged. NOTE: The scale parameter was held fixed. NOTE: The PROCEDURE GENMOD printed pages 5-6. NOTE: PROCEDURE GENMOD used: real time 0.13 seconds cpu time 0.08 seconds 3 The SAS System 11:06 Monday, March 6, 2000 NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414 NOTE: The SAS System used: real time 16.64 seconds cpu time 1.33 seconds