BookmarkSubscribeRSS Feed
Jest
Obsidian | Level 7

Hi,

 

Is there any way to get a table under the survival curve that lists not only the number at risk but also the number of events at each time point? 

2 REPLIES 2
ballardw
Super User

Details.

Like which procedure you are using and options. A good idea would be to post the code you are currently using.

 

When it comes to customized graphics you may need to create data from the procedure and use a one of the graphic procedures to add details.

Jest
Obsidian | Level 7

This is the code. It gives me the number at risk but not the number of events

 

proc lifetest data=data.data atrisk plots=survival(atrisk cb) outs=out;
strata class ;
time time*status(0);
run;

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 695 views
  • 0 likes
  • 2 in conversation