BookmarkSubscribeRSS Feed
TomHsiung
Quartz | Level 8
proc lifereg data = d202_raw order = formatted;
format x1 x2 x3 x4 x5 grpfmt.;
class x2 x3 x4;
model time*censor(0) = x1 x2 x3 x4 x5 / distribution = weibull;
run;

The PROC LIFEREG procedure does tell me the coefficients for variables and the Weibull shape. However, now I would like to draw the survival function curve with a confidence interval. The point estimation is easy to figure out by inputting the point estimations of these variables and the Weibull shape parameter. However, how to figure out the confidence interval of the survival curve? Hitherto, I only used the lower and upper limits of the Weibull shape parameter to do so. Much appreciated.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 0 replies
  • 330 views
  • 0 likes
  • 1 in conversation