Research ToolsFine-Gray Regression

Fine-Gray Subdistribution Hazard Regression (Competing Risks)

Under competing risks, this analyzes the effect of covariates on the cumulative incidence (CIF) of the target event, giving the subdistribution hazard ratio (sHR). Unlike Cox (cause-specific hazard), Fine-Gray maps directly to the CIF, making it better suited to prediction and clinical decision-making. When a grouping variable is entered as a covariate, its sHR test is the between-group comparison under competing risks (the regression counterpart of Gray's test). Computed locally in your browser; data are not uploaded. For CIF curves see Competing-risk CIF.

① Data

Paste data with a header: first row = column names, then one record per row (Tab/comma separated). Status column coded 0=censored, 1=target event, 2 (and above)=competing event; covariates are numeric (encode categorical as dummies first).

How to use & methodology

How to choose between Fine-Gray and cause-specific Cox?

Cause-specific Cox answers "among those who have not yet had any event, how does the factor affect the instantaneous risk of the target event", suited to investigating mechanism; Fine-Gray answers "how does the factor affect the probability of ultimately accumulating the target event (CIF)", suited to prediction and clinical decisions. Both are often reported together.

How is sHR interpreted?

Subdistribution hazard ratio. sHR=1.5 means the factor raises the cumulative incidence of the target event accordingly; it maps directly to the direction of the CIF, but the value does not equal the cause-specific HR and the two cannot be interchanged in interpretation.

How to do a between-group comparison under competing risks?

Enter the grouping variable (0/1) as the only or one of the covariates; its sHR and P value are the comparison of the two groups' CIFs under competing risks — this examines the same question as Gray's test (Gray's test is a nonparametric curve comparison; Fine-Gray is its counterpart in a regression framework).

How is the status column coded?

0=censored, 1=target event (the endpoint you care about), 2 and above=competing event (one that, once it occurs, makes the target event impossible, such as death from another cause). At least 1 target event is required.