The PHREG Procedure

ODS Graphics

Statistical procedures use ODS Graphics to create graphs as part of their output. ODS Graphics is described in detail in Chapter 24, 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 24, 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 24, Statistical Graphics Using ODS.

You can reference every graph produced through ODS Graphics with a name. The names of the graphs that PROC PHREG generates are listed separately in Table 18 for the maximum likelihood analysis and in Table 19 for the Bayesian analysis. When the ODS Graphics are in effect in a Bayesian analysis, each of the ESTIMATE, LSMEANS, LSMESTIMATE, and SLICE statements can produce plots associated with their analyses. For information of these plots, see the corresponding sections of Chapter 20, Shared Concepts and Topics.

Table 18: Graphs for a Maximum Likelihood Analysis Produced by PROC PHREG

ODS Graph Name Plot Description Statement Option
AUCPlot Area under the curve plot PROC PLOTS=AUC
AUCDiffPlot Area under the curve difference plot PROC PLOTS=AUCDIFF
CIFPLOT Cumulative incidence function plot PROC PLOTS=CIF
CumhazPlot Cumulative hazard function plot PROC PLOTS=CUMHAZ
CumulativeResiduals Cumulative martingale residual plot ASSESS VAR=
CumResidPanel Panel plot of cumulative martingale residuals ASSESS VAR= & CRPANEL
MCFPlot Mean cumulative function plot PROC PLOTS=MCF
ROCPanel Receiver operating characteristic plots in panels PROC PLOTS=ROC
ROCPlot Receiver operating characteristic plot PROC PLOTS(OVERLAY=IND)=ROC
ScoreProcess Standardized score process plot ASSESS PH
SurvivalPlot Survivor function plot PROC PLOTS=SURVIVAL


Table 19: Graphs for a Bayesian Analysis Produced by PROC PHREG

ODS Graph Name Plot Description Statement Option
ADPanel Autocorrelation function and density panel BAYES PLOTS=(AUTOCORR DENSITY)
AutocorrPanel Autocorrelation function panel BAYES PLOTS= AUTOCORR
AutocorrPlot Autocorrelation function plot BAYES PLOTS(UNPACK)=AUTOCORR
CumhazPlot Cumulative hazard function plot PROC PLOTS=CUMHAZ
DensityPanel Density panel BAYES PLOTS=DENSITY
DensityPlot Density plot BAYES PLOTS(UNPACK)=DENSITY
SurvivalPlot Survivor function plot PROC PLOTS=SURVIVAL
TAPanel Trace and autocorrelation function panel BAYES PLOTS=(TRACE AUTOCORR)
TADPanel Trace, density, and autocorrelation function panel BAYES PLOTS=(TRACE AUTOCORR DENSITY)
TDPanel Trace and density panel BAYES PLOTS=(TRACE DENSITY)
TracePanel Trace panel BAYES PLOTS=TRACE
TracePlot Trace plot BAYES PLOTS(UNPACK)=TRACE


Last updated: December 09, 2022