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
- /
- Base SAS Programming
- /
- Population attributable risks

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

02-24-2017 09:17 AM

Hello everyone

I just started using SAS less than a month ago so I'm having a bit of a hard time.

I'm assuming that there is a causal association between certain lifestyle factors (such as smoking status) and a certain health outcome (e.g: cancer). I want to calculate population attributable risks in order to estimate the proportion of certain health outcomes (proportion of cancer cases) attributed to different lifestyle factors.

Could you please provide me with a script?

Thanks a lot

Accepted Solutions

Solution

02-27-2017
03:04 AM

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

Posted in reply to LostInSAS

02-24-2017 09:56 AM

i had to Google to see what you meant, does this look correct:

https://www.med.uottawa.ca/sim/data/PAR_e.htm

If so, start off with a PROC FREQ to calculate the RR. Check the documentation under examples for an example that illustrates how and the RR is calculated.

All Replies

Solution

02-27-2017
03:04 AM

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

Posted in reply to LostInSAS

02-24-2017 09:56 AM

i had to Google to see what you meant, does this look correct:

https://www.med.uottawa.ca/sim/data/PAR_e.htm

If so, start off with a PROC FREQ to calculate the RR. Check the documentation under examples for an example that illustrates how and the RR is calculated.

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

Posted in reply to Reeza

02-27-2017 03:04 AM

Yes! Thank you

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

Posted in reply to LostInSAS

02-24-2017 10:17 AM

This may be useful too? Example 95.3 Computing Attributable Fraction Estimates.

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

Posted in reply to wong

02-27-2017 03:05 AM

Thank you