BookmarkSubscribeRSS Feed
raffa1966
Calcite | Level 5

Problem Description:   

data rischio; set raffy; proc phreg data=rischio COVS(aggregate) COVM namelen=22;

class centrocut(ref='0') cd4cut(ref='A') emocut(ref='A');

model follKM*statusKM(0)= centrocut emocut cd4cut cd4cut*emocut/risklimits;

id centrocut;

hazardratio 'cd4cut' cd4cut / diff=ref;

hazardratio 'emocut' emocut / diff=ref; run;

 

I can not see the main effects of cd4cut and emocut. I get results only for the interactive effect.

How can I get the HR for both the main effects and the interactive effect?

 

Thank you,

R  
 

3 REPLIES 3
ballardw
Super User

From the documentation:

RISKLIMITS<=keyword> RL<=keyword>

produces confidence intervals for hazard ratios of main effects not involved in interactions or nestings
raffa1966
Calcite | Level 5

Thank you.

 

I know that.

For these reason I'm using HazardRatio.

However with HazardRatio I get the HR only for interacation effect and not for main effects .

 

can you help me?

R   

raffa1966
Calcite | Level 5

Hi Ballardw,

can you help me?

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 3 replies
  • 1273 views
  • 0 likes
  • 2 in conversation