The GAM Procedure |
ODS Graphics |
This section describes the use of ODS for creating statistical graphs with the GAM procedure. To request these graphs you must specify the ODS GRAPHICS statement in addition to the options indicated in Table 36.4. For more information about the ODS GRAPHICS statement, see Chapter 21, Statistical Graphics Using ODS.
When ODS Graphics is in effect, the GAM procedure by default produces plots of the partial predictions for each nonparametric predictor in the model. Use the PLOTS option in the PROC GAM statement to control aspects of these plots.
PROC GAM assigns a name to each graph it creates by using ODS. You can use these names to reference the graphs when using ODS. The names are listed in Table 36.4.
ODS Graph Name |
Plot Description |
PLOTS= Option |
---|---|---|
SmoothingComponentPlot |
Panel of multiple partial prediction curves |
COMPONENTS |
SmoothingComponentPlot |
Unpacked partial prediction curves |
COMPONENTS(UNPACK) |
By default, partial prediction plots for each component are displayed in panels containing at most six plots. If you specify more than six smoothing components, multiple panels are used. Use the PLOTS(UNPACK) option in the PROC GAM statement to display these plots individually.
Copyright © SAS Institute, Inc. All Rights Reserved.