Solved
New Contributor
Posts: 3

# Population attributable risks

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
Super User
Posts: 22,874

## Re: Population attributable risks

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.

http://support.sas.com/documentation/cdl/en/procstat/66703/HTML/default/viewer.htm#procstat_freq_exa...

All Replies
Solution
‎02-27-2017 03:04 AM
Super User
Posts: 22,874

## Re: Population attributable risks

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.

http://support.sas.com/documentation/cdl/en/procstat/66703/HTML/default/viewer.htm#procstat_freq_exa...

New Contributor
Posts: 3

## Re: Population attributable risks

Yes! Thank you
Regular Contributor
Posts: 249

New Contributor
Posts: 3

## Re: Population attributable risks

Thank you
☑ This topic is solved.