Syntax: GAM Procedure
The following statements are available in PROC GAM:
-
PROC GAM
<options> ;
-
CLASS
variable<(options)><variable<(options)>
></options>
;
-
MODEL
dependent</options> = <PARAM(effects)> <smoothing effects></options>
;
-
SCORE
data=SAS-data-set out=SAS-data-set
;
-
OUTPUT
<out=SAS-data-set> keyword=prefix <
keyword=prefix>
;
-
BY
variables
;
-
FREQ
variable
;
The syntax of the GAM procedure is similar to that of other regression procedures in the SAS System. The PROC GAM and MODEL statements are required. The SCORE statement can appear multiple times; all other statements appear only once.
The syntax for PROC GAM is described in the following sections in alphabetical order after the description of the PROC GAM statement.