BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Melk
Lapis Lazuli | Level 10

I am interested in determining the relative risk of mortality for each level of an independent variable (8 levels), with the lowest being the reference level. What model would be appropriate to calculate this?

1 ACCEPTED SOLUTION
3 REPLIES 3
Reeza
Super User

PROC LOGISTIC or a PROC FREQ should give you what you need. 

FREQ has examples in the documentation for relative risk.

 


@Melk wrote:

I am interested in determining the relative risk of mortality for each level of an independent variable (8 levels), with the lowest being the reference level. What model would be appropriate to calculate this?


 

Melk
Lapis Lazuli | Level 10

I think relrisk does not work for rxc tables. I am not sure what the denominator component of the relative risk calculation should be for a 2x8 table.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 2531 views
  • 1 like
  • 3 in conversation