The STDRATE 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 STDRATE assigns a name to each graph it creates. You can use these names to refer to the graphs when you use ODS. To request the graph, ODS Graphics must be enabled and you must use the PLOTS option in the PROC STDRATE statement to specify the plot-request indicated in Table 107.7.

Table 107.7: Graphs Produced by PROC STDRATE

ODS Graph Name

Plot Description

plot-request in PLOTS Option

StrataDistPlot

Strata proportion of exposed time or sample size

DIST

StrataEffectPlot

Strata effect measure of rate difference, rate ratio,

EFFECT

 

risk difference, or risk ratio

 

StrataRatePlot

Strata rate estimates

RATE

StrataRiskPlot

Strata risk estimates

RISK

StrataSMRPlot

Strata SMR of rates or risks

SMR