Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The GENMOD Procedure

PROC GENMOD Statement

PROC GENMOD < options > ;

The PROC GENMOD statement invokes the procedure. You can specify the following options.

DATA=SAS-data-set
specifies the SAS data set containing the data to be analyzed. If you omit the DATA= option, the procedure uses the most recently created SAS data set.

NAMELEN=n
specifies the length of effect names in tables and output data sets to be n characters long, where n is a value between 20 and 200 characters. The default length is 20 characters.

ORDER=keyword
specifies the sorting order for the levels of the classification variables (specified in the CLASS statement). This ordering determines which parameters in the model correspond to each level in the data. The following table displays the valid keywords and describes how PROC GENMOD interprets them.

ORDER= keyword Levels Sorted by
DATAorder of appearance in the input data set
FORMATTEDformatted value
FREQdescending frequency count;
 levels with the most observations come first in the order
INTERNALunformatted value

The default sort order is ORDER=FORMATTED. For ORDER=FORMATTED and ORDER=INTERNAL, the sort order is machine dependent. For more information on sorting order, refer to the chapter titled "The SORT Procedure" in the SAS Procedures Guide.

The NOPRINT option, which suppresses displayed output in other SAS procedures, is not available in the PROC GENMOD statement. However, you can use the Output Delivery System (ODS) to suppress all displayed output, store all output on disk for further analysis, or create SAS data sets from selected output. You can suppress all displayed output with the statement ODS SELCT NONE;, and you can turn displayed output back on with the statement ODS SELECT ALL;. See Table 27.3 for the names of output tables available from PROC GENMOD. For more information on ODS, see Chapter 14, "Using the Output Delivery System.".

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.