# SAS Proc lifereg phreg and lifetest - survival plot

I have to draw a survival probability plot with three different surviuval estimates using the phreg, lifereg and the lifetest procedure with sas for make a confrontation

the models:

   proc phreg data=data;
class trt;
model time*event(0)=trt / rl;
run;

proc lifereg data=data;
model time*event(0) = trt   / dist=weibull;
run;

proc lifetest data =data METHOD=KM;
time time*event(0);
run;


i know that for the lifetest it's possible to draw the survival probability plot by using "plots = (s)" and for the phreg by using "plot(overlay)=survival", but i don't know how to draw this plot type with the lifereg and how to draw an unique plot with the three survival curves for make the confrontation

Parametric survival regression uniquely determines the survival curve. For the Weibull model, you can simply extract the coefficient estimates, transform them as needed, then plug them in as parameters to the Weibull survival function: $\exp(-(x/\lambda)^k))$.