Data visualization with SAS programming

Getting tick marks between defined ticks - Grid format, PROC LIFETEST KM plots

Reply
Contributor
Posts: 49

Getting tick marks between defined ticks - Grid format, PROC LIFETEST KM plots

Good Day!!

 

1) I have given y axis tick values as below in prco lifetest.

 

tickvaluelist=(0.5 0.6 0.7 0.8 0.9 1.0). So I am getting ticks at defined 0.5, 0.6 etc. However the I want the ticks in between defined intervals, like grid format.

 

2) How to get survival probabiliy in percents on KM plot. I am getting 0 to 1 survival probability on Y axis. However I need 0 to 100 percent on Y axis.

3) I am  using below options. However my plot is coming as very small in rtf ouput. I need to increase the size of output.

 

options orientation=landscape papersize=LETTER nodate nonumber

leftmargin=1.0in rightmargin=1.0in topmargin=1.0in bottommargin=1.0in

 

4) How to get rid of legend of symbol in the plot. Any options please.

 

Thank you, support is much appreciated.

;

 

Attachment
SAS Employee
Posts: 118

Re: Getting tick marks between defined ticks - Grid format, PROC LIFETEST KM plots

[ Edited ]

There is an entire sas/stat chapter on modifying the km plot.  https://support.sas.com/documentation/onlinedoc/stat/142/kaplan.pdf . If I had access to my office computer, I could better help you.

You can use GTL expressions to transform proportions to percentages.  Changing the format to a percent format is an option too.

Ask a Question
Discussion stats
  • 1 reply
  • 209 views
  • 0 likes
  • 2 in conversation