A SAS macro for estimation of direct adjusted survival curves based on a stratified Cox regression model

Comput Methods Programs Biomed. 2007 Nov;88(2):95-101. doi: 10.1016/j.cmpb.2007.07.010. Epub 2007 Sep 11.


Often in biomedical research the aim of a study is to compare the outcomes of several treatment arms while adjusting for multiple clinical prognostic factors. In this paper we focus on computation of the direct adjusted survival curves for different treatment groups based on an unstratified or a stratified Cox model. The estimators are constructed by taking the average of the individual predicted survival curves. The method of direct adjustment controls for possible confounders due to an imbalance of patient characteristics between treatment groups. This adjustment is especially useful for non-randomized studies. We have written a SAS macro to estimate and compare the direct adjusted survival curves. We illustrate the SAS macro through the examples analyzing stem cell transplant data and Ewing's sarcoma data.

Publication types

  • Research Support, N.I.H., Extramural

MeSH terms

  • Biomedical Research / statistics & numerical data*
  • Confounding Factors, Epidemiologic
  • Humans
  • Proportional Hazards Models*
  • Sarcoma, Ewing
  • Survival Analysis*
  • United States