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.
When ODS Graphics is enabled, the ESTIMATE , LSMEANS , LSMESTIMATE , and SLICE statements can produce plots that are associated with their analyses. For information about these plots, see the corresponding sections of Chapter 19: Shared Concepts and Topics.
When ODS Graphics is enabled and when the regression model depends on at most one continuous variable as a regressor, excluding the intercept, the PLOTS= option in the PROC SURVEYREG statement controls fit plots for the regression.
PROC SURVEYREG provides a bubble plot or a heat map for model fitting. You can request a specific type of presentation of the weights by specifying the PLOTS(WEIGHT=) global plot option to request either a bubble plot or a heat map plot of the data that overlays the regression line and confidence limits band of the prediction in a fit plot . If you do not specify this option, the default plot depends on the number of observations in your data. That is, for a data set that contains 100 observations or less, the default is a bubble plot, in which the bubble area is proportional to the sampling weight of an observation. For a data set that contains more than 100 observations, the default is a heat map, in which the color of heat represents the sum of weights at the corresponding location.
PROC SURVEYREG assigns a name to each graph that it creates using ODS Graphics. You can use the name to refer to the graph. Table 101.11 lists the name of the graph that PROC SURVEYREG generates, together with its description and the PLOTS= option plot-request that produces it.
Table 101.11: ODS Graphs Produced by PROC SURVEYREG
ODS Graph Name |
Description |
PLOTS= Option |
---|---|---|
FitPlot |
Regression line and confidence limits band of the prediction overlaid on a bubble plot or a heat map of the data |