<?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: Odds Ratio Interpretation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663551#M31626</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16672"&gt;@BTAinRVA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes absolutely&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2020 16:44:51 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-06-19T16:44:51Z</dc:date>
    <item>
      <title>Odds Ratio Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663482#M31620</link>
      <description>&lt;P&gt;Hello Everybody!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So we did a Proc Logistic where we coded female = 0, male = 1 and we set the reference = 0. We got an odds ratio of 0.40 and it is significant at 95% level of confidence. Can we interpret this as females having 60% decrease in odds of being symptomatic given they tested COVID-19 positive?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 13:27:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663482#M31620</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2020-06-19T13:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Odds Ratio Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663520#M31623</link>
      <description>&lt;P&gt;Here's the code we used:&lt;/P&gt;
&lt;PRE&gt;proc logistic data=out.final descending;
		class gender (ref = '0')  othervars (ref='0') / param=ref;
		model sympto = gender othervars
			/ selection = stepwise
			  slentry   = 0.3
			  slstay    = 0.35
			  lackfit;
	run;&lt;/PRE&gt;
&lt;P&gt;where gender was&amp;nbsp; coded as female = 0. If the resulting Odds Ratio for gender is 0.4 does that mean females have less odds of being symptomatic than males? It's not clear to me what the (ref=0) / param=ref part of the code is doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any guidance&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 15:18:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663520#M31623</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2020-06-19T15:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Odds Ratio Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663538#M31624</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16672"&gt;@BTAinRVA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="page" title="Page 337"&gt;
&lt;DIV class="section"&gt;
&lt;DIV class="layoutArea"&gt;
&lt;DIV class="column"&gt;
&lt;P&gt;&lt;SPAN&gt;The PARAM=REF option requests that SAS use &lt;FONT color="#FF0000"&gt;reference cell coding and the REF=0 defines the first value of 0 (&amp;lt;=&amp;gt; females) &amp;nbsp;to be the&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;U&gt;reference group&amp;nbsp;(baseline level)&lt;/U&gt; for comparison purpose&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;In practice, if you get a significative OR = 0.40 with this method, it means that there is 60% decrease in the odds &lt;SPAN style="font-family: inherit;"&gt;of the event (&amp;lt;=&amp;gt; being symptomatic)&amp;nbsp;&lt;/SPAN&gt;compare to males, all other parameters being constant.&amp;nbsp;As it can be hard to understand, you can define REF=1 to have an OR&amp;gt;1.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;In practice:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;SAS would have created the following dummy variables:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;Males (1) -&amp;gt; 1; &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;Female (0) -&amp;gt; &lt;FONT color="#FF0000"&gt;0&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;So the logit for males =&amp;nbsp;beta0 + beta1 *(1) and the logic for females =&amp;nbsp;beta0 + beta1 *(0)&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;And so, OR= &lt;FONT color="#FF0000"&gt;exp(beta1) -&amp;gt; which can be easily deduced&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you had used the default method which is effect coding (PARAM=EFFECT) and define REF=0,&lt;/P&gt;
&lt;DIV class="page" title="Page 336"&gt;
&lt;DIV class="section"&gt;
&lt;DIV class="layoutArea"&gt;
&lt;DIV class="column"&gt;
&lt;P&gt;&lt;SPAN&gt;each parameter estimate would have measured&lt;FONT color="#FF0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN style="font-family: inherit;"&gt;the difference between the effect at that level (0 or 1) and the &lt;U&gt;average effect of males and females combined.&lt;/U&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;In practice,&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;SAS would have created the following dummy variables:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;Males (1) -&amp;gt; 1;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;Female (0) &amp;nbsp;-&amp;gt; &lt;/SPAN&gt;&lt;FONT style="font-family: inherit;" color="#FF0000"&gt;-1&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;So the logit for males =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;beta0 + beta1 *(1) and the logic for females =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;beta0 + beta1 *(-1)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: inherit;"&gt;And so, OR= exp(beta1 &lt;FONT color="#FF0000"&gt;*2&lt;FONT color="#000000"&gt;)&lt;/FONT&gt;&lt;/FONT&gt; -&amp;gt; which is not easily deduced&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Jun 2020 16:10:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663538#M31624</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-06-19T16:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Odds Ratio Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663543#M31625</link>
      <description>&lt;P&gt;Hey ed_sas_member,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply! So in a similar vein if the OR had been say 1.6 we would conclude that females have a 60% increase in odds of being symptomatic than males, correct?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 16:27:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663543#M31625</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2020-06-19T16:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Odds Ratio Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663551#M31626</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16672"&gt;@BTAinRVA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes absolutely&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 16:44:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663551#M31626</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-06-19T16:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Odds Ratio Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663553#M31627</link>
      <description>&lt;P&gt;Sorry,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/292097"&gt;@ed_sas_member&lt;/a&gt;, I think it's rather vice versa (but your explanation is fine otherwise): The original OR=0.4 is "&lt;EM&gt;male vs. female&lt;/EM&gt;" because "female" (&lt;FONT face="courier new,courier"&gt;gender=0&lt;/FONT&gt;) has been defined as the reference level. (The "1 vs. 0" should also appear in the "Odds Ratio Estimates" table of PROC LOGISTIC output.) So, controlling for &lt;FONT face="courier new,courier"&gt;othervars&lt;/FONT&gt;, females have 2.5 (=1/0.4) times &lt;EM&gt;higher&lt;/EM&gt; odds of being symptomatic than males (assuming that, e.g., &lt;FONT face="courier new,courier"&gt;sympto=1&lt;/FONT&gt; means "symptomatic" vs. &lt;FONT face="courier new,courier"&gt;sympto=0&lt;/FONT&gt;). With OR=1.6 males would have 1.6 times higher odds than females.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, just to underline the good point "&lt;STRONG&gt;all other parameters being constant&lt;/STRONG&gt;": It's important to note that the model controls for &lt;FONT face="courier new,courier"&gt;othervars&lt;/FONT&gt;. Theoretically it's possible to observe odds ratios &amp;lt;1 (male vs. female) in, say, &lt;EM&gt;both&lt;/EM&gt; categories&amp;nbsp;&lt;FONT face="courier new,courier"&gt;othervars=0&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;othervars=1&lt;/FONT&gt;&amp;nbsp;of a dichotomous model variable, but nevertheless a &lt;EM&gt;"crude"&lt;/EM&gt; odds ratio &amp;gt;1&amp;nbsp;overall (&lt;A href="https://en.wikipedia.org/wiki/Simpson%27s_paradox" target="_blank" rel="noopener"&gt;Simpson's paradox&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 17:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663553#M31627</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-06-19T17:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Odds Ratio Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663558#M31628</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good catch ! I misspoke myself because I am more used to code male=0.&lt;/P&gt;
&lt;P&gt;Sorry for the confusion&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 17:33:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Odds-Ratio-Interpretation/m-p/663558#M31628</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-06-19T17:33:20Z</dc:date>
    </item>
  </channel>
</rss>

