Algorithmadvanced
Aalen-Johansen estimator
Also called cumulative incidence function estimator.
Estimates the transition probabilities of a finite-state Markov process under censoring, and so the cumulative incidence of each cause with competing risks.
- Time
- Θ(n log n + m K) worst
- Space
- Θ(n + m K) extra
- Where
- K = the number of causes; m = the number of distinct event times; n = the number of subjects
- Model
- Real RAM
- Properties
- deterministicexactofflineiterative
- Evidence
- Proof sketchCode in 1 languages
- Origin
- Odd O. Aalen, Søren Johansen, 1978
The Aalen-Johansen estimator estimates the probabilities of a process that moves between a finite set of states, from data in which subjects are censored. Its most common use is competing risks: from the time to the first event and its cause, it estimates the cumulative incidence of each cause as
where are the distinct event times, the number at risk at , the number of events of cause at and the all-cause Kaplan-Meier estimate. With one cause it is one minus Kaplan-Meier. The estimates of the causes and add up to exactly. In general, it is the product over event times of , where is the matrix of Nelson-Aalen increments of the transitions.
In plain words
Follow a group of patients in time. At each time when someone has an event, look at the patients still free of any event. A fraction of them has an event of cause 1, a fraction has cause 2, and so on. The chance of having a cause 1 event at that moment, for a patient at the start, is the chance of still being event-free just before, times the fraction with cause 1. Add these chances over time to get the cumulative incidence of cause 1. A patient who had an event of cause 2 does not stay in the pool, so it cannot later count as a cause 1 event. This is the difference from one minus Kaplan-Meier with cause 2 treated as censored, which pretends that such a patient could still have cause 1.
The problem
Input. Observations for , where is the observed time and if subject had an event of cause at , or if it was censored at .
Model. The pairs (time to the first event, cause) are independent across subjects, and censoring is independent: among the subjects still at risk at , the cause-specific hazards are those of the whole population. No form is assumed for the hazards.
Output. For each distinct event time (of any cause), the number at risk , the counts , the all-cause survival and the cumulative incidences . The estimates are right-continuous step functions, and before .
Ties. A censored time equal to an event time counts as at risk at that time, as for Kaplan-Meier. Events of different causes at the same time all use , the survival just before .
The algorithm
AALEN-JOHANSEN(y[1..n], c[1..n], K)- 1
sort the indices 1..n by increasing y - 2
S ← 1; F[1..K] ← 0; r ← n; out ← empty list - 3
for each distinct time t in that order - 4
count d[k] ← #{i : y_i = t, c_i = k} for each k, and leave ← #{i : y_i = t} - 5
if d[1] + ... + d[K] > 0 - 6
F[k] ← F[k] + S · d[k] / r for each k ▷ uses S before the update - 7
S ← S · (1 - (d[1] + ... + d[K]) / r); append (t, r, d, S, F) to out - 8
r ← r - leave
Line L1 is the only sort. The variable is the size of the risk set: it starts at , and line L8 removes the subjects with time only after the time is processed, so a subject censored at counts at . Line L6 must come before line L7, because the increment of uses the survival just before . The reference code works in Fractions, so its output is exact for exact input. It also has the general form for a multi-state model, described under the variants.
Example
Six subjects. Times with causes .
| leave | |||||||
|---|---|---|---|---|---|---|---|
| 1 | 6 | 1 | 0 | 1 | 0 | ||
| 2 | 5 | 0 | 1 | 2 | |||
| 3 | 3 | 1 | 0 | 1 | |||
| 4 | 2 | 0 | 0 | 1 | no row | ||
| 5 | 1 | 0 | 1 | 1 |
At every row . At the censored subject is in the risk set of 5, and only then does fall by 2. Treating cause 2 as censoring gives , larger than . The competing risks page shows the naive values next to these.
An illness-death model. States 0 (healthy), 1 (ill) and 2 (dead). Four subjects start healthy. Subject A becomes ill at time 1 and dies at 3. Subject B dies at 2 without illness. Subject C becomes ill at 2 and is censored at 4. Subject D is censored healthy at 2.5. The first row of the product is the estimate of at time for a subject healthy at 0:
| transitions (at risk) | row 0 of | row 1 | ||
|---|---|---|---|---|
| 1 | 0 to 1: one of 4 | |||
| 2 | 0 to 1 and 0 to 2: one each of 3 | |||
| 3 | 1 to 2: one of 2 |
The probability of being ill at time 3 is . It cannot be read from any single Kaplan-Meier curve.
A simulation. The tests draw 2000 subjects with cause-specific hazards and and an independent censoring rate , so . At and both estimates lie within 4 standard errors of the truth. This is a measurement for one seed, not a proof of consistency.
Correctness
The proof in proofs/correctness.md shows six things. First, the pass of lines L3 to L8 keeps at the start of each time, so every row is . Second, with one cause . Third, for every . Fourth, , where is Kaplan-Meier with the other causes censored. Fifth, without censoring is the fraction of subjects with an event of cause by . Sixth, for the general product integral every row of sums to with entries in , the competing risks case gives lines L6 and L7, and without censoring is the fraction of subjects in state at . The consistency and the limit law are cited, not proved.
Proof: The pass computes the cumulative incidences, which reduce to one minus Kaplan-Meier for one cause, add up with the survival to one, lie below one minus the cause-specific Kaplan-Meier, and equal the empirical proportions without censoringfull
Let the data be , , with for a censored subject and for an event of cause at . Let be the distinct event times of any cause, , the number of events of cause at and . The estimates are
with . Here , the value just before , because only jumps at event times.
Claim 1 (the pass computes the sums). Every row that the pass appends is , one row for each , in order.
Proof. After the sort of line L1, the inner loop of line L4 reads exactly the subjects at the current distinct time and counts the events of each cause. Invariant: at the start of the group at , the variable at_risk is , and and hold and just before . It holds at the first group, with subjects at risk, and . If , line L6 adds to each while still holds , and line L7 then multiplies by . Line L8 removes all the subjects at , events and censored alike, so at_risk becomes the count at the next distinct time.
The order of lines L6 and L7 matters: if were updated first, the increment would use and the sum of Claim 3 would fail.
Claim 2 (one cause). If , then , where is the Kaplan-Meier estimator of the event time.
Proof. With one cause, , and the increment of at is . The sum telescopes to .
Claim 3 (the sum is one). For every , .
Proof. Add the increments over . The increment of at is , as in Claim 2, so .
Claim 4 (one minus the cause-specific Kaplan-Meier overstates). Let be the Kaplan-Meier estimator computed with the events of the other causes treated as censored. Then for every .
Proof. A subject with an event of another cause at is censored at in , and a censored subject is at risk at its own time and leaves after it. So the risk set of at is the same set , with members, and . Each factor is at least , so for every . As in Claim 2, has the increment at , and has the increment , which is not larger. Add the increments.
The inequality is strict at as soon as an event of another cause comes before an event of cause in while is still positive. With the hand example of the page, and .
The same inequality holds in the population. With cause-specific hazards , and , we have and , and .
Claim 5 (no censoring). If no subject is censored, then and .
Proof. Without censoring, every subject that leaves the risk set before has an event, so , and because the product telescopes (). The increment of at is . Add the increments.
Claim 6 (the product integral). Let , with for and , where counts the transitions from to at and counts the subjects in state just before that are under observation at . Then:
- every row of sums to and every entry is in ;
- for the competing risks data (state alive, state dead of cause ), and ;
- if every subject starts in state and is followed until it reaches an absorbing state, is the proportion of subjects in state at time .
Proof. (1) Each row of sums to , so each row of sums to . The off-diagonal entries are at least , and the diagonal entry is at least because the subjects that leave at are among the subjects in just before . A product of matrices with entries at least and row sums has the same two properties, and then each entry is at most its row sum .
(2) For competing risks, and , and the states are absorbing, so their rows of are rows of . Row of is . Row of the product obeys and , which are lines L7 and L6.
(3) Let be the proportion of subjects in state at , and the number of subjects in just before , so that . Assume for every , which holds before the first transition. Row of is
A state with transitions out of it is not absorbing, and without censoring every subject in a state that is not absorbing is still under observation, so and . So , which is the number of subjects in just after divided by . Induction over the transition times completes the proof.
What is not proved here. Under independent censoring, and are uniformly consistent, and times the error converges to a Gaussian process (Aalen and Johansen 1978; Andersen, Borgan, Gill and Keiding 1993). We cite these results. The tests of the page check them only by simulation at a few time points.
Cost. One sort, , and one pass with work at each of the event times, in total. The general product integral costs to sort the transitions and for each pair that has a transition at , because only the columns and of change.
Complexity
The sort in line L1 costs . The pass visits each subject once and does work at each of the event times, so it costs . The output holds rows of numbers, space. In exact arithmetic the denominators of divide , so the numbers grow, as for Kaplan-Meier. In floating point there is no cancellation: every increment is a product of nonnegative numbers.
The general product integral for a process with states costs to sort the transitions and censorings. Multiplying by changes only the columns and of for each pair with a move at , so each such pair costs for the whole matrix, as in the reference code.
Properties
- Reduces to Kaplan-Meier. With , .
- Additivity. , and is the Aalen-Johansen estimate for the merged cause .
- Bounded by the naive estimate. , with equality at only if no other cause has an event before while cause still has events.
- Plug-in form. , where is the Nelson-Aalen estimate of the cause-specific cumulative hazard. It is the population formula of the competing risks page with each part estimated.
- Inverse probability of censoring weights. , where is the Kaplan-Meier estimate of the censoring distribution with the events counted first at tied times. It follows from the identity , which the Fine-Gray page proves: the increment equals .
- Large samples. Under independent censoring, converges on to a Gaussian process (Aalen and Johansen 1978; Andersen et al. 1993, Chapter IV). We cite this and do not prove it. A Greenwood-type formula or the delta method gives the variance.
Variants and improvements
- Multi-state models. For a Markov process with states , let count the moves from to at and the subjects in just before and under observation. With for and the diagonal chosen so each row sums to , the estimate of the transition matrix is , a product integral, the discrete analogue of the matrix exponential of the cumulative intensity. Competing risks is the case with one transient state and absorbing ones.
- Delayed entry. Subjects that enter at are at risk only for . The pass then needs entries and exits in time order.
- Non-Markov processes. If the process is not Markov, from a start at time 0 is still consistent for the state occupation probabilities under independent censoring (Datta and Satten 2001). Transition probabilities from later times need other estimators.
- Covariates. The Fine-Gray model regresses on covariates directly. Cause-specific Cox models, combined through the plug-in formula, give a second route.
- Comparing groups. Gray's test compares the cumulative incidence of one cause between groups.
When to use it
Use it whenever an event of interest can be prevented by other events: to report the risk of relapse when patients can die in remission, the risk of cancer death in elderly cohorts, or the probability of being in each state of a disease process. Do not report one minus Kaplan-Meier with the competing events censored as a risk. Report the curves of all causes, or at least of the main competing cause, so the reader can see why one cause looks rare.
Pitfalls
- Censoring the competing events. It gives , which overstates the risk, and the curves of several causes can add up to more than .
- Order of the updates. Updating before the increment of uses the wrong survival, and the sum of the estimates is then less than .
- Ties with censoring. Count a censored subject at in the risk set at .
- Dependent censoring. If the censoring depends on the risk of an event, the estimate is biased, as Kaplan-Meier is. Censoring weights that depend on covariates, as in inverse probability weighting, can correct this when the dependence is through measured covariates.
- Cause-specific hazards are not risks. The cumulative incidence depends on all the causes. A treatment that lowers the hazard of death from other causes raises the cumulative incidence of cancer death, even with no effect on the cancer hazard.
- The tail. With few subjects at risk at the end, each event moves the estimates by a large step.
Implementations
Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/aalen-johansen-estimator/. The authors are listed in prov/ZVA82Z.jsonl.
"""Aalen-Johansen estimator: cumulative incidence functions and multistate transition matrices.
Competing risks input: times[i] = y_i and causes[i] = 0 if subject i is
censored at y_i, or k in 1..K if the subject has an event of cause k at y_i.
A censored time tied with an event time counts as at risk at that time.
All the arithmetic is done in Fractions, so every output is exact for exact
input times; convert with float() for display.
"""
from collections.abc import Sequence
from fractions import Fraction
from typing import NamedTuple
class Row(NamedTuple):
time: float # t_j, a distinct event time (of any cause)
at_risk: int # n_j
events: tuple # (d_1j, ..., d_Kj)
surv: Fraction # S-hat(t_j), the all-cause Kaplan-Meier estimate
cif: tuple # (F_1-hat(t_j), ..., F_K-hat(t_j))
def cumulative_incidence(times: Sequence, causes: Sequence[int], n_causes: int | None = None) -> list[Row]:
"""F_k-hat(t) = sum over t_j <= t of S-hat(t_j-) d_kj / n_j, for every cause k.
One sort, O(n log n), then one pass that costs O(K) per distinct event time.
"""
n = len(times)
if n == 0 or len(causes) != n:
raise ValueError("times and causes must have the same positive length")
if any(not isinstance(c, int) or c < 0 for c in causes):
raise ValueError("causes must be integers >= 0 (0 = censored)")
K = max(causes) if n_causes is None else n_causes
if max(causes) > K:
raise ValueError("a cause is larger than n_causes")
order = sorted(range(n), key=lambda i: times[i]) # @line L1
S, F, at_risk, out, i = Fraction(1), [Fraction(0)] * K, n, [], 0 # @line L2
while i < n: # @line L3
t, d, leave = times[order[i]], [0] * K, 0
while i < n and times[order[i]] == t: # @line L4
c = causes[order[i]]
if c:
d[c - 1] += 1
leave += 1
i += 1
total = sum(d)
if total: # @line L5
F = [F[k] + S * Fraction(d[k], at_risk) for k in range(K)] # @line L6
S = S * Fraction(at_risk - total, at_risk) # @line L7
out.append(Row(t, at_risk, tuple(d), S, tuple(F)))
at_risk -= leave # @line L8
return out
def evaluate(rows: list[Row], t: float, k: int | None = None):
"""F_k-hat(t) for cause k (1-based), or S-hat(t) when k is None; step function, right-continuous."""
value = Fraction(1) if k is None else Fraction(0)
for r in rows:
if r.time > t:
break
value = r.surv if k is None else r.cif[k - 1]
return value
def kaplan_meier(times: Sequence, events: Sequence[int]) -> list[tuple]:
"""Plain Kaplan-Meier (time, S-hat) at each event time, for comparisons."""
out, S = [], Fraction(1)
for t in sorted(set(y for y, e in zip(times, events) if e)):
n_j = sum(1 for y in times if y >= t)
d_j = sum(1 for y, e in zip(times, events) if e and y == t)
S *= Fraction(n_j - d_j, n_j)
out.append((t, S))
return out
class Subject(NamedTuple):
start: int # state at time 0
moves: tuple # ((time, new_state), ...) in increasing time
end: float # end of follow-up, at least the last move time
def transition_matrices(subjects: Sequence[Subject], n_states: int) -> list[tuple]:
"""Aalen-Johansen product integral P-hat(0, t) = prod over t_j <= t of (I + dA-hat(t_j)).
dA-hat_gh(t_j) = N_gh(t_j) / Y_g(t_j) for g != h, and each row of dA-hat sums
to 0. Y_g(t_j) counts the subjects in state g just before t_j that are under
observation at t_j. Returns a list of (t_j, P-hat(0, t_j)), the matrix as a
list of rows of Fractions. Cost: O(n log n + m s^2) for m distinct
transition times and s states.
"""
s = n_states
events = []
for idx, sub in enumerate(subjects):
last = 0
for t, h in sub.moves:
if t < last or t > sub.end or not 0 <= h < s:
raise ValueError("moves must be in time order, inside follow-up and to a valid state")
last = t
events.append((t, 0, idx, h))
events.append((sub.end, 1, idx, None))
events.sort(key=lambda e: (e[0], e[1]))
state = [sub.start for sub in subjects]
Y = [0] * s
for g in state:
Y[g] += 1
P = [[Fraction(int(a == b)) for b in range(s)] for a in range(s)]
out, i = [], 0
while i < len(events):
t = events[i][0]
N = {}
j = i
while j < len(events) and events[j][0] == t and events[j][1] == 0:
_, _, idx, h = events[j]
g = state[idx]
if h != g:
N[(g, h)] = N.get((g, h), 0) + 1
j += 1
if N:
# P <- P (I + dA): copy the old columns of the source states first.
old = {g: [P[a][g] for a in range(s)] for g, _ in N}
for (g, h), c in N.items():
rate = Fraction(c, Y[g])
for a in range(s):
P[a][h] += old[g][a] * rate
P[a][g] -= old[g][a] * rate
out.append((t, [row[:] for row in P]))
for e in events[i:j]:
_, _, idx, h = e
Y[state[idx]] -= 1
Y[h] += 1
state[idx] = h
while j < len(events) and events[j][0] == t:
Y[state[events[j][2]]] -= 1
j += 1
i = j
return out
def competing_risks_subjects(times: Sequence, causes: Sequence[int]) -> list[Subject]:
"""The competing risks data as a multistate model: state 0 alive, state k for death of cause k."""
return [Subject(0, ((y, c),) if c else (), y) for y, c in zip(times, causes)]
test_aalen_johansen_estimator.py 174 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/aalen-johansen-estimator/. The authors are listed in prov/ZVA82Z.jsonl.
import math
import random
from fractions import Fraction
from aalen_johansen_estimator import (
Subject, competing_risks_subjects, cumulative_incidence, evaluate, kaplan_meier, transition_matrices,
)
def random_data(rng, n, K, censor=0.3, ties=True):
times = [rng.randint(1, 9) if ties else rng.random() for _ in range(n)]
causes = [0 if rng.random() < censor else rng.randint(1, K) for _ in range(n)]
return times, causes
def grid(times):
return sorted(set(times)) + [min(times) - 1, max(times) + 1]
def test_one_cause_is_one_minus_kaplan_meier() -> None:
rng = random.Random(1)
for _ in range(50):
times, causes = random_data(rng, rng.randint(1, 15), 1)
rows = cumulative_incidence(times, causes, 1)
km = kaplan_meier(times, causes)
assert [r.time for r in rows] == [t for t, _ in km]
for r, (_, S) in zip(rows, km):
assert r.cif[0] == 1 - S
assert r.surv == S
def test_incidences_and_survival_sum_to_one() -> None:
rng = random.Random(2)
for _ in range(50):
K = rng.randint(1, 4)
times, causes = random_data(rng, rng.randint(1, 20), K)
rows = cumulative_incidence(times, causes, K)
for t in grid(times):
assert evaluate(rows, t) + sum(evaluate(rows, t, k) for k in range(1, K + 1)) == 1
def test_one_minus_cause_specific_km_overstates() -> None:
rng = random.Random(3)
strict = 0
for _ in range(50):
K = rng.randint(2, 3)
times, causes = random_data(rng, rng.randint(2, 20), K)
rows = cumulative_incidence(times, causes, K)
for k in range(1, K + 1):
km = kaplan_meier(times, [int(c == k) for c in causes])
for t in grid(times):
S_k = Fraction(1)
for u, s in km:
if u <= t:
S_k = s
F = evaluate(rows, t, k)
assert 1 - S_k >= F
strict += 1 - S_k > F
assert strict > 0
def test_no_censoring_gives_empirical_proportions() -> None:
rng = random.Random(4)
for _ in range(30):
K = rng.randint(1, 3)
n = rng.randint(1, 20)
times, causes = random_data(rng, n, K, censor=0.0)
rows = cumulative_incidence(times, causes, K)
for t in grid(times):
for k in range(1, K + 1):
assert evaluate(rows, t, k) == Fraction(sum(1 for y, c in zip(times, causes) if y <= t and c == k), n)
assert evaluate(rows, t) == Fraction(sum(1 for y in times if y > t), n)
def test_multistate_form_equals_cumulative_incidence() -> None:
rng = random.Random(5)
for _ in range(40):
K = rng.randint(1, 3)
times, causes = random_data(rng, rng.randint(1, 18), K)
rows = cumulative_incidence(times, causes, K)
mats = transition_matrices(competing_risks_subjects(times, causes), K + 1)
assert [t for t, _ in mats] == [r.time for r in rows]
for (t, P), r in zip(mats, rows):
assert P[0][0] == r.surv
assert tuple(P[0][1:]) == r.cif
def illness_death(rng, n, censor):
"""States 0 healthy, 1 ill, 2 dead; integer times so that ties occur."""
subs = []
for _ in range(n):
t, state, moves = 0, 0, []
while state != 2:
t += rng.randint(1, 4)
state = rng.choice([1, 2]) if state == 0 else 2
moves.append((t, state))
end = moves[-1][0]
if censor and rng.random() < censor:
end = rng.randint(0, end)
moves = [m for m in moves if m[0] <= end]
subs.append(Subject(0, tuple(moves), end))
return subs
def state_at(sub, t):
s = sub.start
for u, h in sub.moves:
if u <= t:
s = h
return s
def test_illness_death_without_censoring_is_empirical() -> None:
rng = random.Random(6)
for _ in range(20):
n = rng.randint(1, 15)
subs = illness_death(rng, n, 0.0)
for t, P in transition_matrices(subs, 3):
for h in range(3):
assert P[0][h] == Fraction(sum(1 for sub in subs if state_at(sub, t) == h), n)
def test_rows_sum_to_one_with_censoring() -> None:
rng = random.Random(7)
for _ in range(30):
subs = illness_death(rng, rng.randint(1, 20), 0.4)
for _, P in transition_matrices(subs, 3):
for row in P:
assert sum(row) == 1
assert P[2] == [0, 0, 1]
assert all(v >= 0 for row in P for v in row)
def test_exponential_competing_risks_by_simulation() -> None:
# Cause-specific hazards 1 and 0.5, censoring rate 0.3; F_1(t) = (2/3)(1 - e^(-1.5 t)).
rng = random.Random(8)
n = 2000
times, causes = [], []
for _ in range(n):
a, b, c = rng.expovariate(1.0), rng.expovariate(0.5), rng.expovariate(0.3)
y = min(a, b, c)
times.append(y)
causes.append(0 if y == c else (1 if y == a else 2))
rows = cumulative_incidence(times, causes, 2)
for t in [0.2, 0.5, 1.0, 2.0]:
F1 = (2 / 3) * (1 - math.exp(-1.5 * t))
F2 = (1 / 3) * (1 - math.exp(-1.5 * t))
se = math.sqrt(F1 * (1 - F1) / n) * 1.5
assert abs(float(evaluate(rows, t, 1)) - F1) < 4 * se
assert abs(float(evaluate(rows, t, 2)) - F2) < 4 * se
def test_hand_example_and_input_checks() -> None:
times = [1, 2, 2, 3, 4, 5]
causes = [1, 2, 0, 1, 0, 2]
rows = cumulative_incidence(times, causes)
assert [r.time for r in rows] == [1, 2, 3, 5]
assert [r.cif for r in rows] == [
(Fraction(1, 6), Fraction(0)),
(Fraction(1, 6), Fraction(1, 6)),
(Fraction(7, 18), Fraction(1, 6)),
(Fraction(7, 18), Fraction(11, 18)),
]
assert [r.surv for r in rows] == [Fraction(5, 6), Fraction(2, 3), Fraction(4, 9), Fraction(0)]
for bad in [([], []), ([1], [-1]), ([1, 2], [1])]:
try:
cumulative_incidence(*bad)
except ValueError:
pass
else:
raise AssertionError("bad input accepted")
History
Odd O. Aalen and Søren Johansen published the empirical transition matrix for non-homogeneous Markov chains with censored data in the Scandinavian Journal of Statistics in 1978, as a product integral of the Nelson-Aalen increments, with its martingale representation and its asymptotic behavior. For one transition it reduces to Kaplan-Meier. The cumulative incidence formula for competing risks was in use before, in the actuarial "crude probability" of death from a cause and in the work of Kalbfleisch and Prentice (1980). Gill and Johansen (1990) developed the theory of product integration that underlies the estimator, and Andersen, Borgan, Gill and Keiding (1993) collected the counting process proofs.
References
- Odd O. Aalen and Søren Johansen, An empirical transition matrix for non-homogeneous Markov chains based on censored observations, Scandinavian Journal of Statistics 5(3), 1978, pp. 141 to 150 (the product-integral estimator of the transition matrix, its martingale representation and its large-sample behavior)
- Per Kragh Andersen, Ørnulf Borgan, Richard D. Gill and Niels Keiding, Statistical Models Based on Counting Processes, Springer, 1993, Chapter IV (nonparametric estimation, including the product-limit estimator of a transition matrix and its weak convergence)
- H. Putter, M. Fiocco and R. B. Geskus, Tutorial in biostatistics, competing risks and multi-state models, Statistics in Medicine 26(11), 2007, pp. 2389 to 2430 (the cumulative incidence estimate, the bias of one minus Kaplan-Meier, and the Aalen-Johansen estimate in multi-state models)
- John D. Kalbfleisch and Ross L. Prentice, The Statistical Analysis of Failure Time Data, 2nd edition, Wiley, 2002, Chapter 8 (competing risks, the estimate of the cumulative incidence functions and multistate models)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H1 sketch |
|
| Lean | L0 no Lean part |
|
| Code (python) | I0 not checked yet |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag ZVA82Z Edit this page History Report an error Markdown