From: Mayara on
Hi all,

I am using SAS v9.2 for a survival analysis in Proc Phreg.

Below is a piece of my syntax:

hazardratio 'X for Y=1' X / diff=all at (Y='1') ;
hazardratio 'X for Y=0' X / diff=all at (Y='0') ;
model delai*censor(0)=X Y / risklimits ties=exact;

The results are exactly the same for Y=0 and Y=1, anyone could tell me
why?

X and Y are categorical and not time-dependent.

Thanks a lot.

CK