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?
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?
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.
See this note.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
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.