The RSREG Procedure

ODS Graphics

Statistical procedures use ODS Graphics to create graphs as part of their output. ODS Graphics is described in detail in Chapter 21: Statistical Graphics Using ODS.

Before you create graphs, ODS Graphics must be enabled (for example, by specifying the ODS GRAPHICS ON statement). For more information about enabling and disabling ODS Graphics, see the section Enabling and Disabling ODS Graphics in Chapter 21: Statistical Graphics Using ODS.

The overall appearance of graphs is controlled by ODS styles. Styles and other aspects of using ODS Graphics are discussed in the section A Primer on ODS Statistical Graphics in Chapter 21: Statistical Graphics Using ODS.

PROC RSREG assigns a name to each graph it creates using ODS. The names are listed in Table 81.5. You can use these names to reference the graphs when using ODS. You must also specify the PLOTS= option and any other options indicated in Table 81.5.

Table 81.5: Graphs Produced by PROC RSREG

ODS Graph Name

Plot Description

PLOTS= Option

FitPlot

Fit plot for 1 predictor

FIT

DiagnosticsPanel

Panel of fit diagnostics

DIAGNOSTICS

 CooksDPlot

Cook’s D plot

DIAGNOSTICS(UNPACK)

 ObservedByPredicted

Observed by predicted

DIAGNOSTICS(UNPACK)

 QQPlot

Residual Q-Q plot

DIAGNOSTICS(UNPACK)

 ResidualByPredicted

Residual by predicted values

DIAGNOSTICS(UNPACK)

 ResidualHistogram

Residual histogram

DIAGNOSTICS(UNPACK)

 RFPlot

RF plot

DIAGNOSTICS(UNPACK)

 RStudentByPredicted

Studentized residuals by predicted

DIAGNOSTICS(UNPACK)

 RStudentByLeverage

RStudent by hat diagonals

DIAGNOSTICS(UNPACK)

ResidualPlots

Panel of residuals by predictors

RESIDUALS

 

Residuals by predictors

RESIDUALS(UNPACK)

RidgePlots

Panel of ridge plot and factors

RIDGE
(with RIDGE MAX or MIN)

 

Ridge plot

RIDGE(UNPACK)
(with RIDGE MAX or MIN)

 

Ridge factors

RIDGE(UNPACK)
(with RIDGE MAX or MIN)

Contour

Panel of contour plots

SURFACE

 

Contour plots

SURFACE(UNPACK)

Surface

Panel of 3-D surface plots

SURFACE(3D)

 

3-D surface plots

SURFACE(3D UNPACK)

ContourOverlay

Panel of overlaid line-contour plots

SURFACE(OVERLAYPAIRS)

 

Overlaid line-contour plots

SURFACE(OVERLAYPAIRS UNPACK)