Programming the statistical procedures from SAS

How to generate the output as shown in the attached screenshot

Reply
Occasional Contributor
Posts: 5

How to generate the output as shown in the attached screenshot

I got the kaplan meyer curve but I am not sure how to generate the values shown below that curve in the attached screenshot.Please help me.


lifetable.PNG
Super User
Posts: 18,577

Re: How to generate the output as shown in the attached screenshot

Please take the time to add more detail your questions.

 

1. I assume you're referring to the Number At Risk table below the graph?

2. Do you need this as a data set?

3. Do you need this as a table at the bottom of the graph?

4. What does your code currently look like?

5. What have you tried that didn't work so for?

PROC Star
Posts: 7,416

Re: How to generate the output as shown in the attached screenshot

Would the OUTSURV= data set provide what you need? If not, run your code preceded by:

 

ods trace on

 

and then output the specific ods output desired.

 

Art, CEO, AnalystFinder.com

 

Ask a Question
Discussion stats
  • 2 replies
  • 141 views
  • 0 likes
  • 3 in conversation