BookmarkSubscribeRSS Feed
sandrube
Fluorite | Level 6

Hello everyone,

 

I'm using PROC LIFETEST to find median survival and 95% CI. Is there a way to find this value with two decimal points?

 

Thank you for you help!

1 REPLY 1
Reeza
Super User

Pipe the results to a data step, see code below, and check the values. You should be able to format them as you'd like.

 

Add this to your PROC LIFETEST procedure and it will generate the WANT data set.

ods output quartiles = want;

@sandrube wrote:

Hello everyone,

 

I'm using PROC LIFETEST to find median survival and 95% CI. Is there a way to find this value with two decimal points?

 

Thank you for you help!


 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 575 views
  • 1 like
  • 2 in conversation