Cox Proportional Hazards — Regression Model for Time-to-Event Data
Cox Proportional Hazards Regression Model · Also known as: Cox regression, Cox PH model, proportional hazards model, CPH
The Cox proportional hazards model is a semi-parametric regression method that estimates the effect of one or more covariates on the hazard — the instantaneous rate of an event such as death, relapse, or failure — while making no assumption about the shape of the baseline hazard function. Introduced by David Cox in 1972, it is the dominant tool for multivariable survival analysis in clinical and epidemiological research.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
+34 more
When to use it
Use the Cox model when your outcome is time-to-event, censoring is present (not all participants experience the event), and you need to adjust for covariates. It is the default multivariable method for cohort studies, clinical trials, and registry analyses with survival endpoints. Do not use it when the proportional hazards assumption is severely violated across all covariates — consider an accelerated failure time model or flexible parametric alternatives instead. Avoid it when events are very rare relative to the number of covariates (fewer than 10 events per predictor is a recognised rule of thumb for instability). For a single exposure without covariates, Kaplan-Meier curves with log-rank tests are simpler and sufficient.
Strengths & limitations
- Requires no assumption about the shape of the baseline hazard, making it robust across a wide range of survival time distributions.
- Handles right-censoring naturally, which is ubiquitous in clinical follow-up data.
- Produces interpretable hazard ratios that quantify the relative effect of each covariate on the instantaneous event rate.
- Easily extended to stratified analyses, time-varying covariates, and clustered data (frailty models).
- Widely implemented in all major statistical software (R, Stata, SAS, SPSS) with well-established diagnostic tools.
- The proportional hazards assumption must hold — if hazard ratios change over time, estimates are averaged and potentially misleading.
- Does not produce absolute survival time predictions without additional estimation of the baseline hazard.
- Performance degrades when events are sparse relative to covariates; overfitting risk rises with fewer than 10 events per predictor.
- Censoring must be non-informative; if patients drop out because they are deteriorating, estimates are biased.
Frequently asked
What is the proportional hazards assumption and how do I test it?
The assumption states that the hazard ratio between any two covariate patterns is constant over time. Test it by plotting scaled Schoenfeld residuals against time for each covariate — a flat line suggests the assumption holds. The cox.zph() function in R's survival package provides both the plot and a formal correlation test; a significant p-value indicates a violation that should be addressed by stratification or a time-interaction term.
When should I prefer a parametric survival model over the Cox model?
If subject-matter knowledge strongly supports a specific distribution for survival times (e.g., Weibull for device failure), a fully parametric model is more efficient and produces direct predictions of median or mean survival time. The Cox model is preferable when you are agnostic about the hazard shape or when model robustness matters more than parametric efficiency — which is most of the time in clinical research.
Can I use the Cox model with time-varying covariates?
Yes. The counting-process formulation of the Cox model accommodates covariates whose values change over the follow-up period (e.g., updated lab values, treatment switches). The dataset must be restructured into a start–stop interval format for each observation window. This is fully supported in R (survival package), Stata, and SAS.
How many events do I need?
A widely used heuristic is at least 10 events per predictor variable (EPV) in the model. Below this threshold, coefficient estimates become unstable, confidence intervals widen, and the model may not converge reliably. For models with many candidate covariates, penalised regression (ridge, LASSO) or formal shrinkage methods can improve stability when EPV is low.
What is the difference between the Cox model and competing risks analysis?
When only one type of event is possible, the standard Cox model applies. Competing risks arise when a subject can experience one of several mutually exclusive events (e.g., cancer-specific death vs. death from other causes). In that setting, cause-specific Cox models or the Fine-Gray subdistribution hazard model are appropriate; the standard Cox model on the event of interest alone overestimates cause-specific cumulative incidence.
Sources
- Cox, D. R. (1972). Regression models and life-tables. Journal of the Royal Statistical Society: Series B (Methodological), 34(2), 187–202. DOI: 10.1111/j.2517-6161.1972.tb00899.x ↗
- Collett, D. (2015). Modelling Survival Data in Medical Research (3rd ed.). CRC Press. ISBN: 978-1439856789
How to cite this page
ScholarGate. (2026, June 3). Cox Proportional Hazards Regression Model. ScholarGate. https://scholargate.app/en/epidemiology/cox-proportional-hazards
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Accelerated Failure Time ModelSurvival↔ compare
- Cohort StudyEpidemiology↔ compare
- Kaplan-Meier AnalysisEpidemiology↔ compare
- Logistic RegressionResearch Statistics↔ compare
- Survival AnalysisResearch Statistics↔ compare