Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
ssulli11
Calcite | Level 5

Good afternoon!

 

I am looking to get RR estimates for my proc genmod regression for categorical variables where there is more than one option.  For instance, I have three age categories and would like to see the estimates of each age category (compared to the ref). 

 

Currently, I am using: "estimate 'age' age 1 / exp;" However, this doesn't separate out by each age category. 

 

 I'm sure there is an easy solution but I'm not finding on online (maybe a where statement?). 

 

Any help is much appreciated! 

1 REPLY 1
StatDave
SAS Super FREQ

See this note which shows various ways of estimating relative risks.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 1 reply
  • 862 views
  • 0 likes
  • 2 in conversation