<?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: different odds ratio with regression coding in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/different-odds-ratio-with-regression-coding/m-p/803240#M316283</link>
    <description>&lt;P&gt;Very wide confidence limits tend to indicate that the model chosen doesn't "predict" the dependent values very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any evidence from literature that Antibiotics should affect cholesterol?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what happens to that smaller confidence interval when you remove the Bpmeds? Since statins are designed to control cholesterol, I have a sneaking suspicion you model(s) are introducing lots of random noise and in effect hiding the statin behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course there are so many different antibiotic, diabetes and blood pressure medications I am not at all sure I would be modeling in frames of, I am guessing here, "subject is on/not one one or more of medication type".&lt;/P&gt;
&lt;P&gt;Statins are at least sort of in a single group of related meds if I understand them at all.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 23:05:18 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-03-21T23:05:18Z</dc:date>
    <item>
      <title>different odds ratio with regression coding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/different-odds-ratio-with-regression-coding/m-p/803234#M316280</link>
      <description>&lt;P&gt;hello, I wrote the following code to do logistic regression and obtain odds ratio for statin, diabetes meds, &amp;nbsp;blood pressure meds, antibiotics and cholesterol (output cholesterol where 1 = high 0 = low) and independent variables statin, bP meds, diabetes meds, antibiotics (1= received 0 = not received)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=work.import descending;&lt;BR /&gt;class statin (ref="0") diabetesMed (ref="0") bPmeds (ref="0") antibiotics (ref="0");&lt;BR /&gt;model cholesterol = statin diabetesmed bpmeds antibiotics;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I run the above logistic regression the odds ratio for BP meds is with the following 95% CI being (&amp;lt;0.001 and &amp;gt;999.999)..why is this happening?&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;lt;0.001&lt;/TD&gt;&lt;TD&gt;&amp;lt;0.001&lt;/TD&gt;&lt;TD&gt;&amp;gt;999.999&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as a follow up I ran the same code above but limited the IV to just two :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=work.import descending;&lt;BR /&gt;class statin (ref="0") &amp;nbsp; bPmeds (ref="0");&lt;BR /&gt;model cholesterol = statin bpmeds ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the Odds ratio is :&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1.136&lt;/TD&gt;&lt;TD&gt;0.489&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;2.640&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;why is it different in both cases? Is it because the Top one is adjusted odds ratio with more variables? If that is the case why am I GETTIng &amp;lt;0.001 and &amp;gt;999.999. I also checked for missing values and its only 1 missing value in the frequencies analysis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 22:08:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/different-odds-ratio-with-regression-coding/m-p/803234#M316280</guid>
      <dc:creator>manthan</dc:creator>
      <dc:date>2022-03-21T22:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: different odds ratio with regression coding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/different-odds-ratio-with-regression-coding/m-p/803240#M316283</link>
      <description>&lt;P&gt;Very wide confidence limits tend to indicate that the model chosen doesn't "predict" the dependent values very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any evidence from literature that Antibiotics should affect cholesterol?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what happens to that smaller confidence interval when you remove the Bpmeds? Since statins are designed to control cholesterol, I have a sneaking suspicion you model(s) are introducing lots of random noise and in effect hiding the statin behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course there are so many different antibiotic, diabetes and blood pressure medications I am not at all sure I would be modeling in frames of, I am guessing here, "subject is on/not one one or more of medication type".&lt;/P&gt;
&lt;P&gt;Statins are at least sort of in a single group of related meds if I understand them at all.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 23:05:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/different-odds-ratio-with-regression-coding/m-p/803240#M316283</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-21T23:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: different odds ratio with regression coding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/different-odds-ratio-with-regression-coding/m-p/803288#M316301</link>
      <description>&lt;P&gt;Multi-collinearity can cause this. What is the correlation between your predictor variables?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 10:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/different-odds-ratio-with-regression-coding/m-p/803288#M316301</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-22T10:19:47Z</dc:date>
    </item>
  </channel>
</rss>

