


Let
be the jth unit vector—that is, the jth entry of the vector is 1 and all other entries are 0. The hazard ratio for the explanatory variable with regression coefficient
is defined as
.
In general, a log-hazard ratio can be written as
, a linear combination of the regression coefficients, and the hazard ratio
is obtained by replacing
with
.
The hazard ratio
is estimated by
, where
is the maximum likelihood estimate of the
.
The
confidence limits for the hazard ratio are calculated as
![\[ \mr{exp} \left(\mb{e}_ j’ \hat{\beta } \pm z_{\alpha /2} \sqrt {\mb{e}_ j’\hat{\mb{V}}(\hat{\bbeta })\mb{e}_ j} \right) \]](images/statug_phreg0468.png)
where
is estimated covariance matrix, and
is the
th percentile point of the standard normal distribution.
The construction of the profile-likelihood-based confidence interval is derived from the asymptotic
distribution of the generalized likelihood ratio test of Venzon and Moolgavkar (1988). Suppose that the parameter vector is
and you want to compute a confidence interval for
. The profile-likelihood function for
is defined as
![\[ l_ j^*(\gamma ) = \max _{\bbeta \in \mc{B}_ j(\gamma )} l(\bbeta ) \]](images/statug_phreg0473.png)
where
is the set of all
with the jth element fixed at
, and
is the log-likelihood function for
. If
is the log likelihood evaluated at the maximum likelihood estimate
, then
has a limiting chi-square distribution with one degree of freedom if
is the true parameter value. Let
, where
is the
th percentile of the chi-square distribution with one degree of freedom. A
% confidence interval for
is
![\[ \{ \gamma : l_ j^*(\gamma ) \geq l_{0} \} \]](images/statug_phreg0481.png)
The endpoints of the confidence interval are found by solving numerically for values of
that satisfy equality in the preceding relation. To obtain an iterative algorithm for computing the confidence limits, the
log-likelihood function in a neighborhood of
is approximated by the quadratic function
![\[ \tilde{l}(\bbeta + \bdelta ) = l(\bbeta ) + \bdelta ’\mb{g} + \frac{1}{2}\bdelta ’ \mb{V} \bdelta \]](images/statug_phreg0482.png)
where
is the gradient vector and
is the Hessian matrix. The increment
for the next iteration is obtained by solving the likelihood equations
![\[ \frac{d}{d\bdelta }\{ \tilde{l}(\bbeta + \bdelta ) + \lambda ( \mb{e}_ j’\bdelta - \gamma )\} = \mb{0} \]](images/statug_phreg0486.png)
where
is the Lagrange multiplier,
is the jth unit vector, and
is an unknown constant. The solution is
![\[ \bdelta = -\mb{V}^{-1}(\mb{g} + \lambda \mb{e}_ j) \]](images/statug_phreg0488.png)
By substituting this
into the equation
, you can estimate
as
![\[ \lambda = \pm \biggl (\frac{2(l_0 - l(\bbeta ) + \frac{1}{2}\mb{g}'\mb{V}^{-1}\mb{g})}{\mb{e}_ j'\mb{V}^{-1}\mb{e}_ j}\biggr )^{ \frac{1}{2}} \]](images/statug_phreg0490.png)
The upper confidence limit for
is computed by starting at the maximum likelihood estimate of
and iterating with positive values of
until convergence is attained. The process is repeated for the lower confidence limit, using negative values of
.
Convergence is controlled by value
specified with the PLCONV= option in the MODEL statement (the default value of
is 1E–4). Convergence is declared on the current iteration if the following two conditions are satisfied:
![\[ |l(\bbeta )-l_{0}| \leq \epsilon \]](images/statug_phreg0492.png)
and
![\[ ({\mb{g}} + \lambda {\mb{e}_ j})’{\mb{V}}^{-1}(\mb{g} + \lambda {\mb{e}_ j}) \leq \epsilon \]](images/statug_phreg0493.png)
The profile-likelihood confidence limits for the hazard ratio
are obtained by exponentiating these confidence limits.