Syntax: GENMOD Procedure
You can specify the following statements in the GENMOD procedure. Items within the <> are optional.
-
PROC GENMOD
<options> ;
-
ASSESS | ASSESSMENT
keyword / < options>
;
-
BAYES
<options>
;
-
BY
variables
;
-
CLASS
variables
;
-
CONTRAST
’label’ effect values <...effect values> / <options>
;
-
DEVIANCE
variable = expression
;
-
ESTIMATE
’label’ effect values <...effect values> / <options>
;
-
FREQ | FREQUENCY
variable
;
-
FWDLINK
variable = expression
;
-
INVLINK
variable = expression
;
-
LSMEANS
effects / < options>
;
-
MODEL
response = <effects > / < options>
;
-
OUTPUT
<OUT=SAS-data-set><keyword=name...keyword=name>
;
-
programming statements
;
-
REPEATED
SUBJECT=subject-effect / <options>
;
-
WEIGHT | SCWGT
variable
;
-
VARIANCE
variable = expression
;
-
ZEROMODEL
<effects > / < options>
;
The PROC GENMOD statement invokes the procedure. All statements other than the MODEL statement are optional. The CLASS statement, if present, must precede the MODEL statement, and the CONTRAST statement must come after the MODEL statement.