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



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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