SAS macros for estimation of the cumulative incidence functions based on a Cox regression model for competing risks survival data

Comput Methods Programs Biomed. 2004 Apr;74(1):69-75. doi: 10.1016/S0169-2607(03)00069-5.


When considering competing risks survival data, the cause specific hazard functions are often modelled by the proportional hazards Cox regression model. First, we present how to estimate the parameters in this model when some of the covariates are allowed to have exactly the same effect on several causes of failure. In many cases, the focus is not on the parameter estimates, but rather on the probability of observing a failure from a specific cause for individuals with specified covariate values. These probabilities, the cumulative incidences, are not simple functions of the parameters and they are, so far, not provided by the standard statistical software packages. We present two SAS macros: a SAS macro named CumInc for estimation of the cumulative incidences and a SAS macro named CumIncV for estimation of the cumulative incidences and the variances of the estimated cumulative incidences. The use of the macros is demonstrated through an example.

Publication types

  • Research Support, Non-U.S. Gov't
  • Research Support, U.S. Gov't, P.H.S.

MeSH terms

  • Proportional Hazards Models*
  • Risk
  • Survival Analysis*