On customizing survival curves in SASĀ®

Michael Williams
ICON Clinical Research


Abstract

In clinical research, survival analysis plays a major role, and the choice of visual tool is typically the survival plot. This paper will cover ways to enhance survival plots in SASĀ®. The primary focus will be on the Kaplan-Meier product-limit survival curve for a right-censored survival model. We will discuss the modification of the PROC LIFETEST graph template to customize Kaplan-Meier plots following a well-known approach by Warren Kuhfeld and Ying So. Another approach utilizes a combination of ODS OUTPUT statements for PROC LIFETEST or PROC PHREG, followed by DATA steps to create a dataset that can be graphed via PROC SGPLOT.