Hello. I'm using the SAS-callable SUDAAN for estimating the age-standardized mortality ratio. I need to classify the numerator by both age group (3 age groups) and the cause of death (50 categories), but the denominator only by age group. I don't know how to do it. My syntax is attached. Thank you.
proc ratio data=mydata design=brr FILETYPE=SAS;
REPWGT REPWT1-REPWT100;
weight myweight;
NUMER death;
DENOM POP ;
class agegr cause;
tables agegr*cause;
setenv colwidth=10 decwidth=8;
stdvar agegr;
stdwgt
0.159065
0.548632
0.292493
;
run;
SUDAAN software is made, licensed, and supported by RTI international. Because it isn't a SAS product, most of the folks in these forums won't have experience with or access to it. Using RTI's SUDANN Support site to get answers might get you help more quickly.
All the best,
Mark
SUDAAN software is made, licensed, and supported by RTI international. Because it isn't a SAS product, most of the folks in these forums won't have experience with or access to it. Using RTI's SUDANN Support site to get answers might get you help more quickly.
All the best,
Mark
I'll do that. Thank you so much.
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.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.