Programming the statistical procedures from SAS

Mean Survival Time from Proc lifereg

Reply
New Contributor
Posts: 2

Mean Survival Time from Proc lifereg

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
Super User
Posts: 10,871

Re: Mean Survival Time from Proc lifereg

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

 

New Contributor
Posts: 2

Re: Mean Survival Time from Proc lifereg

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.

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