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.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.