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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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