simplify.education

statistics / survival analysis · BEGINNER LESSON

Cox proportional-hazards model

The Cox proportional-hazards model is a semiparametric survival-analysis method for time-to-event data. It estimates how covariates change the hazard, meaning the instantaneous risk that an event happens at a given time, while leaving the baseline hazard unspecified.

What it is and what it measures

The Cox proportional-hazards model is used in survival analysis, which studies the time until an event such as death, recurrence, recovery, or loss to follow-up. It measures the hazard, the instantaneous risk that the event occurs at a particular time given the person’s covariates, or measured predictors. The model separates this into a baseline hazard and multiplicative effects of covariates, so the baseline risk does not need to be written as a fixed formula.

[1] Machine learning prediction of tuberculosis mortality - PMC [3] Applied comparison of stepwise Cox and Cox-LASSO regression in ...

How it works

In the model, each covariate has a coefficient that is interpreted through the log hazard ratio. A hazard ratio compares the hazard for one person or group with another. If the model is proportional hazards, that ratio is assumed to stay constant over time. This makes the method useful for comparing several factors at once while keeping the results interpretable. Right censoring is allowed, which means some people do not have an observed event time before the study ends or they leave follow-up.

[1] Machine learning prediction of tuberculosis mortality - PMC [3] Applied comparison of stepwise Cox and Cox-LASSO regression in ...

Common uses and related ideas

The model is widely used for medical and other time-to-event data because it can handle censoring and produce hazard ratios for multiple predictors. It is a standard reference method in survival analysis and is often compared with more flexible approaches such as random survival forest or extensions like penalized-spline Cox models. Those alternatives may fit non-linear or time-varying patterns better, but the Cox model is often valued for simplicity and interpretability.

[1] Machine learning prediction of tuberculosis mortality - PMC [2] Comparison of Methods for Analyzing Environmental Mixtures ... [3] Applied comparison of stepwise Cox and Cox-LASSO regression in ...

Limitations

The main limitation is the proportional-hazards assumption: the hazard ratio between two sets of covariates should remain constant over time. If hazards cross or effects change with time, the model may fit poorly or give misleading summaries. It can also be unstable with many correlated predictors, and because it is usually linear on the log-hazard scale, it may miss complex non-linear relationships unless extended.

[1] Machine learning prediction of tuberculosis mortality - PMC [2] Comparison of Methods for Analyzing Environmental Mixtures ... [3] Applied comparison of stepwise Cox and Cox-LASSO regression in ...

SEE THE IDEA

How the Cox proportional-hazards model organizes survival data

Outcome time is modeled through a baseline hazard that is multiplied by covariate effects, under a constant hazard-ratio assumption.

The model predicts relative hazard over time rather than directly specifying the full baseline risk curve.

TRY IT YOURSELF

Test your understanding

Choose an answer, then check the explanation.

0 of 3 questions answered
01 What does the Cox proportional-hazards model mainly estimate?
02 A study finds that the hazard ratio for smokers versus non-smokers changes a lot over follow-up time. What does that suggest?
03 In a survival study, 20 people are still event-free when the study ends, so their final event time is unknown. How are they described?

PUT IT TOGETHER

Match each concept to its meaning

Drag a label onto its description, or select a label and then select a description. This also works with a keyboard.

Sources and further reading

This general lesson was generated from public source material. It explains a concept; it does not interpret a private paper or provide medical advice.

  1. Machine learning prediction of tuberculosis mortality - PMC
  2. Comparison of Methods for Analyzing Environmental Mixtures ...
  3. Applied comparison of stepwise Cox and Cox-LASSO regression in ...
Apply this to a paper →