Retrospective Competing Risks Analysis

Statistics
Introduced by
Fine & Gray (subdistribution model); Prentice et al. (cause-specific framework)
Year
1978 (cause-specific); 1999 (subdistribution/Fine-Gray)
Type
Retrospective observational survival analysis
Family
Clinical / epidemiology

What does it do?

Retrospective competing risks analysis applies competing risks methods to historical time-to-event data in which each subject can experience one of several mutually exclusive endpoints.

It estimates the cumulative incidence function (CIF) for each event type and fits cause-specific or subdistribution hazard models, accounting for the fact that one event precludes the others. The approach is used in oncology, cardiology and transplant research, where registries, hospital records or administrative databases are the data source.

The intuition behind the method

Standard Kaplan-Meier analysis treats subjects who die from other causes as censored at the time of that death. This implicitly assumes they would otherwise have remained at risk for the event of interest, which overstates the probability that the event would have occurred. Retrospective competing risks analysis corrects this by modelling all possible outcomes together. Because the data come from past records such as registries, hospital charts or administrative databases, the researcher cannot control data collection. The analyst must instead reconstruct the event timeline carefully and handle biases typical of retrospective data, including incomplete follow-up, historical coding variation and left-truncation.

History

Prentice et al. (1978, Biometrics) set out a cause-specific hazard framework for failure time data with competing causes of failure, using cause-specific hazards as the basic estimable quantities. Fine and Gray (1999, Journal of the American Statistical Association) noted that clinicians had begun using the cumulative incidence function, which is more easily explained to non-statisticians than cause-specific hazards. They proposed a semiparametric proportional hazards model for the subdistribution of a competing risk, which allows the effect of a covariate on the marginal cumulative incidence to be assessed directly. The cumulative incidence function and Gray's test for comparing CIFs are now standard tools in this framework.

When to use it

Use retrospective competing risks analysis when (a) time-to-event data already exist in registries, administrative databases or medical records; (b) subjects can experience several mutually exclusive endpoints, and standard survival analysis would overestimate the probability of the primary endpoint; and (c) the aim is descriptive (CIF estimation), comparative (Gray's test) or prognostic (Fine-Gray model). Avoid it when the data were collected prospectively with full covariate control, because a prospective competing risks design is then preferable. Also avoid it when censoring is informative and cannot be modelled, when the competing events are not truly mutually exclusive, or when the records are too incomplete to reconstruct the event timeline reliably.

Limitations and considerations

  • Retrospective data cannot guarantee comparability of exposure groups; unmeasured confounding is a persistent threat that propensity-score methods can reduce but not eliminate.
  • Event ascertainment depends on historical coding quality — ICD coding changes, incomplete cause-of-death information, and administrative censoring can introduce misclassification bias.
  • Covariate data are limited to what was recorded at the time; time-varying confounders and post-baseline covariates are often unavailable.
  • Left-truncation (subjects already under follow-up when the database begins) is frequently overlooked, leading to biased hazard estimates if not explicitly handled.
  • Fine-Gray subdistribution hazards weight subjects by the inverse probability of censoring; retrospective datasets with complex censoring patterns may violate these weighting assumptions.
  • Cause-specific and Fine-Gray analyses depend on assumptions that are harder to verify with retrospective records: independent censoring and, for the Fine-Gray model, proportional subdistribution hazards over time. Violations can bias estimates, so these assumptions should be checked and reported.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Estimates absolute event probabilities in the presence of competing events, avoiding the upward bias that one minus the Kaplan-Meier estimate produces in that setting.
  • Can use large existing registries and administrative datasets, which may be more practical to assemble than prospective cohorts of comparable size.
  • The Fine-Gray model regresses the subdistribution hazard, so predicted cumulative incidence for given covariate values can be derived from the fitted model. These predicted CIFs are on the probability scale used in clinical risk prediction and decision support.
  • Cause-specific and subdistribution hazard models can be fitted to the same dataset. Each answers a different question, so results should be reported separately, with the target estimand (etiologic or predictive) stated.
  • Observational reporting standards for cohort and registry studies apply to these analyses and support transparent reporting of retrospective designs.

Applications

  • Estimating cause-specific mortality in cancer registry patients when cardiovascular death and other-cause death compete with cancer-specific death.
  • Modelling time to graft failure vs. patient death in retrospective transplant registry studies.
  • Assessing absolute stroke risk vs. competing cardiovascular death risk in administrative claims data.
  • Comparing treatment-arm CIFs for disease relapse vs. treatment-related mortality in retrospective haematological oncology datasets.
  • Prognostic modelling for hospital readmission vs. post-discharge death using retrospective hospital administrative data.
  • Evaluating occupational or environmental exposure effects on disease incidence when all-cause mortality is a competing event in historical cohort studies.

How it works

How it works

1

The analyst identifies the primary event of interest (for example, disease-specific death) and the competing events (for example, death from other causes, graft failure or relapse) that can occur before the primary event. Operational definitions for each event type are extracted from the historical source, typically electronic health records, cancer registries or administrative claims, and a common time origin (for example, diagnosis or surgery date) is set for all subjects.

2

Cohort data are assembled from existing records. For each subject, follow-up time, event type (primary event, competing event or censored) and baseline covariate values are extracted. Because the data were not collected prospectively, the analyst must address missing data, variable coding that differs across time periods, left-truncation (delayed entry), and administrative censoring at the end of records, which is not the same as event-free survival.

3

The non-parametric cumulative incidence function is estimated for each event type using the Aalen-Johansen estimator. Unlike one minus the Kaplan-Meier estimate, the CIFs across event types add up to the overall probability of experiencing any event, so probability is correctly divided among the competing endpoints. CIFs are compared between groups using Gray's test.

4

Covariate-adjusted models are fitted within one of two complementary frameworks. (1) Cause-specific hazard models fit a separate Cox regression for each event type, treating competing events as censored; they address etiologic questions about the hazard mechanism. (2) The Fine-Gray subdistribution hazard model regresses the subdistribution hazard, from which predicted cumulative incidence for given covariate values can be derived; it is generally chosen when the question concerns absolute risk prediction. The Fine-Gray model assumes proportional subdistribution hazards over time; this assumption should be checked, for example by testing covariate-by-time interactions or inspecting residuals over time, before results are reported. In retrospective data, time-varying covariates are often unavailable, so baseline-only models are common.

5

Cause-specific hazard ratios and subdistribution hazard ratios address different questions and should not be interchanged. The analyst reports CIF curves with confidence intervals, Gray's test p-values for group comparisons, and model-based hazard ratios, stating which estimand (etiologic or predictive) each result targets. Both approaches assume that censoring is independent of the risk of the event; this should be assessed by comparing patients lost to follow-up with those who remain. Limitations of the retrospective design, including possible unmeasured confounding, selection bias and historical data quality, should be stated explicitly.

Common pitfalls

  • Using one minus the Kaplan-Meier estimate to estimate event probability when competing events are present. This inflates the cumulative incidence and can lead to incorrect clinical conclusions.
  • Confusing cause-specific hazard ratios with subdistribution hazard ratios. The two quantities differ and answer different questions, so reporting the wrong one for a given objective is a common error.
  • Ignoring left-truncation in registry data. Subjects enter the database only if they survived to enrolment, so counting their early follow-up from the nominal time origin adds event-free person-time to the early risk set. This makes early hazards appear lower than they are.
  • Treating incomplete follow-up as non-informative censoring without checking. If patients lost to follow-up differ systematically from those who remain, censoring is informative and standard methods are not valid.
  • Pooling data across historical periods with different diagnostic or coding practices without harmonisation. This introduces systematic misclassification of event types.

Frequently asked questions

Why can I not just use Kaplan-Meier and censor competing events?

Censoring competing events in Kaplan-Meier analysis treats those subjects as if they remain at risk for the primary event indefinitely, which is biologically impossible once a competing event has occurred. This inflates the estimated cumulative incidence. The cumulative incidence function from competing risks analysis correctly attributes probability mass across all event types, ensuring the estimates sum to the observed overall event probability.

Should I use the cause-specific or Fine-Gray model?

The cause-specific hazard model is preferred for etiologic questions, because it estimates the instantaneous hazard among those still at risk and is the natural framework for understanding biological mechanisms. The Fine-Gray subdistribution hazard model is preferred for prediction questions, because it models the cumulative incidence directly and is more interpretable for clinical risk scores and decision tools. Ideally, report both to give a complete picture.

How do I handle left-truncation in registry data?

Left-truncation occurs when subjects enter the database after the nominal time origin, for example because their diagnosis predates registry enrolment. These subjects should enter the risk set at the time they became observable, not at time zero. In R this is done by supplying a start time as well as a stop time in the Surv() object. Ignoring left-truncation counts event-free person-time from subjects who were not yet in the database, which biases the hazard estimates.

What software implements competing risks analysis?

In R, the cmprsk package provides Gray's test and Fine-Gray regression; the survival package handles cause-specific Cox models; mstate and riskRegression provide additional tools including time-varying covariates. In Stata, stcrreg implements the Fine-Gray model. SAS PROC PHREG with the EVENTCODE option fits subdistribution hazard models. Check the documentation of the version you use, since option availability depends on the release.

How large a sample is needed?

Event counts should be judged separately for each event type, because the number of events available for any one cause is only a fraction of the total. Events-per-variable rules of thumb exist, but their applicability to competing risks models is not well established, so a power or sample-size calculation specific to the planned model is advisable. Large registries are often needed to fit models with several predictors.

Related methods

Sources

  1. Fine, J. P., & Gray, R. J. (1999). A proportional hazards model for the subdistribution of a competing risk. Journal of the American Statistical Association, 94(446), 496–509.

    Open DOI reference
  2. Prentice, R. L., Kalbfleisch, J. D., Peterson, A. V., Flournoy, N., Farewell, V. T., & Breslow, N. E. (1978). The analysis of failure time data in the presence of competing risks. Biometrics, 34(4), 541–554.

    Open DOI reference