BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
sasuser63
Calcite | Level 5

Age Standardized rate - SAS Support Communities

 

ods graphics on;
proc stdrate data=studyData
refdata=Refpop1
method=direct
stat=rate(mult=100000)
effect=ratio
plots(only)
cl=gamma
;
population event=death total=pop;
reference total=stdpop;
strata agegrp year / smr stats missing;
run;
ods graphics off;

This is my code.

I want to get the rate for each age group and year.

 

Similar to the other post I get an overall age standardized rate for all years. How can I attain the rate for each age group and the speciifc year and not just the overall rate? I have 6 age groupings.

 

My data looks like this

studydata

year pop agegrp  death

2001  65000   "0-9"    5

 

Refop

year stdpop agegrp

2001  67000  "0-9" 

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

See the "Standardized rates and risks" item in the list of Frequently Asked-for Statistics (FASTats) in the Important Links section of the Statistical Procedures Community page which points you to this note that describes multiple ways that it can be done. 

View solution in original post

1 REPLY 1
StatDave
SAS Super FREQ

See the "Standardized rates and risks" item in the list of Frequently Asked-for Statistics (FASTats) in the Important Links section of the Statistical Procedures Community page which points you to this note that describes multiple ways that it can be done. 

SAS Innovate 2025: Call for Content

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!

Submit your idea!

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
  • 550 views
  • 1 like
  • 2 in conversation