Hello,
I am wrapping my head around to figure out how to model stratified cox ph model.
Assuming baseline hazard change over time, I partitioned follow-up time into two time intervals. 1 time interval for early to mid period and another time interval for late period. For example, let's say a person was followed 10 years, which can be represented as (0,10). I partitioned this time interval into two pieces such as (0, 8 ) falls into first stratum (time_strata=1) and (8,10) falls into second stratum (time_strata=2).
Suppose the main covariate I am interested in is X1 and partition data set is data set I partitioned the follow-up time into two time-intervals from original data set. I coded SAS as below...
proc phreg=partition;
class X1;
model Y=X1;
strata time_strata;
run;
The code above gives me the exact same output as below code...
proc phreg=original;
class X1;
model Y=X1;
run;
Why is this happening? Can I perform stratified analysis in this way (having time interval as strata)? If not, any other suggestions are appreciated.
Thanks in advance!
... View more