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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.