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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 1058 views
  • 0 likes
  • 2 in conversation