# The ICPHREG Procedure

### Baseline Parameterization

Subsections:

Because any one of the baseline hazard, cumulative hazard, and survival functions determines the others, it is sufficient to parameterize one of them. For the baseline function, PROC ICPHREG supports the parameterizations that are described in the following subsections.

#### Piecewise Constant Model

As its name suggests, the piecewise constant hazard rate model parameterizes the baseline hazard function as a union of several disjoint intervals, within each of which the hazard rate is constant:

It follows that the baseline cumulative hazard function is

where

To produce a meaningful hazard function, the need to be bounded below by 0. Such a constraint can be removed by transforming the parameters to a natural log scale:

PROC ICPHREG uses either the original or the transformed scale to fit piecewise constant models. You can change the scale by using the HAZSCALE= option. By default, the original scale is used.

#### Cubic Splines Model

For the proportional hazards model, Royston and Parmar (2002) propose modeling the log of the baseline cumulative hazard function in terms of natural cubic splines,

where represents the time on a log scale. The are the basis functions, which are computed as

where

Here, and are two terminal knots, and are m interval knots that are placed between and . The degrees of freedom equals . When , the log of the baseline hazard becomes , which corresponds to a common form of the Weibull model. When , the Weibull model further reduces to the exponential model.