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-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

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