# Proportional hazards model

**Proportional hazards models** are a class of survival models in statistics. Survival models relate the time that passes before some event occurs to one or more covariates that may be associated with that quantity of time. In a proportional hazards model, the unique effect of a unit increase in a covariate is multiplicative with respect to the hazard rate. For example, taking a drug may halve one's hazard rate for a stroke occurring, or, changing the material from which a manufactured component is constructed may double its hazard rate for failure. Other types of survival models such as accelerated failure time models do not exhibit proportional hazards. The accelerated failure time model describes a situation where the biological or mechanical life history of an event is accelerated.

## Introduction

Survival models can be viewed as consisting of two parts: the underlying baseline hazard function, often denoted , describing how the risk of event per time unit changes over time at *baseline* levels of covariates; and the effect parameters, describing how the hazard varies in response to explanatory covariates. A typical medical example would include covariates such as treatment assignment, as well as patient characteristics such as age at start of study, gender, and the presence of other diseases at start of study, in order to reduce variability and/or control for confounding.

The *proportional hazards condition*^{[1]} states that covariates are multiplicatively related to the hazard. In the simplest case of stationary coefficients, for example, a treatment with a drug may, say, halve a subject's hazard at any given time , while the baseline hazard may vary. Note however, that this does not double the life time of the subject; the precise effect of the covariates on the life time depends on the type of . The covariate is not restricted to binary predictors; in the case of a continuous covariate , it is typically assumed that the hazard responds exponentially; each unit increase in results in proportional scaling of the hazard. The Cox partial likelihood, shown below, is obtained by using Breslow's estimate of the baseline hazard function, plugging it into the full likelihood and then observing that the result is a product of two factors. The first factor is the partial likelihood shown below, in which the baseline hazard has "canceled out". The second factor is free of the regression coefficients and depends on the data only through the censoring pattern. The effect of covariates estimated by any proportional hazards model can thus be reported as hazard ratios.

Sir David Cox observed that if the proportional hazards assumption holds (or, is assumed to hold) then it is possible to estimate the effect parameter(s) without any consideration of the hazard function. This approach to survival data is called application of the * Cox proportional hazards model*,

^{[2]}sometimes abbreviated to

*or to*

**Cox model***proportional hazards model*. However, Cox also noted that biological interpretation of the proportional hazards assumption can be quite tricky.

^{[3]}

^{[4]}

## The Cox model

Let *Y*_{i} denote the observed time (either censoring time or event time) for subject *i*. Let *C*_{i} be the indicator that the time corresponds to an event (i.e. if *C*_{i} = 1 the event occurred and if *C*_{i} = 0 the time is a censoring time). Let *X*_{i} = {*X*_{i1}, … *X*_{ip}} be the realized values of the covariates for subject *i*. The hazard function for the Cox proportional hazard model has the form

This expression gives the hazard rate at time *t* for subject *i* with covariate vector (explanatory variables) *X*_{i}.

Ignoring ties for the moment, conditioned upon the existence of a unique event at some particular time *t* the probability that the event occurs in the subject *i* for which *C*_{i} = 1 and *Y*_{i} = *t* is

where *θ*_{j} = exp(*X*_{j} ⋅ *β*). Observe that the factors of *λ*_{0}(*t*) that would be present in both the numerator and denominator have canceled out.

Treating the subjects' events as if they were statistically independent, the joint probability of all realized events conditioned upon the existence of events at those times is the partial likelihood:

The corresponding log partial likelihood is

This function can be maximized over *β* to produce maximum partial likelihood estimates of the model parameters.

The partial score function is

and the Hessian matrix of the partial log likelihood is

Using this score function and Hessian matrix, the partial likelihood can be maximized using the Newton-Raphson algorithm. The inverse of the Hessian matrix, evaluated at the estimate of *β*, can be used as an approximate variance-covariance matrix for the estimate, and used to produce approximate standard errors for the regression coefficients.

### Tied times

Several approaches have been proposed to handle situations in which there are ties in the time data. *Breslow's method* describes the approach in which the procedure described above is used unmodified, even when ties are present. An alternative approach that is considered to give better results is *Efron's method*.^{[5]} Let *t*_{j} denote the unique times, let *H*_{j} denote the set of indices *i* such that *Y*_{i} = *t*_{j} and *C*_{i} = 1, and let *m*_{j} = |*H*_{j}|. Efron's approach maximizes the following partial likelihood.

The corresponding log partial likelihood is

the score function is

and the Hessian matrix is

where

Note that when *H*_{j} is empty (all observations with time *t*_{j} are censored), the summands in these expressions are treated as zero.

## Time-varying predictors and coefficients

Extensions to time dependent variables, time dependent strata, and multiple events per subject, can be incorporated by the counting process formulation of Andersen and Gill.^{[6]}

In addition to allowing time-varying covariates (i.e., predictors), the Cox model may be generalized to time-varying coefficients as well. That is, the proportional effect of a treatment may vary with time; e.g. a drug may be very effective if administered within one month of morbidity, and become less effective as time goes on. The hypothesis of no change with time (stationarity) of the coefficient may then be tested. Details and software (R package) are available in Martinussen and Scheike (2006).^{[7]}^{[8]} The application of the Cox model with time-varying covariates is considered in reliability mathematics.^{[9]}

In this context, it could also be mentioned that it is theoretically possible to specify the effect of covariates by using additive hazards,^{[10]} i.e. specifying

If such additive hazards models are used in situations where (log-)likelihood maximization is the objective, care must be taken to restrict to non-negative values. Perhaps as a result of this complication, such models are seldom seen. If the objective is instead least squares the non-negativity restriction is not strictly required.

## Specifying the baseline hazard function

The Cox model may be specialized if a reason exists to assume that the baseline hazard follows a particular form. In this case, the baseline hazard is replaced by a given function. For example, assuming the hazard function to be the *Weibull* hazard function gives the *Weibull proportional hazards model*.

Incidentally, using the Weibull baseline hazard is the only circumstance under which the model satisfies both the proportional hazards, and accelerated failure time models.

The generic term *parametric proportional hazards models* can be used to describe proportional hazards models in which the hazard function is specified. The Cox proportional hazards model is sometimes called a *semiparametric model* by contrast.

Some authors use the term *Cox proportional hazards model* even when specifying the underlying hazard function,^{[11]} to acknowledge the debt of the entire field to David Cox.

The term *Cox regression model* (omitting *proportional hazards*) is sometimes used to describe the extension of the Cox model to include time-dependent factors. However, this usage is potentially ambiguous since the Cox proportional hazards model can itself be described as a regression model.

## Relationship to Poisson models

There is a relationship between proportional hazards models and Poisson regression models which is sometimes used to fit approximate proportional hazards models in software for Poisson regression. The usual reason for doing this is that calculation is much quicker. This was more important in the days of slower computers but can still be useful for particularly large data sets or complex problems. Laird and Olivier (1981)^{[12]} provide the mathematical details. They note, "we do not assume [the Poisson model] is true, but simply use it as a device for deriving the likelihood." McCullagh and Nelder's^{[13]} book on generalized linear models has a chapter on converting proportional hazards models to generalized linear models.

## Under high-dimensional setup

In high-dimension, when number of covariates p is large compared to the sample size n, the LASSO method is one of the classical model-selection strategies. Tibshirani (1997) has proposed a Lasso procedure for the proportional hazard regression parameter.^{[14]} The Lasso estimator of the regression parameter β is defined as the minimizer of the opposite of the Cox partial log-likelihood under an L^{1}-norm type constraint.

There has been theoretical progress on this topic recently.^{[15]}^{[16]}^{[17]}^{[18]}

## See also

## Notes

- ↑ Breslow, N. E. (1975). "Analysis of Survival Data under the Proportional Hazards Model".
*International Statistical Review / Revue Internationale de Statistique*.**43**(1): 45–57. doi:10.2307/1402659. JSTOR 1402659. - ↑ Cox, David R (1972). "Regression Models and Life-Tables".
*Journal of the Royal Statistical Society, Series B*.**34**(2): 187–220. JSTOR 2985181. MR 0341758 - ↑ Reid, N. (1994). "A Conversation with Sir David Cox".
*Statistical Science*.**9**(3): 439–455. doi:10.1214/ss/1177010394. - ↑ Cox, D. R. (1997).
*Some remarks on the analysis of survival data*. the First Seattle Symposium of Biostatistics: Survival Analysis. - ↑ Efron, Bradley (1974). "The Efficiency of Cox's Likelihood Function for Censored Data".
*Journal of the American Statistical Association*.**72**(359): 557–565. doi:10.1080/01621459.1977.10480613. JSTOR 2286217. - ↑ Andersen, P.; Gill, R. (1982). "Cox's regression model for counting processes, a large sample study.".
*Annals of Statistics*.**10**(4): 1100–1120. doi:10.1214/aos/1176345976. JSTOR 2240714. - ↑ Martinussen; Scheike (2006).
*Dynamic Regression Models for Survival Data*. Springer. doi:10.1007/0-387-33960-4. ISBN 978-0-387-20274-7. - ↑ "timereg: Flexible Regression Models for Survival Data".
*CRAN*. - ↑ Wu, S.; Scarf, P. (2015). "Decline and repair, and covariate effects".
*European Journal of Operational Research*.**244**(1): 219–226. doi:10.1016/j.ejor.2016.07.052. - ↑ Cox, D. R. (1997).
*Some remarks on the analysis of survival data*. the First Seattle Symposium of Biostatistics: Survival Analysis. - ↑ Bender, R.; Augustin, T.; Blettner, M. (2006). "Generating survival times to simulate Cox proportional hazards models".
*Statistics in Medicine*.**24**: 1713–1723. doi:10.1002/sim.2369. - ↑ Nan Laird and Donald Olivier (1981). "Covariance Analysis of Censored Survival Data Using Log-Linear Analysis Techniques".
*Journal of the American Statistical Association*.**76**(374): 231–240. doi:10.2307/2287816. JSTOR 2287816. - ↑ P. McCullagh and J. A. Nelder (2000). "Chapter 13: Models for Survival Data".
*Generalized Linear Models*(Second ed.). Boca Raton, Florida: Chapman & Hall/CRC. ISBN 0-412-31760-5. (Second edition 1989; first CRC reprint 1999.) - ↑ Tibshirani, R. (1997). "The Lasso method for variable selection in the Cox model".
*Statistics in Medicine*.**16**(4): 385–395. doi:10.1002/(SICI)1097-0258(19970228)16:4<385::AID-SIM380>3.0.CO;2-3. - ↑ Bradić, J.; Fan, J.; Jiang, J. (2011). "Regularization for Cox's proportional hazards model with NP-dimensionality".
*Annals of Statistics*.**39**(6): 3092–3120. doi:10.1214/11-AOS911. - ↑ Bradić, J.; Song, R. (2015). "Structured Estimation in Nonparametric Cox Model".
*Electronic Journal of Statistics*.**9**(1): 492–534. doi:10.1214/15-EJS1004. - ↑ Kong, S.; Nan, B. (2014). "Non-asymptotic oracle inequalities for the high-dimensional Cox regression via Lasso".
*Statistica Sinica*.**24**(1): 25–42. doi:10.5705/ss.2012.240. - ↑ Huang, J.; Sun, T.; Ying, Z.; Yu, Y.; Zhang, C. H. (2011). "Oracle inequalities for the lasso in the Cox model".
*The Annals of Statistics*.**41**(3): 1142–1165. doi:10.1214/13-AOS1098.

## References

- Bagdonavicius, V.; Levuliene, R.; Nikulin, M. (2010). "Goodness-of-fit Criteria for the Cox model from Left Truncated and Right Censored Data".
*Journal of Mathematical Sciences*.**167**(4): 436–443. doi:10.1007/s10958-010-9929-6. - Cox, D. R.; Oakes, D. (1984).
*Analysis of Survival Data*. New York: Chapman & Hall. ISBN 041224490X. - Collett, D. (2003).
*Modelling Survival Data in Medical Research*(2nd ed.). Boca Raton: CRC. ISBN 1584883251. - Gouriéroux, Christian (2000). "Duration Models".
*Econometrics of Qualitative Dependent Variables*. New York: Cambridge University Press. pp. 284–362. ISBN 0-521-58985-1. - Singer, Judith D.; Willett, John B. (2003). "Fitting Cox Regression Models".
*Applied Longitudinal Data Analysis: Modeling Change and Event Occurrence*. New York: Oxford University Press. pp. 503–542. ISBN 0-19-515296-4. - Therneau, T. M.; Grambsch, P. M. (2000).
*Modeling Survival Data: Extending the Cox Model*. New York: Springer. ISBN 0387987843.