BookmarkSubscribeRSS Feed
ANieto
Calcite | Level 5

I'm trying to report mean survival time from a exponential and a Weibull distribution after adjustment of a dataset and I would like to report it from the output.

 

For example for the exponential distirbution the code will be something like

 

Proc lifereg data=temp;

model os*death(0)=/dist=exp;

run;

 

And from the ouput I assume that marked text of the screenshot is what I am looking for but I would like to receive the confirmation. And indeed how do I get the mean estimate form the output but using the Weibull distribution.

 

 

Thank you very much in advance.

 

Antonio.


Output.gif
2 REPLIES 2
ballardw
Super User

To get Weibull distribution then replace the Dist=Exp with Dist=Weibull .

 

ANieto
Calcite | Level 5

Thank you very much for the quick answer.

 

My question goes a little further, once I get the Weibull (i.e. Dist=Weibull) or Exponential (i.e. Dist=Exp) outputs how can it be derived mean survival time from them? E.g for exponential distribution, is it the estimate obtained in the Weibull scale row?

 

Antonio.

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 16. 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
  • 2 replies
  • 1821 views
  • 0 likes
  • 2 in conversation