BookmarkSubscribeRSS Feed
_MooMoo
Obsidian | Level 7

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!

 

2 REPLIES 2
pink_poodle
Barite | Level 11
Does it give you the Summary of the Stratum Levels table in case when you have the strata statement?
_MooMoo
Obsidian | Level 7

As I more think about this, I think the approach I explained above is wrong. Since time dependency of risk getting main outcome is already absorbed in the baseline hazard rate even though I did not stratify by time interval, there is no point running stratified cox regression where stratification level is time interval.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 640 views
  • 0 likes
  • 2 in conversation