<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Population Attributable Fraction using Odds in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Population-Attributable-Fraction-using-Odds/m-p/850000#M335972</link>
    <description>&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;FONT color="#000000"&gt;Yes! An odds ratio from a 2x2 using case-control data. Not tied to STDRATE - just looking for a way to get the PAF and corresponding 95% confidence interval. STDRATE only calculates risks/rates. Example below:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;FONT color="#000000"&gt;Event_E = # exposed cases, Count_E = total # exposed, Event_NE = # unexposed cases, Count_NE = total # unexposed&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;data &lt;FONT color="#000000"&gt;example&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;input&amp;nbsp;&lt;/SPAN&gt;Event_E Count_E Event_NE Count_NE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;datalines&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;20 200 59 1065&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;proc stdrate&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;data&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;FONT color="#000000"&gt;example&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;refdata&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;FONT color="#000000"&gt;example&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;method&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;FONT color="#000000"&gt;indirect&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;(&lt;SPAN class=""&gt;af&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;stat&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;risk&lt;/SPAN&gt;;&lt;/FONT&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;population event&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Event_E total&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Count_E&lt;/SPAN&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;reference event&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Event_NE total&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Count_NE&lt;/SPAN&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;run&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 02:24:20 GMT</pubDate>
    <dc:creator>esass</dc:creator>
    <dc:date>2022-12-16T02:24:20Z</dc:date>
    <item>
      <title>Population Attributable Fraction using Odds</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Population-Attributable-Fraction-using-Odds/m-p/849953#M335951</link>
      <description>&lt;P&gt;Is there a way to calculate PAFs using odds in SAS? I've been using PROC STDRATE but it only allows rates/risks.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 20:54:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Population-Attributable-Fraction-using-Odds/m-p/849953#M335951</guid>
      <dc:creator>esass</dc:creator>
      <dc:date>2022-12-15T20:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Population Attributable Fraction using Odds</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Population-Attributable-Fraction-using-Odds/m-p/849985#M335967</link>
      <description>&lt;P&gt;By "using Odds" do you mean "odds ratio"? or something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may have to describe the actual problem and data in more detail to get a definitive answer for your need.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 23:25:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Population-Attributable-Fraction-using-Odds/m-p/849985#M335967</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-12-15T23:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Population Attributable Fraction using Odds</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Population-Attributable-Fraction-using-Odds/m-p/850000#M335972</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;FONT color="#000000"&gt;Yes! An odds ratio from a 2x2 using case-control data. Not tied to STDRATE - just looking for a way to get the PAF and corresponding 95% confidence interval. STDRATE only calculates risks/rates. Example below:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;FONT color="#000000"&gt;Event_E = # exposed cases, Count_E = total # exposed, Event_NE = # unexposed cases, Count_NE = total # unexposed&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;data &lt;FONT color="#000000"&gt;example&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;input&amp;nbsp;&lt;/SPAN&gt;Event_E Count_E Event_NE Count_NE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;datalines&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;20 200 59 1065&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;proc stdrate&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;data&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;FONT color="#000000"&gt;example&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;refdata&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;FONT color="#000000"&gt;example&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;method&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;FONT color="#000000"&gt;indirect&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;(&lt;SPAN class=""&gt;af&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;stat&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;risk&lt;/SPAN&gt;;&lt;/FONT&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;population event&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Event_E total&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Count_E&lt;/SPAN&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;reference event&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Event_NE total&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Count_NE&lt;/SPAN&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;run&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 02:24:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Population-Attributable-Fraction-using-Odds/m-p/850000#M335972</guid>
      <dc:creator>esass</dc:creator>
      <dc:date>2022-12-16T02:24:20Z</dc:date>
    </item>
  </channel>
</rss>

