The ASSESS statement performs the graphical and numerical methods of Lin, Wei, and Ying (1993) for checking the adequacy of the Cox regression model. The methods are derived from cumulative sums of martingale residuals
over followup times or covariate values. You can assess the functional form of a covariate or you can check the proportional
hazards assumption for each covariate in the Cox model. PROC PHREG uses ODS Graphics for the graphical displays. You must
specify at least one of the following options to create an analysis.

VAR=(variablelist)

specifies the list of explanatory variables for which their functional forms are assessed. For each variable on the list,
the observed cumulative martingale residuals
are plotted against the values of the explanatory variable along with 20 (or n if NPATHS=n is specified) simulated residual patterns.

PROPORTIONALHAZARDS
PH

requests the checking of the proportional hazards assumption. For each explanatory variable in the model, the observed score
process component is plotted against the followup time along with 20 (or n if NPATHS=n is specified) simulated patterns.
The following options can be specified after a slash (/):

NPATHS=n

specifies the number of simulated residual patterns to be displayed in a cumulative martingale residual plot or a score process
plot. The default is n=20.

CRPANEL

requests that a plot with four panels, each containing the observed cumulative martingale residuals and two simulated residual
patterns, be created.

RESAMPLE <=n>

requests that the Kolmogorovtype supremum test be computed on 1,000 simulated patterns or on n simulated patterns if n is specified.

SEED=n

specifies an integer seed for the random number generator used in creating simulated realizations for plots and for the Kolmogorovtype
supremum tests. Specifying a seed enables you to reproduce identical graphs and pvalues for the model assessments from the same PHREG specification. If the SEED= option is not specified, or if you specify
a nonpositive seed, a random seed is derived from the time of day.