The chance of a first resolution by a horizon depends on both the resolution rate and every competing-exit rate along the preceding time path.
From cause-specific event rates to absolute risk
Distinguish conditional pace from cumulative chance
A cause-specific resolution hazard concerns cases that remain event-free at that moment. A cumulative-incidence probability concerns everyone in the starting cohort, including cases that already cancelled and can never resolve in that episode. Faster cancellation can reduce resolution incidence even if the resolution hazard among cases still open does not change. This is why a cause-specific hazard ratio cannot simply be read as a ratio of nine-day resolution probabilities. Hazard-ratio interpretation applies to the conditional rate.
Calculate a discrete path
The example uses two time bands. In each band, a case still event-free has mutually exclusive conditional probabilities of resolving, cancelling or staying open. First-band resolution and cancellation probabilities are 0.30 and 0.15, leaving 0.55 event-free. In the second band, 0.20 and 0.10 apply only to that remaining 0.55. Final resolution incidence is 0.41, not 0.30 plus 0.20. Cancellation incidence is 0.205 and the still-event-free share is 0.385.
Keep probabilities coherent
For every band, the cause-specific conditional probabilities must be nonnegative and sum to at most one. Across bands, each cumulative incidence must be nondecreasing, and the causes plus event-free share must add to one. A model that predicts 0.73 resolution and 0.48 cancellation by the same horizon violates the first-event probability budget. Reject or repair such output before showing it to operators. Observed cumulative incidence provides a cohort benchmark.
Know where the statistical model enters
These band probabilities are supplied inputs, not parameters estimated by the teaching code. One production route fits cause-specific models and combines their predicted hazards into cumulative incidence, with careful time discretization and baseline estimation. Another directly models the incidence target. A subdistribution-hazard coefficient is not the same as a cause-specific hazard coefficient; do not interchange them when explaining a result.
Connect risk to decisions
Staffing needs may depend on the expected number resolved, the cancelled share and the still-open backlog at day nine. Report all three on the same denominator. A policy that changes cancellation rules alters the target distribution, so a model trained before that change needs later-period validation. Temporal validation tests the transfer rather than assuming it.
Implementation
def first_event_probabilities(time_band_rates):
event_free = 1.0
resolved = cancelled = 0.0
path = []
for resolution_rate, cancellation_rate in time_band_rates:
if (resolution_rate < 0 or cancellation_rate < 0 or
resolution_rate + cancellation_rate > 1):
raise ValueError("invalid conditional event probabilities")
resolved += event_free * resolution_rate
cancelled += event_free * cancellation_rate
event_free *= 1 - resolution_rate - cancellation_rate
path.append((resolved, cancelled, event_free))
return path
two_band_forecast = first_event_probabilities([(.30, .15), (.20, .10)])
resolution_risk, cancellation_risk, open_risk = two_band_forecast[-1]
assert abs(resolution_risk - .41) < 1e-12
assert abs(cancellation_risk - .205) < 1e-12
assert abs(open_risk - .385) < 1e-12
assert abs(sum(two_band_forecast[-1]) - 1) < 1e-12Performance and operating cost
For B time bands and two causes, the path costs O(B) time and O(B) space; retaining only final probabilities reduces extra space to O(1). Fitting the conditional rates and carrying their uncertainty are separate statistical tasks.
Common Mistakes
- Do not add conditional probabilities from different bands without multiplying by the remaining event-free share.
- Do not call a cause-specific hazard ratio an absolute-risk ratio.
- Do not publish cause probabilities whose sum exceeds one.
