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.

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 lock in 2025 pricing—just $495!

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