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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 503 views
  • 0 likes
  • 1 in conversation