Ask Mallard
Analysis method

Cause-specific hazards regression

4 min read

Cause-specific hazards regression links covariates to the rate of one event among people still free of every competing event.

Fit

When to use it, and when not to

Use it when

  • You want an adjusted association with the rate of a specific first event.
  • You can record each event type and when it happens.

Not when

Before you start

What you need

Decide these first
  1. One target eventcompetingEventsCode all competing first events and censoring separately.
  2. A justified adjustment setChoose baseline covariates for the question, rather than selecting them by P values.
  3. Time origin and follow-upAlign eligibility, exposure measurement and the start of outcome follow-up.
It rests on these
  1. Loss to follow-up is unrelated to future events among people with the same recorded factors.How to check: Record why follow-up ended. Assess how results change if those lost have a worse outlook.
  2. Different people supply independent observations.How to check: For patients grouped within clinics or families, use inference that accounts for those groups.
  3. Missing covariates are handled under a stated assumption.How to check: Under missing at random, impute using observed predictors of missingness and outcome. If missingness is not at random, use delta or tipping-point sensitivity analyses.
  4. A reported constant hazard ratio fits the cause-specific model.How to check: Inspect residuals and time interactions. Allow changing effects when needed.
  5. A causal interpretation requires adequate control of confounding.How to check: An adjusted association alone does not establish a causal effect.

Plain language

How it works

Fit a Cox model for the chosen event type. Remove people from its risk set when they have any first event. For this model, a competing event is coded as an end to risk without the target event. That coding estimates the cause-specific hazard; it does not justify reading a Kaplan-Meier complement as cumulative incidence. Prentice and colleagues define the observable cause-specific rates.

The method in steps
Event-free people at risk. Then model one cause-specific hazard. Then rate association among those still at risk.Cause-specific hazards regressionEvent-free people at riskModel one cause-specifichazardRate association amongthose still at riskA cause-specific hazard ratio describes an event rate among people still event-free, not a ratio ofcumulative probabilities. A Kaplan-Meier curve that censors a competing event overstates cumulativeincidence when read as one minus survival.
Conceptual diagram. It shows the structure of the idea, not data from any study.
Reading and reporting the result

The fitted coefficient describes a contrast among people still event-free at that time. Lunn and McNeil show how Cox regression can model competing event types. To obtain adjusted cumulative incidence, combine models for every cause with event-free survival, or use another valid risk model. One cause-specific hazard ratio alone cannot supply a patient probability.

Worked example

A worked example

Invented for illustration
Setting
Patients are followed for relapse, with death as a competing first event.
Question
How does one fitted coefficient change the relapse hazard?
Approach
Assume a fitted log hazard coefficient of 0.693147 and a reference hazard of 0.02 per month at the chosen time.
Result
The cause-specific hazard ratio is 2.00. The fitted hazard at that time becomes 0.04 per month.
What it means
This is twice the instantaneous relapse rate among people still alive and relapse-free. It does not imply twice the relapse probability.

In practice

Recent studies PubMed search · not vetted

Searching PubMed…

Watch out

Common mistakes

The one to remember

A cause-specific hazard ratio describes an event rate among people still event-free, not a ratio of cumulative probabilities. A Kaplan-Meier curve that censors a competing death or another event overstates cumulative incidence when read as one minus survival.

  • Calling removal at a competing death an assumption that the latent causes are independent.Instead: Cause-specific hazards are observable rates. Independent latent failure times are not required to estimate them.
  • Treating every adjusted coefficient as a causal effect.Instead: Only a contrast tied to the causal question and its assumptions can have that interpretation.

Inside Mallard

How Mallard uses this

Learn search lists Cause-specific hazards regression. The method registry links this method to its single-method article and code.

Code example in Mallard: Cause-specific Cox regression under competing risks (cause-specific-cox).
Atlas node analysis.cause_specific_hazards, the id a plan cue records.
Code for this method
Loading…

Related Learn pages

Related designs and methods

Evidence

Sources & further reading

  1. The analysis of failure times in the presence of competing risks. (opens in a new tab) · Biometrics
  2. Applying Cox regression to competing risks. (opens in a new tab) · Biometrics
Source records, titles, authors, years and available DOIs checked against PubMed on 2026-11-06. Prepared with AI assistance; no independent professional approval is claimed. Prentice and colleagues establish the observable cause-specific hazard framework and its limits under cause removal. Lunn and McNeil develop Cox regression implementation for competing risks. Neither retrieved PubMed record provides a DOI.
Last source review: 2026-11-06
AI-generated educational content
Mallard uses reputable methodological and reporting sources, but this material may contain errors or omit important context. Verify important methodological decisions with the cited sources and, when appropriate, a qualified research methodologist or statistician.