The power of SAS Proc SGPLOT: Survival Plots

Updated: Jul 8, 2020

Obtaining the power of SGPLOT using ods output features. In the example below I have placed the y-axis label in top horizontal position using a yaxis statement option in SGPLOT.

The code in my macro is based on the file found on Mantange’s SAS blog

Here is a link to my example and macro. The macro is easy to modify.

4 views0 comments

Recent Posts

See All

SAS University Edition load error solution

Using SAS University Edition with VirtualBox in Fedora requires kernel signing of 3 modules. Avoid this by disabling Secure Boot in BIOS settings. Secure Boot makes it impossible to load nonauthorized

Indicators from numeric factor variables

The macro call below will generate indicators for all factor levels of xfaktor from the data set regdata represented by at least 5 observations. I have developed the macroes to avoid class variables i

©2020 by Danish Institute for Data Science. Proudly created with