Nelson-Aalen step of each cumulative cause-specific hazard

Adds the share of the risk set having each cause at time s to the running total for that cause, the Nelson-Aalen estimator applied to cause-specific hazards, an increment the Breslow baseline step of a Cox model also has at a coefficient of 0 (derived). A patient with the competing event leaves the risk set as if censored, a treatment Andersen and colleagues accept for cause-specific hazards. The two running totals add up to the cumulative hazard of any event. The slope of the curve estimates the hazard, the input a state-transition model needs, and a straight line over time is what the constant hazards of HE-FM-TP-004 would produce (derived). A running total is not a probability, and once competing events exist 1 minus exp of minus H_1 does not convert it to one (HE-AS-CUMH-001).

Signature

H_1 = H_1_prev + d_1 / n; H_2 = H_2_prev + d_2 / n; H_all = H_1 + H_2
Inputs
InputsDefinitionUnit
H_1_prevValue of H_1 just before time s; 0 before the first eventcumulative hazard, no unit
d_1Number of patients whose first event at time s is cause 1patients
nNumber of patients free of both events and uncensored just before time spatients
H_2_prevValue of H_2 just before time s; 0 before the first eventcumulative hazard, no unit
d_2Number of patients whose first event at time s is cause 2patients
Output
H_1Nelson-Aalen estimate of the cumulative cause-specific hazard of cause 1 just after time scumulative hazard, no unit
H_2Nelson-Aalen estimate of the cumulative cause-specific hazard of cause 2 just after time scumulative hazard, no unit
H_allSum of the two cumulative cause-specific hazards just after time scumulative hazard, no unit

Function

Cause-specific cumulative incidence and subdistribution hazard from competing event records

Takes records of the time to each patient's first event, with the event type or a censoring flag, and returns event-free survival S(t), the cumulative incidence F_1(t) and F_2(t) of each cause, the cumulative cause-specific hazards H_1(t) and H_2(t) and the subdistribution hazard lambda_1(t). The constant-hazard closed form of the cumulative incidence is live as HE-FM-TP-004 with Delta read as t, and its k-exit form adds only more terms, so neither is restated. The survival part of each step takes the form of the Kaplan-Meier step HE-FM-ADMC-002 with all causes counted as events, and the error of one minus Kaplan-Meier for one cause is HE-ER-AR-002. For two groups, HE-FM-COMR-004 carries the factor in HE-FM-COMR-003 to the subdistribution relative hazard sdRH(t). Notation follows the Competing Risks article.

Try this function

Implementations

  • Excel

    Cause-specific Nelson-Aalen step from named cells

    With the running totals in PrevCumHazEvent and PrevCumHazCompeting and the counts in EventsOfInterest, CompetingEvents and AtRisk, the formulas return CumHazEvent, CumHazCompeting and CumHazAll. AtRisk of 0 returns #DIV/0!.

    =PrevCumHazEvent+EventsOfInterest/AtRisk; =PrevCumHazCompeting+CompetingEvents/AtRisk; =CumHazEvent+CumHazCompeting

Assumptions

  • Competing events censored for rates only

    Andersen and colleagues state that the Nelson-Aalen estimator may be applied to cause-specific hazards by censoring patients failing from competing causes. That covers the rate only. A risk needs HE-FM-COMR-001, and the same censoring applied to a risk is HE-ER-AR-002.

  • Independent censoring for the cumulative hazard estimate

    Andersen and colleagues give the Nelson-Aalen estimator under independent censoring, so a patient censored at time s is representative of those still at risk at s.

Worked examples

  • Cumulative hazards at time 7 in the twelve-patient table

    Table 1 of Andersen and colleagues. One cause 1 event among 10 at risk adds 0.1 to the 1/12 already accumulated, giving the printed 0.183 for both the cause and the total.

    H_1_prev = 0.083333; H_2_prev = 0; d_1 = 1; d_2 = 0; n = 10; H_1 = 0.183333; H_2 = 0; H_all = 0.183333
  • Cumulative hazards at time 8 in the twelve-patient table

    The cause 2 event among 9 at risk adds 1/9 to the competing total, giving the printed 0.111 and a total of the printed 0.294.

    H_1_prev = 0.183333; H_2_prev = 0; d_1 = 0; d_2 = 1; n = 9; H_1 = 0.183333; H_2 = 0.111111; H_all = 0.294444
  • Cumulative hazards at the last event time in the twelve-patient table

    The one patient left at risk has cause 2 at time 23, adding 1 to the competing total. The printed values are 0.600, 1.311 and 1.911. A cumulative hazard above 1 is possible because it is not a probability.

    H_1_prev = 0.6; H_2_prev = 0.311111; d_1 = 0; d_2 = 1; n = 1; H_1 = 0.6; H_2 = 1.311111; H_all = 1.911111

Common errors

  • Keeping patients with a competing event in the cause-specific risk set

    Leaving patients who have had cause 2 in n changes the quantity from a cause-specific hazard towards a subdistribution one. In the twelve-patient table it gives H_1 of 0.493 at the last time against the printed 0.600 (derived from the table), so a state-transition model fed the smaller rate understates exits to cause 1.

  • Reading one minus exp of minus H_1 as the risk of cause 1

    HE-AS-CUMH-001 limits this conversion to one event type. In the twelve-patient table 1 minus exp(-0.600) gives 0.451 against the correct cumulative incidence of 0.419 (derived from the table), because the conversion ignores the competing cause.

Sources

  • Andersen and colleagues on the Nelson-Aalen estimator for cause-specific hazards

    Andersen PK, Geskus RB, de Witte T, Putter H. Competing risks in epidemiology: possibilities and pitfalls. International Journal of Epidemiology. 2012;41(3):861-870. Section Survival analysis gives the Nelson-Aalen estimator as a sum with a term for each failure time and says the slope of the curve estimates the hazard. Table 1 prints the cumulative hazard for all events and for each cause. Section Risk and rate models for competing risks states that the estimator may be applied to cause-specific hazards by censoring individuals failing from competing causes.

    View source →

Canonical Identity

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This formula is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/formula/nelson-aalen-step-of-each-cumulative-cause-specific-hazard

Nelson-Aalen step of each cumulative cause-specific hazard | HealthEconomics.wiki