<?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 I am running a logistic regression analysis on a categorical variable adjusting another categorical variable. At the same time, I also wanted to run interaction term. When I ran the interaction term, I did not get odds ration estimates! I am confused in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199245#M266642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What could go wrong here? Thank you so much. Truly appreciate the response. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2015 03:03:13 GMT</pubDate>
    <dc:creator>Harry_md</dc:creator>
    <dc:date>2015-07-09T03:03:13Z</dc:date>
    <item>
      <title>I am running a logistic regression analysis on a categorical variable adjusting another categorical variable. At the same time, I also wanted to run interaction term. When I ran the interaction term, I did not get odds ration estimates! I am confused</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199245#M266642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What could go wrong here? Thank you so much. Truly appreciate the response. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 03:03:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199245#M266642</guid>
      <dc:creator>Harry_md</dc:creator>
      <dc:date>2015-07-09T03:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: I am running a logistic regression analysis on a categorical variable adjusting another categorical variable. At the same time, I also wanted to run interaction term. When I ran the interaction term, I did not get odds ration estimates! I am confused</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199246#M266643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post your code?&amp;nbsp; (And data too, if possible.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 12:54:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199246#M266643</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-07-09T12:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: I am running a logistic regression analysis on a categorical variable adjusting another categorical variable. At the same time, I also wanted to run interaction term. When I ran the interaction term, I did not get odds ration estimates! I am confused</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199247#M266644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing goes wrong but SAS does not output OR's when interaction terms are included in the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the interaction term is significant you may (must) present stratum specific OR's and you can get those by the ESTIMATE statement. &lt;/P&gt;&lt;P&gt;(If the interaction term is not significant, you remove it from the model again and will get the OR's you need).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple(st) example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC LOGISTIC DATA=one DESCENDING;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CLASS e f / PARAM=REF REF=FIRST;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MODEL d = e f e*f;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ESTIMATE 'OR for E in stratum F=1' e 1 e*f 1/EXP;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ESTIMATE 'OR for E in stratum F=0' e 1 e*f 0/EXP; * or just e 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ESTIMATE 'OR for F in stratum E=1' f 1 e*f 1/EXP;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ESTIMATE 'OR for F in stratum E=0' f 1 e*f 0/EXP; * or just f 1;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 13:26:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199247#M266644</guid>
      <dc:creator>KlaasF</dc:creator>
      <dc:date>2015-07-09T13:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: I am running a logistic regression analysis on a categorical variable adjusting another categorical variable. At the same time, I also wanted to run interaction term. When I ran the interaction term, I did not get odds ration estimates! I am confused</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199248#M266645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To elaborate further, the reason that this is happening is that without an interaction term, the odds ratio is constant for a variable.&amp;nbsp; When adding an interaction, the odds ratio changes depending on the values of the interacted variables.&amp;nbsp; So you need to tell SAS the values of the interacted variables where you want an odds ratio estimate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 14:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199248#M266645</guid>
      <dc:creator>JohnW_</dc:creator>
      <dc:date>2015-07-09T14:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: I am running a logistic regression analysis on a categorical variable adjusting another categorical variable. At the same time, I also wanted to run interaction term. When I ran the interaction term, I did not get odds ration estimates! I am confused</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199249#M266646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible that attempting to post your entire question in the subject will make it impossible to respond. There seems to be a bug related to the length or content of the titles.&lt;/P&gt;&lt;P&gt;Better would be a subject similar to:&lt;/P&gt;&lt;P&gt;Missing odds ration with interaction terms in proc logistic&lt;/P&gt;&lt;P&gt;and them provide additional details about what you were trying to accomplish , what code you tried and what did not work as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 15:29:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-am-running-a-logistic-regression-analysis-on-a-categorical/m-p/199249#M266646</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-07-09T15:29:41Z</dc:date>
    </item>
  </channel>
</rss>

