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 ![]()
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.
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.
This may be useful too? Example 95.3 Computing Attributable Fraction Estimates.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.