BookmarkSubscribeRSS Feed
GS2
Obsidian | Level 7 GS2
Obsidian | Level 7

Using SAS 9.4

 

I am running the following code:

 

proc lifetest data=cr.analysis OUTCIF=cif_output atrisk plots=cif(test cl); 
time tt_censor_date*binary_mortality(0)/eventcode=1;
strata pvd;
ods output GrayTest=graytest;
run;

 

Is it possible to adjust the x-axis ticklist (normally I use %providesurvivalmacros but this macro does not appear to work with competing risks)?

Is it possible to add 95% CI bands to the graph instead of CL bands? Thank you

6 REPLIES 6
GS2
Obsidian | Level 7 GS2
Obsidian | Level 7

Using SAS 9.4

 

I am running the following code:

 

proc lifetest data=cr.analysis OUTCIF=cif_output atrisk plots=cif(test cl); 
time tt_censor_date*binary_mortality(0)/eventcode=1;
strata pvd;
ods output GrayTest=graytest;
run;

 

Is it possible to adjust the x-axis ticklist (normally I use %providesurvivalmacros but this macro does not appear to work with competing risks)?

Is it possible to add 95% CI bands to the graph instead of CL bands? Thank you

jimbarbour
Meteorite | Level 14

The question you're asking is outside my area of expertise (such as it is) and possibly of others here on the Programming forum.  Not sure, but I notice no one has yet responded to your question. 

 

There's absolutely nothing wrong with posting it here in the Programming forum, but I wonder if it might be seen by more qualified people if you posted it in one of the Analytics forums (see below).  Just a thought.

 

Best of luck!

 

Jim

jimbarbour_0-1602034274456.png

 

GS2
Obsidian | Level 7 GS2
Obsidian | Level 7

Thank you. I will try my question there. 

WarrenKuhfeld
Ammonite | Level 13

The documentation clearly states which templates are modified. Enable ODS trace output and see if those are the ones you are using.

 

https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statu...

GS2
Obsidian | Level 7 GS2
Obsidian | Level 7
Thank you for the documentation. That explains why the %providesurvivalmacro does not work. However, it does not answer the questions that were intent of this post. Do you know if either one of my original questions (see below) are possible. Thank you

Is it possible to adjust the x-axis ticklist?
Is it possible to add 95% CI bands to the graph instead of CL bands?

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 6 replies
  • 1312 views
  • 0 likes
  • 4 in conversation