Help using Base SAS procedures

proc phreg for specific conditional survival probability

Reply
Occasional Contributor
Posts: 6

proc phreg for specific conditional survival probability

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;

run;

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)?

Thanks!

Ask a Question
Discussion stats
  • 0 replies
  • 145 views
  • 0 likes
  • 1 in conversation