Competing Risks Analysis: Methods, Models and Reporting

Competing risks analysis is the correct approach whenever another event can stop your outcome of interest from happening, such as death before a transplant, or non-cancer death in a cancer cohort. Treating that other event as ordinary censoring can overstate the probability of your outcome. The fix has two parts: estimate the cumulative incidence function (CIF) instead of one minus Kaplan-Meier, and choose a regression model, cause-specific or subdistribution hazard, that matches your research question. This guide covers both, and how to document the choice so a reviewer or supervisor can follow it. It is also where agentic analytics for researchers helps: PlotStudio AI plans and runs multi-step analyses and keeps the code, outputs and methodology available for review.
TL;DR
- A competing risk is an event that prevents the primary event from occurring. Censoring those patients at the competing event usually overestimates cumulative incidence.
- Use the cumulative incidence function for descriptive results, not 1 minus the Kaplan-Meier estimate.
- Cause-specific hazards answer “what drives the rate of this event among people still at risk?” Subdistribution (Fine-Gray) hazards answer “what drives the cumulative probability of this event?”
- Pick the model that matches your objective as the primary analysis, and consider reporting the other as secondary.
- Report CIF curves for both the primary and the competing event, state your assumptions, and keep the code reproducible.
Table of Contents
- What a competing risk is
- Why censoring the competing event goes wrong
- Estimating cumulative incidence
- Cause-specific hazard vs subdistribution hazard
- Choosing between the models
- Assumptions to check and report
- Implementing it reproducibly
- Where PlotStudio AI fits in a competing-risks workflow
- Try it on your own data
- Our perspective
- FAQ
- Sources
What a competing risk is
A competing risk is an event whose occurrence precludes the event you are studying. Austin, Lee and Fine give the standard example: non-cardiovascular death precludes cardiovascular death. Once a patient has died of the first cause, the second can no longer happen.
The situation is common in clinical and public health research:
- Time to relapse, when patients can die before relapsing.
- Time to extubation in ICU patients, when death in hospital is the other way to leave the ventilator pathway.
- Time to starting antiretroviral therapy, when disease progression or death can come first.
- Time to graft failure, when the patient may die with a functioning graft.
If your outcome is a composite (for example, any major cardiovascular event or death), competing risks work differently. Wolbers and colleagues discuss the distinct role competing risks play in composite endpoints, so check that your outcome definition is settled before choosing a method.
Why censoring the competing event goes wrong
Kaplan-Meier and standard Cox regression assume censoring is non-informative: a censored participant carries the same future prognosis as those who remain under follow-up. A 2026 epidemiology introduction by Sørensen, Horváth-Puhó and Peacock notes that with competing risks this assumption can fail, because exposure may also be associated with the competing event, and Kaplan-Meier or traditional Cox estimates can then be biased.
Their cancer example makes the mechanism concrete. A patient who dies of acute myocardial infarction is treated as censored by the Kaplan-Meier estimator, which ignores that the patient can no longer die of cancer.
Austin, Lee and Fine add a second point. Even if the competing events were independent, the resulting probability describes a hypothetical world in which the competing event cannot occur, and it generally overestimates cumulative incidence. If you want a refresher on censoring types, our guide to censoring in survival analysis covers them.
A worked example of the size of the bias
In the heart-failure case study reported by Austin, Lee and Fine, the 5-year cumulative incidence of cardiovascular death was 36.8%. That was 6.2 percentage points below the Kaplan-Meier complement. A paper reporting the higher figure would have told readers that more patients die of cardiovascular causes than actually do within five years. The gap widens as the competing event becomes more frequent, as Wolbers et al. stress.
Estimating cumulative incidence
The CIF for cause k is the probability of experiencing that event by time t before any other event type: Pr(T ≤ t, D = k). Four properties matter in practice.
- CIFs for the individual causes sum to the CIF of the composite outcome, according to Austin, Lee and Fine.
- A single cause’s CIF need not approach 1, because some people will experience another event instead.
- It does not require the competing events to be independent. Lambert shows that the CIF depends on the hazards of all causes, whereas 1 minus the cause-specific survival is interpretable as a probability only under an independence assumption that is hard to defend.
- The CIF is always smaller than the corresponding 1 minus Kaplan-Meier estimate, because competing events are counted in the overall survival probability rather than dropped from the risk set.
Wolbers et al. describe the CIF as the most important tool for descriptive competing-risks statistics. Plot it for the primary event and for the competing event; Li and colleagues recommend examining both curves. If the competing event curve rises steeply, that alone tells you a naive Kaplan-Meier analysis would mislead.
For the Kaplan-Meier basics that this builds on, see Kaplan-Meier curves: a practical guide.
Cause-specific hazard vs subdistribution hazard
This is the decision most reviewers ask about. Both models are Cox-type regressions, but they answer different questions.
| Cause-specific hazard | Subdistribution hazard (Fine-Gray) | |
|---|---|---|
| Quantity modeled | Instantaneous rate of event k among those still event-free | Hazard derived from the CIF of event k |
| Risk set | People who have not had any event | Also keeps people who had the competing event, with adjusted weights |
| Competing events | Handled as censoring in the model for cause k | Handled through their influence on the CIF |
| Best for | Etiology: how an exposure changes the rate of the event | Prediction and risk: how a covariate changes cumulative probability |
| Caution | Reading it as a change in absolute risk needs an untestable independence assumption | Not a true hazard; not for causal analysis |
The subdistribution hazard is defined heuristically as the hazard for an individual who either fails from cause k or does not, with an infinite failure time for cause k in the latter case. Dignam, Zhang and Kocherginsky model it as a baseline subdistribution hazard multiplied by exp(Zβ), a Cox-like form in which covariates act in a time-independent way.
Why the two can disagree
There is no one-to-one correspondence between the CIF and the cause-specific hazard, because the CIF depends on the hazards of all causes. Dignam et al. show in simulation that a covariate with no direct effect on the primary event’s hazard can still be significantly associated with its cumulative probability, if it changes the competing event’s hazard.
Published examples show the pattern. In the 2026 epidemiology introduction (Dove Press version), a venous thromboembolism cohort gave cause-specific hazard ratios of 2.09 for MACE and 3.35 for non-cardiovascular death, while the Fine-Gray subdistribution hazard ratio for MACE was 1.48. The same exposure looks stronger or weaker depending on the estimand.

In the Women’s Interagency HIV Study example, women with an injection drug use history had lower rates of starting antiretroviral therapy before progression or death by both measures (cause-specific 0.67, subdistribution 0.60). Their relative hazards for progression before treatment were 1.71 and 2.01 respectively (Lau, Cole and Gange). Both models pointed the same way, but the magnitudes differed. In another worked example in a translational medicine guide, the coefficients were close, 1.87 versus 1.94. Close agreement is not guaranteed, so you should fit both when the question allows.
Choosing between the models
The literature is consistent on the rule: let the scientific question decide.
- Etiologic question (does this exposure change the biological rate of the event?): use the cause-specific hazard. It is valid to interpret a cause-specific hazard ratio as a relative change in the hazard rate. Interpreting it as a change in apparent risk requires the untestable assumption that competing events are independent, according to the epidemiologic competing-risk regression paper.
- Prediction or absolute-risk question (what is the probability a patient has this event by five years, given covariates?): use the subdistribution hazard or model the CIF directly.
- Both matter: Li, Sun, Burstein and Getz recommend making the model aligned with the study objective the primary analysis and presenting the other as secondary. They also caution that the subdistribution hazard is not a true hazard function, so its ratio should not be read like an ordinary hazard ratio.
That sentence is the one a reviewer wants to see in your methods: which question, which estimand, which model, and why.
Assumptions to check and report
Fine-Gray is not a default that removes every problem. The 2026 introduction lists several limitations you should be ready to address:
- Keeping competing-event subjects in the risk set is conceptually counterintuitive.
- The model is not appropriate for causal or etiologic analyses.
- It often needs large samples.
- It assumes proportional subdistribution hazards.
- Under strong competing risks, the model-estimated CIF can overestimate event probability.
Across all methods, Wolbers et al. note that competing-risks methods handle right-censoring but remain valid only if censoring is independent of the outcome. Check how participants were lost to follow-up, and say so.
If proportional hazards is doubtful, Wu and colleagues recommend reporting restricted mean time lost alongside the hazard ratio, or using it as the primary outcome. Our guide to Cox regression covers how to check the proportional hazards assumption in the standard model.
A reporting checklist that covers most reviewer comments:
- Define the primary event and every competing event, and the follow-up start and end.
- State the estimand: rate (cause-specific) or cumulative probability (subdistribution or CIF).
- Show CIF curves for the primary and competing events, with numbers at risk.
- Name the model, the software and the function used.
- Report the secondary model if you fitted one, and explain any difference.
- State how proportional hazards was assessed.
Implementing it reproducibly
The tools exist in every major statistics environment. Austin, Lee and Fine list R’s cuminc for CIFs, coxph for cause-specific Cox models and crr for subdistribution models. SAS has a %CIF macro and PROC PHREG, with an event code option for the Fine-Gray model. They supply R and SAS code in their Data Supplement, and Li et al. provide R code too.
The hard part is rarely the function call. It is the surrounding record: how the event variable was coded (0 for censored, 1 for the primary event, 2 for the competing event), which rows were excluded, which model was primary, and whether someone else can rerun it. A common failure is a supervisor who cannot reproduce the numbers because the coding of the event indicator lived in an undocumented script.
For related groundwork, see our guides on survival analysis in R, survival analysis with R using Kaplan-Meier and Cox, SAS survival analysis and survival analysis software compared. More are collected under survival analysis articles.
Where PlotStudio AI fits in a competing-risks workflow
R, Python, SAS, SPSS and Jupyter provide the statistical computing. PlotStudio AI adds an agentic layer on top: specialized AI agents plan an investigation, write and run real code, inspect intermediate results and synthesize the findings, all as agentic analytics for researchers. It supports Python and R workflows and is designed for methods such as survival analysis and Cox proportional hazards models, so it works alongside your existing tools rather than replacing them.
Three features map onto the problems above.
- Plan Mode lets you review and modify the proposed analytical approach before anything runs, including methods, assumptions and steps. For competing risks, that is the point to confirm that the plan treats the competing event as its own outcome, rather than quietly censoring it.
- Skills encode how a lab or discipline approaches analysis, including statistical conventions and reporting expectations, so a group can standardize how it reports its primary and secondary models.
- Analysis Pages and exports preserve the methodology, code, outputs and statistics, and export to notebooks and PDF reports, so supervisors, collaborators and reviewers can inspect how a result was produced.
Analyses can run locally on your machine, which suits clinical researchers who cannot upload patient data to cloud tools, including those handling GDPR special category data.
Try it on your own data
PlotStudio AI has a free trial, and paid plans start with Bring Your Own Key at $39.99 per month. Managed Credits is $69.99 per month. Researchers can also take the Bring Your Own Key plan at $399.90 per year. Connect a dataset, state the objective, and review the plan before it runs.

If you want to understand the category first, read what agentic analytics is.
Our perspective
Competing risks is a good test of any analysis tool, because the wrong answer looks perfectly reasonable. A Kaplan-Meier curve with the competing event censored is a clean, publishable-looking figure, and it is biased upward.
We built PlotStudio AI around the idea that research analysis is a workflow, not a one-shot answer. The question “what is the cause-specific versus subdistribution estimand here?” should be settled in a reviewable plan before code runs, not discovered during peer review.
That is why we put Plan Mode, Skills and reproducible Analysis Pages at the center. Your statistical software computes. PlotStudio AI plans, executes, inspects and documents the full analysis, so the method justification a reviewer asks for is already on the page. For researchers who need reproducible, multi-step analysis rather than one-shot chat, we think that is the layer missing from the modern research toolkit.
Aymen
FAQ
What is the difference between competing risks and censoring?
Censoring means you stop observing someone without knowing whether the event would have occurred. A competing event actually happens and makes the primary event impossible. Treating it as censoring assumes those patients resemble the ones still followed, which often does not hold.
Should I use a cause-specific or a Fine-Gray model?
Use the one that matches your question. Cause-specific hazards suit etiologic questions about the event rate, while Fine-Gray suits questions about cumulative probability and prediction. Many papers present one as primary and the other as secondary, as Li et al. recommend.
Why is the CIF lower than 1 minus Kaplan-Meier?
Kaplan-Meier removes people with competing events from the risk set, so it behaves as if they could still have the primary event. The CIF counts those competing events in the overall survival probability. The result is a smaller, more realistic probability.
Can the two models give different conclusions?
Yes. A covariate that does not affect the primary event’s hazard can still change its cumulative incidence if it affects the competing event. This is why reporting CIF curves for both events matters.
Sources
- Introduction to the Analysis of Survival Data in the Presence of Competing Risks (Austin, Lee, Fine)
- An Introduction to Competing Risks in Epidemiology (PMC)
- An Introduction to Competing Risks in Epidemiology (Dove Press)
- Competing risks analyses: objectives and approaches (Wolbers et al.)
- The estimation and modelling of cause-specific cumulative incidence functions (Lambert)
- Survival analysis in the presence of competing risks (Zhang)
- The Use and Interpretation of Competing Risks Regression Models (Dignam et al.)
- Competing Risk Regression Models for Epidemiologic Data
- Survival analysis in the presence of competing risks (Annals of Translational Medicine)
- Considerations of Competing Risks Analysis in Cardio-Oncology (Li et al.)
- Implementation of an alternative method for assessing competing risks (Wu et al.)