BookmarkSubscribeRSS Feed
mcdyn
Fluorite | Level 6

Hi,

I'm trying to calculate the standardized  incidence rate(crude of death) for my data set, for people on a treatment vs not on the treatment,compare to a reference group.

my sas version doesn't have " proc stdrate".

can anyone help with how to calculate that using SAS? sample code will be appreciated.

I have never done this before and know don't know very much about calculating the rates.

thank you

6 REPLIES 6
Reeza
Super User

What what version of SAS do you have? If you run the following do you see SAS/STAT?

 

It seems weird that some dealing with this type of info wouldn't have SAS/STAT

 

proc product_status;

run;

mcdyn
Fluorite | Level 6

thanks Reeza for reponding.

I'm using  SAS (r) Proprietary Software 9.3 (TS1M0). I looked  on the support SAS website and proc stdrate is avalable from 9.3 TS1M1.

thank you

 

Reeza
Super User

So there are macro's for doing this but it's a relatively easy calculation so you can pick your poison.

https://communities.sas.com/t5/Base-SAS-Programming/Macro-for-standardizing-for-age-in-IRR-SAS-9-2/t...

 

mcdyn
Fluorite | Level 6

thanks. so much useful info here

Rick_SAS
SAS Super FREQ

PROC STDRATE was introduced in SAS/STAT 12.1, which was released in 2012 as part of SAS 9.3m2. SAS versions prior to that release will not contain PROC STDRATE.

JacobSimonsen
Barite | Level 11

Or you can try install SAS university edition, which is free, and always contains the newest features.

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
  • 6 replies
  • 2980 views
  • 5 likes
  • 4 in conversation