The GAM Procedure

Syntax: GAM Procedure

The following statements are available in the GAM procedure:

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 CLASS statement, if specified, must precede the MODEL statement. The CLASS and SCORE statements can appear multiple times; all other statements must 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.