turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- proc stdrate (rate ratios?)

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

10-12-2014 11:34 PM

I am trying to calculate the Incidence rate ratio (IRR) using proc stdrate. In particular I want to obtain the following statistics:

- Number of observations and the expected number of observations in the exposed group ;
- Number of observations and the expected number of observations in the non-exposed group ;
- IRR and the 95% CI.

I have gone through the proc stdrate user’s guide however I have been unable to work out how to extract these statistics.

The code I have used is:

**proc** **stdrate** data = exposed_reduced refdata = control_reduced

method = indirect

stat=rate

effect=ratio

;

population event=observed_total total=pyear_total ;

reference event=observed_total total=pyear_total ;

strata post_strata rank_strata agegrp_cancer_1 year_cancer / effect ;

**run**;

Any guidance would be much appreciated.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

10-13-2014 12:56 AM

what at are you expecting this proc to do? My understanding was this was for calculating age-sex standardized rates for example or maybe I'm missing something.