Signature
lambda_1 = h_1 / (1 + F_2 / S)
| Inputs | Definition | Unit |
|---|---|---|
h_1 | Cause-specific hazard of cause 1 at time t among patients free of both events | events per person per unit of time |
F_2 | Probability of having had cause 2 by time t | probability |
S | Probability of being free of both events at time t, above 0; called the net survival function by Lau and colleagues | probability |
lambda_1 | Subdistribution hazard of cause 1 at time t, with patients who have had cause 2 kept in the risk set | events per person per unit of time |
|---|
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
Subdistribution hazard from named cells
With the cause-specific hazard in HazardEvent, the competing cumulative incidence in CumIncCompeting and event-free survival in SurvAll, the formula returns SubdistHazard. SurvAll of 0 or blank returns #DIV/0!.
=HazardEvent/(1+CumIncCompeting/SurvAll)
Assumptions
All inputs read at the same time
h_1, F_2 and S all belong to the same time t and the same group, so lambda_1 is a value at t and not a summary over follow-up. The equation holds for hazards that change with time. Constant hazards are needed only to obtain F_2 and S from HE-FM-TP-004.
Patients remain event free at the time of the conversion
S must be above 0. At S of 0, as in the last row of the table of Andersen and colleagues, the Excel formula returns #DIV/0!, since no patient is left to have an event and h_1 itself has no value there.
Worked examples
Stroke hazard without the drug at 10 years in the article example
The article's illustrative cohort has a stroke hazard of 0.04 and an other-cause death hazard of 0.08 a year. At 10 years the article gives other-cause death 0.46587 and event free 0.30119, held here to six decimals. The subdistribution hazard is about 0.0157, well under half the cause-specific 0.04.
h_1 = 0.04; F_2 = 0.465871; S = 0.301194; lambda_1 = 0.015706
Stroke hazard with the drug at 10 years in the article example
The drug multiplies the stroke hazard by 0.75, giving 0.03, with other-cause death unchanged. HE-FM-TP-004 with a total hazard of 0.11 and Delta of 10 gives the inputs, to six decimals.
h_1 = 0.03; F_2 = 0.485185; S = 0.332871; lambda_1 = 0.012207
Discrete risk sets at time 3 in the Lau and colleagues schematic
Lau and colleagues start with 30 patients. At time 3 there are 3 events of cause 1, 26 patients are event free before that time, and 3 have had the competing event, so they print 3/26, or 0.12, for the cause-specific hazard and 3/29, or 0.103, for the subdistribution hazard. Reading h_1 as 3/26, S as 26/30 and F_2 as 3/30 in the formula returns 3/29 (the mapping is derived).
h_1 = 0.115385; F_2 = 0.1; S = 0.866667; lambda_1 = 0.1034
Limiting case with no competing event yet
Illustrative inputs at time zero of the article's cohort. With F_2 of 0 and S of 1 the risk sets coincide and the subdistribution hazard equals the cause-specific hazard.
h_1 = 0.04; F_2 = 0; S = 1; lambda_1 = 0.04
Common errors
Feeding the subdistribution hazard into a state-transition model as a rate
lambda_1 is not a rate among patients still in the state, since its risk set holds patients who have already left. In the article example at 10 years, feeding 0.0157 to HE-FM-TP-004 as the stroke hazard beside the other-cause hazard of 0.08 gives an annual stroke probability of 0.0150 against 0.0377 from the cause-specific hazard of 0.04, about 60% too low (derived).
Using one minus F_1 as the denominator in place of S
Dividing F_2 by 1 minus F_1 in place of S mixes the two risk sets. In the article example at 10 years it gives 0.0249 against the correct 0.0157 (derived).
Competing cumulative incidence taken from a single-cause formula
Taking F_2 as 1 minus exp(-h_2 t), the error of HE-ER-TP-005 in another form, gives 0.5507 in place of 0.4659 in the article example at 10 years and a subdistribution hazard of 0.0141 against the correct 0.0157 (derived).
Sources
Lau and colleagues on the subdistribution hazard and its relation to the cause-specific hazard
Lau B, Cole SR, Gange SJ. Competing risk regression models for epidemiologic data. American Journal of Epidemiology. 2009;170(2):244-256. Section The cause-specific hazard gives 3/26 from the schematic in Figure 1. Section The subdistribution hazard gives 3/29 from the schematic in Figure 2 and equation (3), lambda_j(t) as f_j*(t) over 1 minus F_j*(t). Appendix, section Relation between csRH and sdRH, equation (A1), gives h_1(t) = (1 + F_2*(t) / S(t)) lambda_1(t), credited there to Beyersmann and colleagues, with S(t) the net survival function of both events.
Austin and colleagues on the subdistribution risk set
Austin PC, Lee DS, Fine JP. Introduction to the analysis of survival data in the presence of competing risks. Circulation. 2016;133(6):601-609. Section Hazard Function Regression says the subdistribution hazard, introduced by Fine and Gray, denotes the instantaneous risk of failure in subjects who have not yet had an event of that type, and that this risk set includes those who are event free and those who have previously had a competing event.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
