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 in SAS/STAT 14.1 User's Guide.
Before you create graphs, ODS Graphics must be enabled (for example, with the ODS GRAPHICS ON statement). For more information about enabling and disabling ODS Graphics, see the section "Enabling and Disabling ODS Graphics" in that chapter.
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 that chapter.
This section describes the use of ODS Graphics to create graphics by using the COUNTREG procedure.
To request these graphs, you must specify the ODS GRAPHICS ON statement. There is no default plot for the COUNTREG procedure. If, in addition to the ODS GRAPHICS statement, you specify the ALL option in the PROC COUNTREG statement, then all applicable plots are created.
PROC COUNTREG assigns a name to each graph that it creates using ODS. You can use these names to refer to the graphs when using ODS. The names are listed in Table 12.11.
Table 12.11: ODS Graphics Produced in PROC AUTOREG
ODS Table Name |
Description |
Plots= Option |
---|---|---|
PredProbPlot |
Predictive probability plot |
PLOTS(COUNTS)=PREDPROB |
ProfileLikPlot |
Profile likelihood functions |
PLOTS(UNPACK)=PROFILELIKE or PROLIK |
OverDispersion |
Overdispersion diagnostic plot |
PLOTS=DISPERSION |
ZpProfilePlot |
Zero-probability and zero-inflation profile plot |
PLOTS(UNPACK)=ZEROPROFILE or ZPPRO |
PredProfilePlot |
Predictive probability profile plot |
PLOTS(UNPACK COUNTS)=PREDPRO or PREDPROFILE |
Table 12.12: Graphs Produced by PROC CONTREG When a BAYES Statement Is Included
ODS Graph Name |
Plot Description |
Statement and Option |
---|---|---|
Bayesian Diagnostic Plots |
||
ADPanel |
Autocorrelation function and density panel |
PLOTS=(AUTOCORR |
AutocorrPanel |
Autocorrelation function panel |
PLOTS=AUTOCORR |
AutocorrPlot |
Autocorrelation function plot |
PLOTS(UNPACK)=AUTOCORR |
DensityPanel |
Density panel |
PLOTS=DENSITY |
DensityPlot |
Density plot |
PLOTS(UNPACK)=DENSITY |
TAPanel |
Trace and autocorrelation function panel |
PLOTS=(TRACE AUTOCORR) |
TADPanel |
Trace, density, and autocorrelation function panel |
PLOTS=(TRACE AUTOCORR DENSITY) |
PLOTS=BAYESDIAG |
||
TDPanel |
Trace and density panel |
PLOTS=(TRACE DENSITY) |
TracePanel |
Trace panel |
PLOTS=TRACE |
TracePlot |
Trace plot |
PLOTS(UNPACK)=TRACE |
Bayesian Summary Plots |
||
BayesSumPlot |
Prior/posterior densities and MLE |
PLOTS=BAYESSUM |