Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. Estimating Parametric Regress... > GENERATING PREDICTIONS AND HAZARD FU...

GENERATING PREDICTIONS AND HAZARD FUNCTIONS

After fitting a model with PROC LIFEREG, it's sometimes desirable to generate predicted survival times for the observations in the data set. If you want a single point estimate for each individual, the predicted median survival time is probably the best. You can get this easily with the OUTPUT statement, as shown in the following example:

PROC LIFEREG DATA=recid;
   MODEL week*arrest(0)=fin age race wexp mar paro prio
         / D=WEIBULL;
   OUTPUT OUT=a P=median STD=s;
RUN;
PROC PRINT DATA=a;
   VAR week arrest _prob_ medians;
RUN;


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial