<?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; output does not give odds ratio in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42665#M1850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I used following SAS procedure. to get the OR for interaction term,.&lt;/P&gt;&lt;P&gt;I have never used the proc glimmix before. I am attaching the output in the original post. &lt;/P&gt;&lt;P&gt;WIll appreciate if some one could let me know if it is the correct output and how to interprete it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;glimmix&lt;/STRONG&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; =library.nismicathcabg4&amp;nbsp; ; &lt;/SPAN&gt;&lt;STRONG style="color: green; font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;*/ridging=absolute not needed*/;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;&amp;nbsp;&amp;nbsp; female dm dmcx htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1&amp;nbsp;&amp;nbsp; ZIPINC_QRTL hosp_location h_contrl hosp_teach&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail tumor&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;ulcer valve wghtloss cararrhythmia ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;&amp;nbsp; died=&amp;nbsp; age female&amp;nbsp; dm dmcx htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1 zipinc_qrtl hosp_location h_contrl hosp_teach&amp;nbsp; TOTAL_DISC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail tumor &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;ulcer valve wghtloss cararrhythmia female*ZIPINC_QRTL/&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;dist&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=binary;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;lsmeans&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; female*ZIPINC_QRTL/ &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;slicediff&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=female &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;oddsratio&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; cl;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;weight&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; discwt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;title&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: purple; font-size: 14pt;"&gt;'Logi Reg interaction in-hosp mortality vs gender in overall patients using "where" option with RACE '&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2012 00:35:25 GMT</pubDate>
    <dc:creator>Ashwini_uci</dc:creator>
    <dc:date>2012-03-30T00:35:25Z</dc:date>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42658#M1843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;i am trying to use the interaction terms (gender*income) in proc logistic, and the program looks like below,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;&lt;STRONG style="color: navy; background-color: white;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background-color: white;"&gt;logistic&lt;/STRONG&gt; &lt;SPAN style="background-color: white; color: blue;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt; =library.nismicathcabg4 &lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt; ; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt;&amp;nbsp; gender&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt;= first) dm dmcx htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1(&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt;=first)&amp;nbsp; income (&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt;=first) hosp_location h_contrl(&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt;=first) hosp_teach bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail tumor&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;&lt;SPAN style="background-color: white; color: black;"&gt;ulcer valve wghtloss cararrhythmia /&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;param&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt;=ref;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt;&amp;nbsp; died=&amp;nbsp; age female&amp;nbsp; dm dmcx&amp;nbsp; htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1 zipinc_qrtl hosp_location h_contrl hosp_teach&amp;nbsp; TOTAL_DISC bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail tumor ulcer valve wghtloss cararrhythmia &lt;SPAN style="color: #ff0000;"&gt;gender*income; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;weight&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt; discwt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;&lt;SPAN style="background-color: white; color: blue;"&gt;title&lt;/SPAN&gt; &lt;SPAN style="background-color: white; color: purple;"&gt;'Logi Reg interaction in-hosp mortality vs gender in overall patients using "where" option with RACE '&lt;/SPAN&gt;&lt;SPAN style="background-color: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;&lt;STRONG style="color: navy; background-color: white;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="background-color: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;&lt;STRONG style="color: navy; background-color: white;"&gt;quit&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;But the output &lt;SPAN style="text-decoration: underline;"&gt;doesnot give me the odds ratio and CI levels&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;It shows only the significance level.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 14pt;"&gt;I am wondering what i should do to get the Odds ratio and CI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashwini&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interaction terms Odds ratio using proc glimmix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 22:41:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42658#M1843</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-03-23T22:41:36Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42659#M1844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the docs, I think it has an example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the docs:&lt;/P&gt;&lt;P&gt;"If you need to compute odds ratios for an effect involved in interactions or nestings, or using some other parameterization, then you should specify an &lt;A href="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/statug_logistic_sect017.htm" style="font-weight: normal; font-style: normal; font-size: 13px; line-height: 1.25em; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; text-align: left; text-decoration: underline; color: #0000cc;"&gt;ODDSRATIO&lt;/A&gt; statement for that effect."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 23:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42659#M1844</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-03-23T23:34:16Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42660#M1845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Reeza,&amp;nbsp; but I have been looking up online about using the ODDSratio statement but havenot found anything so far.&lt;/P&gt;&lt;P&gt;Not sure where exactly to include the ODDS ratio statement in the model.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 22:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42660#M1845</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-03-27T22:41:46Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42661#M1846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was working on a project like this last week. The same problem happened to me! If my memory serves me correct, you should have a data step above the proc logistic step in which you define the interaction terms. So I think if you did something like this, it would work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data= library.interaction; set library.nismicathcabg4;&lt;/P&gt;&lt;P&gt;gender_income=gender*income; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc logistic data=library.interaction;&lt;/P&gt;&lt;P&gt;Class gender income [and other variables] gender_income;&lt;/P&gt;&lt;P&gt;Model died = gender income [and other variables] gender_income;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the exact code I used for mine, and it gave me odds ratios (below). Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA CTS.interaction; set CTS.smokedrop;&lt;/P&gt;&lt;P&gt;gender_parentsmokes= gender*parentsmokes;&lt;/P&gt;&lt;P&gt;gender_sport= gender*sport;&lt;/P&gt;&lt;P&gt;gender_white= gender*ethnic_white;&lt;/P&gt;&lt;P&gt;gender_age=gender*age;&lt;/P&gt;&lt;P&gt;age_parentsmokes= AGE*PARENTSMOKES;&lt;/P&gt;&lt;P&gt;age_white= AGE*ETHNIC_WHITE; &lt;/P&gt;&lt;P&gt;age_sport= AGE*SPORT; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*VANI GOT AGE*BFGF AGE*RACE RD*BFGF*/&lt;/P&gt;&lt;P&gt;proc logistic data=CTS.interaction desc;&lt;/P&gt;&lt;P&gt;class PARENTSMOKES(DESCENDING) GENDER(DESCENDING) SPORT(DESCENDING) ethnic_white(DESCENDING) &lt;/P&gt;&lt;P&gt;gender_parentsmokes(DESCENDING)&amp;nbsp;&amp;nbsp; gender_sport(DESCENDING) gender_white(DESCENDING); &lt;/P&gt;&lt;P&gt;model CIGMONTHS =&amp;nbsp; ETHNIC AGE PARENTSMOKES GENDER SPORT SMOKE ethnic_white &lt;/P&gt;&lt;P&gt;gender_parentsmokes gender_sport gender_white gender_age &lt;/P&gt;&lt;P&gt;age_parentsmokes&amp;nbsp; age_white age_sport /lackfit; &lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 08:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42661#M1846</guid>
      <dc:creator>ginak</dc:creator>
      <dc:date>2012-03-28T08:20:14Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42662#M1847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a 'statement' not an option in the model. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you check the docs you'll see it has its own line and you set how you want it to look. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general you can't get odds ratio for the variables in an interaction term anyways unless you consider the levels of the other variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for your model &lt;/P&gt;&lt;P&gt;add the lines for your variables that are in the interaction terms:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Other model statements go before;&lt;/P&gt;&lt;P&gt;oddsratio gender;&lt;/P&gt;&lt;P&gt;oddsration income;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 21:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42662#M1847</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-03-28T21:22:56Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42663#M1848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This usage note is very helpful regarding odds ratios for interactions. Starting in SAS 9.2, several nice features have been added to LOGISTIC.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/24/455.html"&gt;http://support.sas.com/kb/24/455.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 01:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42663#M1848</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2012-03-29T01:12:37Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42664#M1849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thanks for your reply with the above example.&lt;/P&gt;&lt;P&gt;It does work but I am not sure how to read the results. The gender variable has 2 (0= male 1= female) levels and the income has 4 level,(coded 1 to 4 for income strata)&amp;nbsp; so basically both are categorical varibales.&lt;/P&gt;&lt;P&gt;The 3 Odds ratio show as gender_income= 1 vs 4, 2 vs 4 and 3 vs 4. it is not showing the cateogry coded as "0" in the new gender*income variable. The new gender _icnome variable has 45 categories, (0,1,2,3,4)&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 21:54:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42664#M1849</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-03-29T21:54:55Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42665#M1850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I used following SAS procedure. to get the OR for interaction term,.&lt;/P&gt;&lt;P&gt;I have never used the proc glimmix before. I am attaching the output in the original post. &lt;/P&gt;&lt;P&gt;WIll appreciate if some one could let me know if it is the correct output and how to interprete it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;glimmix&lt;/STRONG&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; =library.nismicathcabg4&amp;nbsp; ; &lt;/SPAN&gt;&lt;STRONG style="color: green; font-size: 14pt; background-color: yellow; font-family: Calibri;"&gt;*/ridging=absolute not needed*/;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;&amp;nbsp;&amp;nbsp; female dm dmcx htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1&amp;nbsp;&amp;nbsp; ZIPINC_QRTL hosp_location h_contrl hosp_teach&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail tumor&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;ulcer valve wghtloss cararrhythmia ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;&amp;nbsp; died=&amp;nbsp; age female&amp;nbsp; dm dmcx htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1 zipinc_qrtl hosp_location h_contrl hosp_teach&amp;nbsp; TOTAL_DISC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail tumor &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;ulcer valve wghtloss cararrhythmia female*ZIPINC_QRTL/&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;dist&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=binary;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;lsmeans&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; female*ZIPINC_QRTL/ &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;slicediff&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=female &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;oddsratio&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; cl;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;weight&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; discwt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;title&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: purple; font-size: 14pt;"&gt;'Logi Reg interaction in-hosp mortality vs gender in overall patients using "where" option with RACE '&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 00:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42665#M1850</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-03-30T00:35:25Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42666#M1851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thanks Reea, but I wonder when you mention docs, what are you exactly referring to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 00:40:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42666#M1851</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-03-30T00:40:33Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42667#M1852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what option do i use in proc glimmix to model the probabilty that Died=1?&lt;/P&gt;&lt;P&gt;in proc logistic i used 'desceding ' option.. it doesnot work in proc glimmix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE cellpadding="5" cellspacing="0" class="table" frame="box" rules="all" summary="Procedure Glimmix: Response Profiles"&gt;&lt;TFOOT&gt;&lt;TR&gt;&lt;TH class="c b footer" colspan="3"&gt;The GLIMMIX procedure is modeling the probability that DIED='0: Did not die in hospital'.&lt;/TH&gt;&lt;/TR&gt;&lt;/TFOOT&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 00:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42667#M1852</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-03-30T00:44:24Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42668#M1853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get the impression that you did not follow the links within the site I told you about. Example 3 gives you many details on using LOGISTIC for odds ratios with interactions. You don't need GLIMMIX. &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/24/447.html#ex3"&gt;http://support.sas.com/kb/24/447.html#ex3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other docs would be the User's Guide for LOGISTIC that describes the ODDSRATIO statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 01:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42668#M1853</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2012-03-30T01:44:52Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42669#M1854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the above link. I read all of it and only a small part made sense to me, may be because I dont have a good mathematical background. Bases on that documentation;I came up with these code for my data anayses, using contrast stament and oddsratio stament in prc logistic.&lt;/P&gt;&lt;P&gt;I would like to make sure, if it looks correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to see the interaction between gender (variable &lt;STRONG style="text-decoration: underline;"&gt;female&lt;/STRONG&gt;)&amp;nbsp; and underwent any cardiac procedure (variable &lt;STRONG&gt;annyproc1&lt;/STRONG&gt;) and looking at the outcome= inhospital mortality/(variable &lt;STRONG style="text-decoration: underline;"&gt;died&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;Proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;logistic&lt;/STRONG&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=library.nismicathcabg4 &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;Class&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; female&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;= first) dm dmcx htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1(&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=first)&amp;nbsp;&amp;nbsp; ZIPINC_QRTL(&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=first) hosp_location h_contrl(&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=first) hosp_teach &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail tumor anyproc1 &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;ulcer valve wghtloss cararrhythmia&amp;nbsp; /&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;param&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=ref;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;Model&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; died = age&amp;nbsp; dm dmcx htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1 zipinc_qrtl hosp_location h_contrl hosp_teach&amp;nbsp; TOTAL_DISC &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail&amp;nbsp;&amp;nbsp; tumor &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;ulcer valve wghtloss cararrhythmia anyproc1 female (anyproc1 )/&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;expb&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;contrast&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: purple; font-size: 14pt;"&gt;'female 1 vs 0 in anyproc1'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; female (anyproc1 ) &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;1&lt;/STRONG&gt; &lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;0&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; -&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;1&lt;/STRONG&gt; &lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;estimate&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=both;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;weight&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; discwt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;title&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: purple; font-size: 14pt;"&gt;'Logi Reg interaction between anyproc vs gender in overall patients using "where" option with RACE '&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;Proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;logistic&lt;/STRONG&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=library.nismicathcabg4 &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;descending&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;Class&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; female&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;= first) dm dmcx htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1(&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=first)&amp;nbsp;&amp;nbsp; ZIPINC_QRTL(&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=first) hosp_location h_contrl(&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=first) hosp_teach &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail tumor anyproc1 &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;ulcer valve wghtloss cararrhythmia&amp;nbsp; /&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;param&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=ref;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;Model&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; died = age female&amp;nbsp; dm dmcx htn_c&amp;nbsp; aids alcohol ANEMDEF arth race1 zipinc_qrtl hosp_location h_contrl hosp_teach&amp;nbsp; TOTAL_DISC &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;bldloss chf chrnlung coag depress drug hypothy liver lymph lytes mets neuro obese para perivasc psych pulmcirc renlfail&amp;nbsp; anyproc1 tumor &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;ulcer valve wghtloss cararrhythmia&amp;nbsp; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;oddsratio&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; female / &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;at&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;(anyproc=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: purple; font-size: 14pt;"&gt;'1'&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;weight&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; discwt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;title&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: purple; font-size: 14pt;"&gt;'Logi Reg interaction between anyproc vs gender in overall patients using "where" option with RACE '&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the contrast statement:&lt;/P&gt;&lt;P&gt;I could find&amp;nbsp; on this link what do &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;1&lt;/STRONG&gt; &lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;0&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; -&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;1&lt;/STRONG&gt; &lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;/&lt;/SPAN&gt; mean from following statement, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;contrast&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: Calibri; color: purple; font-size: 14pt;"&gt;'female 1 vs 0 in anyproc1'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; female (anyproc1 ) &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;1&lt;/STRONG&gt; &lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;0&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt; -&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;1&lt;/STRONG&gt; &lt;STRONG style="color: teal; font-size: 14pt; background-color: white; font-family: Calibri;"&gt;000&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: blue; font-size: 14pt;"&gt;estimate&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: Calibri; color: black; font-size: 14pt;"&gt;=both;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your resposne,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Apr 2012 03:57:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42669#M1854</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-04-01T03:57:15Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42670#M1855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Also after running the modelw ith oddsratio statement, I didn't find the "p value/ the significance level", in the output, It does show the ods ratio but not the p value/ .&lt;/P&gt;&lt;P&gt;Where should i look for the p value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the output to the original post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Apr 2012 03:59:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42670#M1855</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-04-01T03:59:29Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42671#M1856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not get a p value with the ODDSRATIO statement. If the confidence interval does not include 1, then the effect is significant.You can get the p value from the contrast or estimate statement. If you set up the contrast statement correctly, then the odds ratio output should be the same as the contrast output (for the row corresponding to type=EXP). &lt;/P&gt;&lt;P&gt;The numbers in the contrast statement are the coefficients that multiple the estimated effects to give the desired contrast. Since you don't recognize these, you must be new to the use of contrast and estimate statements. You would have to do quite a bit of reading in the logistic, or genmod, or glm procedures to get comfortable with these. I don't know how many levels there are for anyproc1, and the specific order of the one you are interested in. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 01:58:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42671#M1856</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2012-04-02T01:58:21Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42672#M1857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure the code you attached had an interaction term? I didn't search thoroughly but didn't see it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should see the p-value in your parameter estimates section, see the example here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_logistic_sect060.htm"&gt;http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_logistic_sect060.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See output 51.2.3 where the treatment*sex has the diff levels and the p-values. That's what you should see in your output or look for at least. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also to get your output to PDF you can do the following instead of the conversion that your currently doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods pdf file='C:\test.pdf';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title 'this is my nicer looking pdf';&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods pdf close;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 17:23:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42672#M1857</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-04-02T17:23:18Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42673#M1858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank for confirming that the Odds ratio is the value corresponding to type=EXP.&lt;/P&gt;&lt;P&gt;Yes, that is right, i never worked with interactions before, will try to spend some time understanding those numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the interaction variables i am using are all binary coded as 0 and 1.&lt;/P&gt;&lt;P&gt;Variable female coded as (0= male , 1= female) &lt;/P&gt;&lt;P&gt;Variable anyproc1 coded as (0= no, 1= yes) &lt;/P&gt;&lt;P&gt;Variable noproc1 coded as (0= no, 1= yes) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check the interactions between women*anyproc1=1(women who underwent any procedure) , women*noproc1=1, and&amp;nbsp; men*noproc1=1 as compared to men*anyproc=1.&lt;/P&gt;&lt;P&gt;How should I go about this?&lt;/P&gt;&lt;P&gt;How do i inlcude all 3 interactions terms in the model and compare them with the ref (men*anyproc=1)?&lt;/P&gt;&lt;P&gt;Appreciate any help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 19:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42673#M1858</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-04-02T19:16:57Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42674#M1859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variable female coded as (0= male , 1= female) &lt;/P&gt;&lt;P&gt;Variable anyproc1 coded as (0= no, 1= yes) &lt;/P&gt;&lt;P&gt;Variable noproc1 coded as (0= no, 1= yes) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For these variables&lt;/P&gt;&lt;P&gt;what happens when run the following? ie are the variables essentially the same thing coded?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=your_data;&lt;/P&gt;&lt;P&gt;table anyproc1*noproc1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 19:49:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42674#M1859</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-04-02T19:49:55Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42675#M1860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I didnot quite understand your reply, Reeza. Would you please be more elaborate?&lt;/P&gt;&lt;P&gt;I want to check the above interactions..stated in my previous post..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 20:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42675#M1860</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-04-02T20:57:44Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42676#M1861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for sharing the code for creating pdf..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 20:59:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42676#M1861</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2012-04-02T20:59:59Z</dc:date>
    </item>
    <item>
      <title>Interaction terms in proc logistic; output does not give odds ratio</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42677#M1862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My question is how are the two variables anyproc1 and noproc1 related. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If noproc1=1 then a patient has no procedure and anyproc1 would always be 0?&lt;/P&gt;&lt;P&gt;And if noproc1=0 then anyproc1 would always be 1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't sound like you'd need both of those variables in your model unless they happen to be measuring different things.&amp;nbsp; &lt;/P&gt;&lt;P&gt;You can check for this by running a proc freq on the variables and see how the variables are coded.&amp;nbsp; If they are coded as I'm guessing then you've overparameterized your model. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 21:03:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-terms-in-proc-logistic-output-does-not-give-odds/m-p/42677#M1862</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-04-02T21:03:01Z</dc:date>
    </item>
  </channel>
</rss>

