10-03-2011 07:13 PM
Hello everyone. I have a simple quesiton regarding proc phreg.
Say I have a left-truncated and right censored data.
for example my 3 variables are entry time to the study, time at death or end of study, and event indicator (0 for censored and 1 for event).
I found the estimated survival probability using
proc phreg data=dataname;
model exit_age*delta_i(0)= / entry=entry_age;
Now my question is what's the code or syntax that allows me to find the conditional survival function (say for the age of death of a patient who has survived to specific timeline)?