Hello everyone,

Hope you all are doing well.

I am trying my hand on the Fine-Gray model to calculate subdistribution hazard ratios for cardiovascular death using the NHANES dataset in R. It was not that difficult to calculate cumulative incidence function(CIF), but since it is a nationally representative sample I am having issues accounting for the survey weights and Stratum.

I tried different using the Survival and 'cmprsk' packages but none has a provision to incorporate weights and stratum in the regression model.

Any suggestion will be appreciable.

Thank you

Similar questions and discussions