DATA Step, Macro, Functions and more

Population attributable risks

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

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. Smiley Frustrated

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 Smiley Very Happy

 


Accepted Solutions
Solution
‎02-27-2017 03:04 AM
Super User
Posts: 19,855

Re: Population attributable risks

Posted in reply to LostInSAS

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...

View solution in original post


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

Re: Population attributable risks

Posted in reply to LostInSAS

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 Smiley Happy
Regular Contributor
Posts: 228

Re: Population attributable risks

Posted in reply to LostInSAS
New Contributor
Posts: 3

Re: Population attributable risks

Thank you Smiley Happy
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 199 views
  • 2 likes
  • 3 in conversation