How this calculation works
Fit a proportional subdistribution hazards model for a selected competing cause with covariates and a covariate-specific cumulative incidence curve. Pooled censoring Kaplan–Meier weights and Breslow target-event ties are explicit.
wᵢ(t)=1 if Tᵢ≥t; otherwise G(t−)/G(Tᵢ−) for a prior competing event; λ*(t|x)=λ*₀(t)exp(xβ); CIF=1−exp[−H*₀(t)exp(xβ)].A worked example
The 60 frozen subjects yield a target-cause coefficient -0.683690 and subdistribution hazard ratio 0.504751; incidence is shown for predictor one.
Good to know
15–200 subjects; 1–3 predictors without intercept; target cause 1–3; pooled independent censoring; right-censored first events only. Breslow ties, finite local pseudo-likelihood checks. No covariance, confidence intervals, censoring strata, left truncation or time-varying effects.
Reference: cmprsk crr reference (opens in a new tab) ↗
Keep the competing event in the question
A competing event prevents the first event of interest from occurring later under the study definition. For example, two mutually exclusive failure types require a model that acknowledges which type happened first. Coding the other type as ordinary censoring changes the probability being modeled.
This calculator fits a proportional subdistribution hazards model for one selected cause. It returns covariate coefficients, exponentiated subdistribution hazard ratios and an estimated incidence curve. These describe the specified observational model and do not establish that changing a predictor causes a change in event incidence.
Compare this with the Aalen Johansen competing risks cumulative incidence calculator. Fit subdistribution hazard ratios and covariate-specific incidence; existing nonparametric incidence pages do not fit covariates.
Enter one aligned record per subject
Times must be positive and share one origin and unit. Status zero denotes right censoring; positive integer codes distinguish observed causes. Each predictor row belongs to the subject at the corresponding position in the time and status lists. The prediction profile contains one value per predictor.
Do not add an intercept column. An intercept is absorbed into the baseline subdistribution hazard and cannot be separately identified by this estimating equation. Centering continuous predictors makes the baseline profile easier to interpret, while sensible scaling reduces numerical instability without changing the underlying model.
Understand the weighted risk set
A subject who has experienced another cause remains in the subdistribution risk set, with a weight that changes over follow-up. The calculation estimates censoring survival using a pooled Kaplan–Meier curve and uses ratios of its left limits to reweight those retained observations.
This pooled convention requires the same appropriate censoring distribution across the submitted cohort. If censoring depends on an omitted grouping variable, separate censoring strata or a more suitable weighting model may be needed. This page does not silently estimate those additional structures from the supplied predictors.
Read the example as a fitted association
The prefilled example has sixty subjects, one predictor and both target and competing events. The profile value one asks for the incidence associated with that covariate setting. Compare its displayed curve with the baseline setting zero rather than interpreting the coefficient as a direct probability difference.
A subdistribution hazard ratio above one corresponds to an increased modeled incidence when other predictors are fixed. Its numerical value does not multiply cumulative incidence. The incidence transformation uses one minus the exponential of the negative cumulative baseline subhazard multiplied by the exponential covariate score.
Ties and the baseline have explicit conventions
Target events sharing a recorded time use the Breslow convention and a common weighted risk set. Censoring survival is evaluated immediately before that time. Rounded measurements can therefore affect the approximation, especially when many target events occur at only a few distinct times.
The estimated baseline increases only at observed target-event times. Its displayed flat pieces are part of a step estimate, not evidence that the real process has no intervening risk. Prediction beyond the observed target-event range would require an additional extrapolation model that this calculation does not provide.
A finite fit needs information
The likelihood search checks finite predictors, the final score and the curvature of the fitted objective. Duplicate columns, an unnecessary constant column or separation can prevent a reliable finite solution. In those cases the calculator returns an input or convergence error rather than a large arbitrary coefficient.
The page intentionally does not report confidence intervals from the objective Hessian. That shortcut would omit uncertainty from estimating the censoring weights. Reliable Fine–Gray covariance requires the appropriate influence calculation or a carefully designed independent-subject resampling procedure, neither of which is claimed by this bounded implementation.
Use incidence alongside study design
Independent subjects, correctly recorded causes and adequate follow-up remain substantive assumptions. Repeated records from the same person would need a clustered method; delayed entry and time-varying predictors require different risk-set construction. A successful optimization cannot verify any of those design requirements for the supplied data.
When comparing software, match the target cause, censoring distribution, tie handling and predictor coding before comparing coefficients. Preserve the original time unit and event definitions with the result. Comparing a cause-specific Cox hazard ratio with a subdistribution hazard ratio compares different estimands even when the same subjects are analyzed.
A few questions, answered
Why keep competing events in a risk set?
The subdistribution risk set targets cumulative incidence for one cause; prior competing events receive censoring-dependent weights.
Is this a cause-specific Cox model?
No. A cause-specific hazard and a subdistribution hazard are different estimands.
Where are the standard errors?
They are intentionally omitted because the naive likelihood Hessian does not include censor-weight estimation uncertainty.
Can I include an intercept?
No. It is absorbed into the baseline subdistribution hazard.