Signature
A_1 = 1 + F_12 / S_1; A_0 = 1 + F_02 / S_0; sdRH = csRH * A_0 / A_1
| Inputs | Definition | Unit |
|---|---|---|
F_12 | Probability of having had cause 2 by time t in the exposed group | probability |
S_1 | Probability of being free of both events at time t in the exposed group, above 0 | probability |
F_02 | Probability of having had cause 2 by time t in the unexposed group | probability |
S_0 | Probability of being free of both events at time t in the unexposed group, above 0 | probability |
csRH | Ratio of the cause-specific hazards of cause 1, exposed over unexposed, at time t | ratio, no unit |
A_1 | Factor 1 + F_12 / S_1 linking the two hazards of cause 1 in the exposed group | no unit, at least 1 |
|---|---|---|
A_0 | Factor 1 + F_02 / S_0 linking the two hazards of cause 1 in the unexposed group | no unit, at least 1 |
sdRH | Ratio of the subdistribution hazards of cause 1, exposed over unexposed, at time t | ratio, 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
Subdistribution relative hazard from named cells
With the cause-specific ratio in CsRelativeHazard and the inputs in CumIncCompetingExposed, SurvExposed, CumIncCompetingUnexposed and SurvUnexposed, the formulas return DilutionExposed, DilutionUnexposed and SdRelativeHazard. A survival cell of 0 or blank returns #DIV/0!.
=1+CumIncCompetingExposed/SurvExposed; =1+CumIncCompetingUnexposed/SurvUnexposed; =CsRelativeHazard*DilutionUnexposed/DilutionExposed
Assumptions
One time and two groups in the relative hazard relation
All inputs refer to the same time t, with F_12 and S_1 from the exposed group and F_02 and S_0 from the unexposed group. sdRH is a ratio at that time, the quotient of two values of HE-FM-COMR-003, and not the single coefficient of a fitted proportional subdistribution hazards model (derived).
Cause-specific relative hazard taken as known at the time
csRH is taken as known at t, from a fitted cause-specific model or from the model inputs. Interpretation follows Lau and colleagues, who suggest the cause-specific ratio for aetiology and the subdistribution ratio for predicting risk or allocating resources.
Worked examples
The article drug at 10 years
The article's illustrative drug has a cause-specific hazard ratio of 0.75 for stroke with other-cause death unchanged. At 10 years the implied subdistribution ratio is about 0.777, close to the ratio of cumulative incidences of 0.78 in the article, both above 0.75.
csRH = 0.75; F_12 = 0.485185; S_1 = 0.332871; F_02 = 0.465871; S_0 = 0.301194; A_1 = 2.457577; A_0 = 2.546747; sdRH = 0.7772
The article drug at one year
The same drug after one year, with inputs from HE-FM-TP-004. Few competing events have occurred, so the factors are close and the ratio barely moves from 0.75, while it reaches 0.777 at 10 years.
csRH = 0.75; F_12 = 0.075757; S_1 = 0.895834; F_02 = 0.075386; S_0 = 0.886920; A_1 = 1.084566; A_0 = 1.084998; sdRH = 0.7503
A drug that also raises the competing hazard
Illustrative inputs. The same stroke effect, with the other-cause hazard raised from 0.08 to 0.12 a year in the exposed group, gives F_12 and S_1 from HE-FM-TP-004 with hazards 0.03 and 0.12 at 10 years. The subdistribution ratio falls to about 0.505 with no change in the effect on the stroke rate, the direction of the gap between 0.96 and 0.82 that Austin and colleagues report for cancer and cardiac death.
csRH = 0.75; F_12 = 0.621496; S_1 = 0.223130; F_02 = 0.465871; S_0 = 0.301194; A_1 = 3.785354; A_0 = 2.546747; sdRH = 0.5046
Limiting case with no competing hazard
Illustrative inputs. With no competing events in either group both factors are 1 and the two ratios are equal. S_1 and S_0 are the single-event survivals exp(-0.3) and exp(-0.4).
csRH = 0.75; F_12 = 0; S_1 = 0.740818; F_02 = 0; S_0 = 0.670320; A_1 = 1; A_0 = 1; sdRH = 0.75
Common errors
Reading a cause-specific ratio as a subdistribution ratio
The two ratios generally differ when the competing event occurs. In HE-EX-COMR-015 a stroke effect of 0.75 on the rate is 0.505 on the subdistribution scale, and Austin and colleagues report 0.96 and 0.82 for cancer and cardiac death in their heart failure data.
Swapping the exposed and unexposed factors
Equation (5) of Lau and colleagues has the exposed factor over the unexposed factor when written for csRH, so solving for sdRH inverts it. Multiplying csRH by A_1 / A_0 in the article example at 10 years gives 0.7237 against the correct 0.7772 (derived).
Applying a cause-specific hazard ratio to a cumulative incidence by a power
HE-FM-HR-004 is for one event from the starting state, and HE-AS-HR-007 sends a state with competing exits to the competing-hazards formula. Fed the article's control stroke risk of 0.23294 and the ratio 0.75 it gives 0.18036 against the correct 0.18194 from HE-FM-TP-004 (derived).
Sources
Lau and colleagues on the relation between the two relative hazards
Lau B, Cole SR, Gange SJ. Competing risk regression models for epidemiologic data. American Journal of Epidemiology. 2009;170(2):244-256. Section Comparisons between csRH and sdRH, equation (5), gives csRH(t) as the ratio of 1 + F_12*(t) / S(t|X=1) to 1 + F_02*(t) / S(t|X=0), times sdRH(t), and states that the two are equal when h_02 is 0 and similar when h_02 is small. The Appendix derives it in equations (A1) to (A3). Section A framework for competing risk regression gives the suggested uses of the two ratios.
Austin and colleagues on a cause-specific and a subdistribution ratio that disagree
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 reports, from the case study of heart failure patients, a subdistribution hazard ratio of 0.82 and a cause-specific hazard ratio of 0.96 for cancer and cardiac death.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
