BookmarkSubscribeRSS Feed
chloeb
Calcite | Level 5

Hi,

I am currently trying to standardize IRR by age and sex. However my current version, SAS 9.2 does not have the Proc STDRATE statement. I am unsure of how I can generate standardized IRR without this procedure.

If you have a macro or know how to standardize ratios, please advise.

Thank you,

Chloe

4 REPLIES 4
Reeza
Super User

It's a fairly simple data step calculation if you have the data. But what version of SAS/STAT are you on?

I like this paper because it has worked examples so its easy to see the logic of how to standardize your rates.

http://www.apheo.ca/resources/indicators/Standardization%20report_NamBains_FINALMarch16.pdf

chloeb
Calcite | Level 5

Thank you Reeza! I am currently using SAS version 9.2.

Do you have any resources for coding the standardization of incidence rate ratios? I think I understand the basic logic of standardizing by age, however, I am at loss at finding a SAS code.

Thanks again,

Chloe

Reeza
Super User

If you're looking for a macro then I don't have one, but I'm sure they're out there.


Realistically, I'd just write my code, because its so straight forward. You'd have to test and decode the macro.

Here's a few options:

http://www.sas.com/offices/NA/canada/downloads/UserGroups/Health-UG-April11/SAS_HUG_Ash.pdf

http://www.lexjansen.com/wuss/2007/CodersCorner/COD_Zheng_AddingTheFeature.pdf

http://www.lexjansen.com/mwsug/2005/Pharmaceutical_Healthcare/PH600.pdf

GOOGLE Search : Age Standardization site:lexjansen.com

chloeb
Calcite | Level 5

Thank you so much Reeza! This helps a lot!

Chloe

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1992 views
  • 6 likes
  • 2 in conversation