<?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 interaction terms in proc logistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/interaction-terms-in-proc-logistic/m-p/37494#M1567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;In the program below, I want to check the interaction between gender*race and gender*income.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;In the model, I have 4 individual race variables and 3 individual income variables. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;I also have a another form of&amp;nbsp; “RACE” and “Income” variables, with 5 and 4 different levels, such as 1= white, 2=black, 3= hispanic, 4 =asian and 5=others and Income as 1= first quartile 2-= second quartile, 3= 3rd quartile and 4= 4th quartile. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Garamond; background: white; color: blue; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;I created the below yellow highlighted &lt;STRONG style=": ; text-decoration: underline; font-weight: bold;"&gt;dichotomous&lt;/STRONG&gt; variables from the above nominal variables to use them in the model;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;Such as for race;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; background-color: yellow; font-family: Calibri;"&gt;black , Hispanic, asian, otherraces, and Caucasian is a reference (these are dummy coded variables) from main variable “RACE”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;for income;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; background-color: yellow; font-family: Calibri;"&gt;secquart, thirquart, fourquart, (First quartile is the reference, again dummy coded from main variable “INCOME”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; font-family: Garamond;"&gt;So which form of race and income variables should I use in interaction?&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt; font-family: Times New Roman;"&gt;I came up with following 2 types of models with interaction terms, please have a look at them and guide me as to which one of these is the correct one?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;logistic&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;=library.nismicathcabg1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;model &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;died=&amp;nbsp; age gender &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;black hispanic asian otherraces secquart thirquart fourquart&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; bldloss chf chrnlung coag depress drug hypothy liver lymph &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;gender*black gender*hispanic gender*asian gender*otherraces &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; color: #0000ff; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;gender*secquart gender*thirquart gender*fourquart;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;'Logi Reg in-hosp mortality vs gender in MI patients with race + income'&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; background-color: yellow; font-family: Calibri;"&gt;This includes the nominal RACE AND INCOME variable in the interaction terms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;logistic&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;=library.nismicathcabg1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;model &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;died=&amp;nbsp; age gender &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;black hispanic asian otherraces secquart thirquart fourquart&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; bldloss chf chrnlung coag depress drug hypothy liver lymph &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;gender*race gender*income&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;'Logi Reg in-hosp mortality vs gender in MI patients with race + income'&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;logistic&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;=library.nismicathcabg1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;class gender &lt;/SPAN&gt;race (&lt;SPAN style="color: #0000ff;"&gt;ref&lt;/SPAN&gt;= first) income&amp;nbsp; (&lt;SPAN style="color: #0000ff;"&gt;ref&lt;/SPAN&gt;=first) /param=ref;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;model &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;died=&amp;nbsp; age gender &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;race&amp;nbsp; income&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; bldloss chf chrnlung coag depress drug hypothy liver lymph &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;gender*race1&amp;nbsp; gender*income&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;'Logi Reg in-hosp mortality vs gender in MI patients with race + income'&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;which one of these is right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;Appreciate your suggestions. i have never worked with 'interactions'&amp;nbsp; before.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;After I run these models, I get different numbers and the output doesnot show "ODDS estimate for gender, and the variables that are used in interaction terms. I am not sure if i am doing it right, as it is strange not to get the ODDS estimate for only these variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Oct 2011 01:16:38 GMT</pubDate>
    <dc:creator>Ashwini_uci</dc:creator>
    <dc:date>2011-10-29T01:16:38Z</dc:date>
    <item>
      <title>interaction terms in proc logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/interaction-terms-in-proc-logistic/m-p/37494#M1567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;In the program below, I want to check the interaction between gender*race and gender*income.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;In the model, I have 4 individual race variables and 3 individual income variables. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;I also have a another form of&amp;nbsp; “RACE” and “Income” variables, with 5 and 4 different levels, such as 1= white, 2=black, 3= hispanic, 4 =asian and 5=others and Income as 1= first quartile 2-= second quartile, 3= 3rd quartile and 4= 4th quartile. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Garamond; background: white; color: blue; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;I created the below yellow highlighted &lt;STRONG style=": ; text-decoration: underline; font-weight: bold;"&gt;dichotomous&lt;/STRONG&gt; variables from the above nominal variables to use them in the model;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;Such as for race;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; background-color: yellow; font-family: Calibri;"&gt;black , Hispanic, asian, otherraces, and Caucasian is a reference (these are dummy coded variables) from main variable “RACE”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt;for income;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; background-color: yellow; font-family: Calibri;"&gt;secquart, thirquart, fourquart, (First quartile is the reference, again dummy coded from main variable “INCOME”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; font-family: Garamond;"&gt;So which form of race and income variables should I use in interaction?&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt; font-family: Times New Roman;"&gt;I came up with following 2 types of models with interaction terms, please have a look at them and guide me as to which one of these is the correct one?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;logistic&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;=library.nismicathcabg1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;model &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;died=&amp;nbsp; age gender &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;black hispanic asian otherraces secquart thirquart fourquart&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; bldloss chf chrnlung coag depress drug hypothy liver lymph &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;gender*black gender*hispanic gender*asian gender*otherraces &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; color: #0000ff; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;gender*secquart gender*thirquart gender*fourquart;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;'Logi Reg in-hosp mortality vs gender in MI patients with race + income'&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; background-color: yellow; font-family: Calibri;"&gt;This includes the nominal RACE AND INCOME variable in the interaction terms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 12pt; background-color: white; font-family: Garamond;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;logistic&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;=library.nismicathcabg1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;model &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;died=&amp;nbsp; age gender &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;black hispanic asian otherraces secquart thirquart fourquart&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; bldloss chf chrnlung coag depress drug hypothy liver lymph &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;gender*race gender*income&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;'Logi Reg in-hosp mortality vs gender in MI patients with race + income'&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;logistic&lt;/STRONG&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;=library.nismicathcabg1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;class gender &lt;/SPAN&gt;race (&lt;SPAN style="color: #0000ff;"&gt;ref&lt;/SPAN&gt;= first) income&amp;nbsp; (&lt;SPAN style="color: #0000ff;"&gt;ref&lt;/SPAN&gt;=first) /param=ref;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;model &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;died=&amp;nbsp; age gender &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;race&amp;nbsp; income&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; bldloss chf chrnlung coag depress drug hypothy liver lymph &lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;gender*race1&amp;nbsp; gender*income&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;title&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri; font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;'Logi Reg in-hosp mortality vs gender in MI patients with race + income'&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: navy; font-size: 14pt; background-color: white; font-family: Calibri; font-weight: bold;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;which one of these is right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;Appreciate your suggestions. i have never worked with 'interactions'&amp;nbsp; before.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt;After I run these models, I get different numbers and the output doesnot show "ODDS estimate for gender, and the variables that are used in interaction terms. I am not sure if i am doing it right, as it is strange not to get the ODDS estimate for only these variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; background-color: white; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2011 01:16:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/interaction-terms-in-proc-logistic/m-p/37494#M1567</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2011-10-29T01:16:38Z</dc:date>
    </item>
    <item>
      <title>interaction terms in proc logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/interaction-terms-in-proc-logistic/m-p/37495#M1568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The last one is the best one.&amp;nbsp; However, you should use race in the interaction rather than race1.&amp;nbsp; The reason that you were getting different results in the other ones is that each test is done after controlling for all the only other variables (including the other pieces of the IA terms).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use the ODDSRATIO statement in LOGISTIC to get the ORs for the interaction variables.&amp;nbsp; Check the documentation for its interpretation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2011 20:35:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/interaction-terms-in-proc-logistic/m-p/37495#M1568</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-10-29T20:35:50Z</dc:date>
    </item>
    <item>
      <title>interaction terms in proc logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/interaction-terms-in-proc-logistic/m-p/37496#M1569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks much for your response Doc! I still have to look for more details about using the odds ratio statement as I havenot done it before. I will appreciate if you have any idea about how to go about getting the odds ratio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 01:40:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/interaction-terms-in-proc-logistic/m-p/37496#M1569</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2011-11-01T01:40:11Z</dc:date>
    </item>
    <item>
      <title>interaction terms in proc logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/interaction-terms-in-proc-logistic/m-p/37497#M1570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this usage note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://support.sas.com/kb/24455"&gt;http://support.sas.com/kb/24455&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Example 3 of this usage note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://support.sas.com/kb/24447"&gt;http://support.sas.com/kb/24447&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 18:28:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/interaction-terms-in-proc-logistic/m-p/37497#M1570</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2011-11-04T18:28:32Z</dc:date>
    </item>
  </channel>
</rss>

