<?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 Evaluating Interaction Effects - using ODDSRATIO function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Evaluating-Interaction-Effects-using-ODDSRATIO-function/m-p/204194#M267035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much for your help in advance. &lt;/P&gt;&lt;P&gt;I'm a student and this is my first time trying to create odds ratios for interactions using the ODDSRATIO function. I'm looking at complications after two procedures (variable &lt;EM&gt;procedure&lt;/EM&gt; 1=A, 0=B) and I'm trying to convert back to Odds ratios after looking at the interaction of procedure with race (&lt;EM&gt;procedure *race&lt;/EM&gt;). I want to create following table&amp;nbsp; &lt;STRONG&gt;where procedure=B and race=1 is the reference group. I want to compare all other odds to the odds when procedure =B, race=1. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 259px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" width="73"&gt; &lt;/TD&gt;&lt;TD class="xl63" colspan="2" style="border-left: none;" width="186"&gt;Odds Ratios&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;Race &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.23&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that using the ODDSRATIO column, I know only how to compare within a category (A or B) , such as &lt;/P&gt;&lt;P&gt;ODDSRATIO race / at (procedure = "0") or ODDSRATIO race / at (prsion, ocedure = "1). How can I compare all the races within procedure A to the reference group of procedure B (where race=1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;Louise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2015 20:27:28 GMT</pubDate>
    <dc:creator>LLW</dc:creator>
    <dc:date>2015-06-11T20:27:28Z</dc:date>
    <item>
      <title>Evaluating Interaction Effects - using ODDSRATIO function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Evaluating-Interaction-Effects-using-ODDSRATIO-function/m-p/204194#M267035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you so much for your help in advance. &lt;/P&gt;&lt;P&gt;I'm a student and this is my first time trying to create odds ratios for interactions using the ODDSRATIO function. I'm looking at complications after two procedures (variable &lt;EM&gt;procedure&lt;/EM&gt; 1=A, 0=B) and I'm trying to convert back to Odds ratios after looking at the interaction of procedure with race (&lt;EM&gt;procedure *race&lt;/EM&gt;). I want to create following table&amp;nbsp; &lt;STRONG&gt;where procedure=B and race=1 is the reference group. I want to compare all other odds to the odds when procedure =B, race=1. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 259px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" width="73"&gt; &lt;/TD&gt;&lt;TD class="xl63" colspan="2" style="border-left: none;" width="186"&gt;Odds Ratios&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;Race &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0.60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="15" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1.23&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that using the ODDSRATIO column, I know only how to compare within a category (A or B) , such as &lt;/P&gt;&lt;P&gt;ODDSRATIO race / at (procedure = "0") or ODDSRATIO race / at (prsion, ocedure = "1). How can I compare all the races within procedure A to the reference group of procedure B (where race=1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;Louise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 20:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Evaluating-Interaction-Effects-using-ODDSRATIO-function/m-p/204194#M267035</guid>
      <dc:creator>LLW</dc:creator>
      <dc:date>2015-06-11T20:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating Interaction Effects - using ODDSRATIO function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Evaluating-Interaction-Effects-using-ODDSRATIO-function/m-p/204195#M267036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's more than one way to create Odds Ratios. Show how you are creating yours.&lt;/P&gt;&lt;P&gt;It may be that another procedure would be better for your specific need but I'm not going to guess without some more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 21:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Evaluating-Interaction-Effects-using-ODDSRATIO-function/m-p/204195#M267036</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-06-11T21:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating Interaction Effects - using ODDSRATIO function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Evaluating-Interaction-Effects-using-ODDSRATIO-function/m-p/204196#M267037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;Thank you very much. My current logistic regression is the following. I have left out the other variables in my model so that's it's easier to focus on just the ones with the interaction effects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=data;&lt;/P&gt;&lt;P&gt;class procedure (ref="0") race (ref="1")&amp;nbsp; (&lt;EM&gt;plus other variables to adjust&lt;/EM&gt;) /param=ref;&lt;/P&gt;&lt;P&gt;model tot_comp_result(event='1')= procedure procedure*race race (&lt;EM&gt;plus other variables to adjust);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;ODDSRATIO race;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My answer gives me all OR for a&lt;STRONG&gt;ll race combinations at procedure = A and then all OR for all race combinations at procedure = B&lt;/STRONG&gt;. Is there a way to compare say the OR of (Race=2 and Procedure = A) with (Race=1 and procedure =B) using ODDSRATIO or another function? Or is it better for me to make an indicator function for all combinations of procedure x race (10 total in this case) and bypass any other functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 23:32:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Evaluating-Interaction-Effects-using-ODDSRATIO-function/m-p/204196#M267037</guid>
      <dc:creator>LLW</dc:creator>
      <dc:date>2015-06-11T23:32:27Z</dc:date>
    </item>
  </channel>
</rss>

