BookmarkSubscribeRSS Feed

Hello,

 

I am trying to get hazard ratios for assessing effect modification by strata of another variable with 3 categoroes. Would this procedure be correct?

 

PROC PHREG DATA=NEW;

class rank_score (ref="1") education (ref='0') income (ref='3') ;

MODEL time*exposure(0)=rank_score age educationincome/ rl;

strata lifestyle;

run;

 

Using this I dont really get startified hazard ratios by lifestyle so I am thinking how to modify it please?

 

Thank you very much.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 964 views
  • 0 likes
  • 1 in conversation