Bayesian Competing Risks Analysis — Bayesian Competing Risks Survival Analysis

Statistics
Introduced by
Various; Bayesian formulation advanced by Gelfand, Dey, Larson, and Dinse among others
Year
1980s–2000s (classical CR: 1970s; Bayesian extension: 1990s–2000s)
Type
Bayesian survival/time-to-event model
Family
Clinical / epidemiology

What does it do?

Bayesian competing risks analysis is a time-to-event method for settings where subjects can fail from more than one mutually exclusive cause, such as death from cancer versus death from cardiovascular disease.

It extends classical competing risks models, which use cause-specific hazards and cumulative incidence functions, by placing probability distributions over unknown parameters and updating them with observed data. The result is full posterior inference for each failure type.

The intuition behind the method

In a standard survival study you record when an event occurs. When several distinct event types compete, a patient may die from the disease of interest or from an unrelated cause, and whichever event happens first ends the time at risk for the other. Analysing one cause as if the others did not exist can overstate its risk. Bayesian competing risks analysis models the cause-specific hazard rates together. Because the analysis is Bayesian, clinical knowledge can enter as a prior distribution, and the resulting credible intervals express probability for the parameters directly. This is most useful when data are sparse and reliable historical information should not be discarded.

History

Classical competing risks theory dates to the 1970s, and cause-specific hazard methods became standard in survival analysis during the 1980s. The Fine–Gray subdistribution hazard model was published in 1999. Bayesian formulations became practical in the 1990s as MCMC computation became feasible. Larson and Dinse (1985) proposed a mixture-model approach to competing risks regression. It is a source on competing risks regression, not the origin of the Bayesian formulation.

When to use it

Choose Bayesian competing risks analysis when survival data contain two or more mutually exclusive failure causes and the question concerns the probability of each cause or covariate effects on cause-specific risks. It is also suited to small samples or rare events, where frequentist confidence intervals may be unreliable; to settings where reliable prior information from earlier studies or meta-analyses should be formally included; and to decision-analytic models that need full posterior uncertainty for cumulative incidence or hazard ratios. Do not use it when there is only one event type, where standard Bayesian survival analysis suffices. Avoid it also when event causes cannot be clearly distinguished or verified, or when MCMC expertise and computing resources are unavailable; frequentist Fine–Gray or cause-specific Cox models are then the practical alternative.

Limitations and considerations

  • MCMC estimation is computationally intensive and needs convergence diagnostics; poorly specified models, or diffuse priors in high-dimensional settings, can mix slowly.
  • With sparse data, results depend on the prior. This helps when priors are well justified and misleads when they are not.
  • Implementation in general-purpose tools such as Stan or JAGS requires more statistical expertise than standard Cox or Fine–Gray regression. Any dedicated competing-risks software should be checked for Bayesian support before use.
  • Reliable ascertainment of the event cause is required. Misclassified competing events bias the results, and the Bayesian machinery does not correct for that bias.
  • Key assumptions need checking: censoring must be non-informative given covariates; the dependence between latent competing failure times cannot be identified from observed data alone, so conclusions rest on the model's structure and should be examined in sensitivity analyses; and the assumed hazard form (for example proportional hazards for each cause) should be assessed, for instance with time-varying effects or posterior predictive checks.

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

Strengths

  • Accounts for competing events, so cumulative incidence is not overstated in the way a naive 1 − Kaplan–Meier estimate is when competing deaths are treated as censored.
  • Full posterior distributions allow direct probability statements about parameters and carry uncertainty into downstream decision or cost-effectiveness models.
  • Informative priors can borrow information from historical data, which may improve precision when the dataset is small or sparse.
  • When all cause-specific hazards are modelled jointly over one risk set and the overall survival is computed from all causes, the cause-specific CIFs add up to the overall event probability. Separately fitted cause-specific models do not guarantee this, so check by summing the CIFs.
  • The baseline hazard can be specified flexibly, for example as piecewise exponential, Weibull, or non-parametric via Dirichlet process priors.

Applications

  • Estimating the probability of cancer-specific death versus death from other causes in oncology registry studies.
  • Analysing time to graft failure versus patient death in transplant medicine, where death precludes graft failure.
  • Incorporating prior clinical trial data into Bayesian competing risks models for rare-disease drug evaluation with small sample sizes.
  • Decision-analytic health economic modelling requiring full posterior distributions of transition probabilities for multi-state simulation models.
  • Cardiovascular epidemiology studies distinguishing cardiovascular death from non-cardiovascular death when evaluating preventive interventions.

How it works

How it works

1

Prior distributions are placed on all model parameters: baseline hazard shapes, regression coefficients for each cause, and any hyperparameters. When no prior knowledge exists, priors can be non-informative, for example diffuse normal priors on log hazard ratios. When historical trial data or expert elicitation give credible guidance, weakly or strongly informative priors can be used instead.

2

For each competing event k, a cause-specific hazard model is written in which the hazard at time t is a baseline hazard multiplied by the exponential of a linear predictor in the covariates. The formula above shows a single baseline term without a cause index; in practice the baseline assumed for each cause should be stated explicitly, because the choice affects interpretation. A subdistribution hazard (Fine–Gray type) can alternatively be parameterised within a Bayesian framework to model the cumulative incidence function directly.

Formula
\lambda_k(t) = \lambda_{0k}(t)\exp(\mathbf{x}^\top\boldsymbol{\beta}_k)
3

The likelihood combines the observed event times, event causes and censoring information for all subjects. The posterior, proportional to the likelihood multiplied by the priors, is usually approximated by Markov chain Monte Carlo (MCMC) sampling, for example with a Gibbs sampler or Hamiltonian Monte Carlo in Stan. This gives a joint posterior over all cause-specific parameters.

Formula
p(\boldsymbol{\theta}|\mathbf{D}) \propto L(\mathbf{D}|\boldsymbol{\theta})\,p(\boldsymbol{\theta})
4

Cause-specific cumulative incidence functions are computed from the posterior samples. The CIF for cause k at time t integrates the cause-specific hazard weighted by the overall event-free survival, so competing events that remove subjects from risk are accounted for. Posterior means and credible intervals for CIF differences between covariate groups are the main inferential targets.

Formula
F_k(t) = \int_0^t \lambda_k(u)\,S(u)\,du,\quad S(u)=\exp\!\Big(-\sum_{j}\Lambda_j(u)\Big)
5

Posterior summaries are reported for each competing event: means or medians, 95% credible intervals, and cause-specific hazard ratios. Model fit can be checked with posterior predictive checks, the Watanabe–Akaike information criterion (WAIC), or leave-one-out cross-validation. Sensitivity to the prior is assessed through prior-sensitivity analyses.

Common pitfalls

  • Treating competing events as censored observations is the most common error. In a cause-specific analysis, censoring competing events inflates the apparent cumulative incidence and must be avoided.
  • Reporting only cause-specific hazard ratios without presenting cumulative incidence functions can be misleading. Hazard ratios may point in the opposite direction from the CIF when the competing-event distribution differs between covariate groups.
  • Choosing vague priors by default without checking prior-predictive plausibility can be harmful. Uninformative priors on hazard parameters can imply implausible event timings, so simulate from the prior to verify them.
  • Ignoring MCMC convergence produces unreliable posterior summaries. Thresholds for R-hat and effective sample size vary between sources, and stricter values are increasingly recommended, so use a conservative criterion. Also check trace plots and, for Hamiltonian Monte Carlo, divergent transitions. Do not report results from chains that have not clearly converged.
  • Confusing the subdistribution hazard interpretation (Fine–Gray type) with the cause-specific hazard interpretation leads to errors. They answer different questions and should not be conflated when reporting covariate effects.

Frequently asked questions

What is the difference between cause-specific hazard and subdistribution hazard in this context?

The cause-specific hazard for event k is the instantaneous rate of event k among those still event-free. The subdistribution hazard (Fine–Gray) for event k is defined over a risk set that retains subjects who have already experienced a competing event. Both can be parameterised in a Bayesian framework, but they answer different questions: cause-specific hazards describe the biological or mechanistic rate, while subdistribution hazards directly predict cumulative incidence and are preferred for prognosis. Bayesian competing risks analysis can implement either or both.

Why not simply censor competing events and use a standard Bayesian survival model?

Censoring competing events treats them as uninformative, which is usually not true. A patient who dies from another cause is systematically different from one who is administratively censored. This inflates the cause-specific cumulative incidence and produces biased predictions. Competing risks analysis avoids this by explicitly modelling all failure types simultaneously.

How do I choose priors for the regression coefficients?

A common starting point is weakly informative priors on log hazard ratios, such as Normal(0, 1) on the log scale, which shrink implausibly large effects toward zero. When historical evidence is available, for instance from a meta-analysis reporting a log hazard ratio and its standard error, a normal prior centred on that estimate is appropriate. Always perform a prior sensitivity analysis by repeating the analysis with both more and less informative priors to assess how much the posterior depends on the prior choice.

Which software packages support Bayesian competing risks models?

Stan, through RStan or CmdStanR, allows full custom specification of a competing risks model. JAGS and BUGS can also be used with user-written model code. General-purpose regression packages such as rstanarm and brms may not cover competing risks directly. Dedicated competing-risks packages should be checked for Bayesian support and for the model type needed before use. For a piecewise exponential competing risks model, writing the model directly in Stan or JAGS is usually the most transparent route.

Is Bayesian competing risks analysis suitable for randomised clinical trials?

Yes, and it is increasingly used in small or adaptive trials where frequentist power is limited. In a randomised setting the Bayesian approach allows incorporation of prior data from earlier phases, direct probability statements such as the probability that treatment reduces cause-specific incidence by more than a clinically meaningful threshold, and updating as interim data accumulate. The causal interpretation of hazard ratios requires the same assumptions as in frequentist analysis.

Related methods

Sources

  1. Larson, M. G., & Dinse, G. E. (1985). A mixture model for the regression analysis of competing risks data. Applied Statistics, 34(3), 201–211.

    Open DOI reference
  2. Crowder, M. J. (2001). Classical Competing Risks. Chapman and Hall/CRC.

    ISBN: 9781584881759