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 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.

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 85.17 for the maximum likelihood analysis and in Table 85.18 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 19: Shared Concepts and Topics.

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

ODS Graph Name

Plot Description

Statement / Option

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

ScoreProcess

Standardized score process plot

ASSESS / PH

SurvivalPlot

Survivor function plot

PROC / PLOTS=SURVIVAL


Table 85.18: 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