<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Questions about interaction term in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193515#M48617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking at the overlap in the confidence bounds on the two odds ratios, I am not surprised that the test for the point interaction is not significant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;European (1.229, 2.821)&lt;/P&gt;&lt;P&gt;Asian&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0.219, 2.382)&lt;/P&gt;&lt;P&gt;Note also, that there is a significant weight effect in the European dataset that is not found in the Asian dataset.&amp;nbsp; This may be a confounded variable.&amp;nbsp; What happens if you add population*weight to the model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 19:55:29 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2015-03-04T19:55:29Z</dc:date>
    <item>
      <title>Questions about interaction term</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193514#M48616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I know this forum is mainly for help with the SAS code itself and I have received some fantastic answers here, I would really appreciate if anyone could please help me with this.&lt;/P&gt;&lt;P&gt;I am doing a regression analysis, looking at the effect of 2 drugs (A or B) in a population where we stratified individuals by ethnic group:&lt;/P&gt;&lt;P&gt;Estimates for European Population&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;data&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;=Studydatabase;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;class&lt;/SPAN&gt; sex drug study;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;model&lt;/SPAN&gt; Efficacy (&lt;SPAN class="s2"&gt;event&lt;/SPAN&gt;=&lt;SPAN class="s3"&gt;'Good'&lt;/SPAN&gt;)=&amp;nbsp;&amp;nbsp; drug age sex weight egfr;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;where&lt;/SPAN&gt; population=&lt;SPAN class="s3"&gt;'European'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Effect&lt;/TD&gt;&lt;TD&gt;OddsRatioEst&lt;/TD&gt;&lt;TD&gt;LowerCL&lt;/TD&gt;&lt;TD&gt;UpperCL&lt;/TD&gt;&lt;TD&gt;ProbChiSq&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Age&lt;/TD&gt;&lt;TD&gt;1.005&lt;/TD&gt;&lt;TD&gt;0.973&lt;/TD&gt;&lt;TD&gt;1.037&lt;/TD&gt;&lt;TD&gt;0.7729&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Drug A vs B&lt;/TD&gt;&lt;TD&gt;1.862&lt;/TD&gt;&lt;TD&gt;1.229&lt;/TD&gt;&lt;TD&gt;2.821&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="color: #ff0000;"&gt;0.0033&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sex Female vs Male&lt;/TD&gt;&lt;TD&gt;1.469&lt;/TD&gt;&lt;TD&gt;0.925&lt;/TD&gt;&lt;TD&gt;2.334&lt;/TD&gt;&lt;TD&gt;0.1033&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Weight&lt;/TD&gt;&lt;TD&gt;1.015&lt;/TD&gt;&lt;TD&gt;1.001&lt;/TD&gt;&lt;TD&gt;1.028&lt;/TD&gt;&lt;TD&gt;0.0346&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;eGFR&lt;/TD&gt;&lt;TD&gt;1.006&lt;/TD&gt;&lt;TD&gt;0.995&lt;/TD&gt;&lt;TD&gt;1.016&lt;/TD&gt;&lt;TD&gt;0.2967&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;________________________________________&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Estimates for Asian Population&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1" style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;data&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;=Studydatabase;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2" style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="s2"&gt;class&lt;/SPAN&gt; sex drug study;&lt;/P&gt;&lt;P class="p2" style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="s2"&gt;model&lt;/SPAN&gt; Efficacy (&lt;SPAN class="s2"&gt;event&lt;/SPAN&gt;=&lt;SPAN class="s3"&gt;'Good'&lt;/SPAN&gt;)=&amp;nbsp;&amp;nbsp; drug age sex weight egfr;&lt;/P&gt;&lt;P class="p2" style="font-size: 13.3333330154419px;"&gt;&lt;SPAN class="s2"&gt;where&lt;/SPAN&gt; population=&lt;SPAN class="s3"&gt;'Asian'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P class="p1" style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Obs&lt;/TD&gt;&lt;TD&gt;Effect&lt;/TD&gt;&lt;TD&gt;OddsRatioEst&lt;/TD&gt;&lt;TD&gt;LowerCL&lt;/TD&gt;&lt;TD&gt;UpperCL&lt;/TD&gt;&lt;TD&gt;ProbChiSq&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Age&lt;/TD&gt;&lt;TD&gt;1.047&lt;/TD&gt;&lt;TD&gt;0.994&lt;/TD&gt;&lt;TD&gt;1.103&lt;/TD&gt;&lt;TD&gt;0.0839&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Drug A vs B&lt;/TD&gt;&lt;TD&gt;0.719&lt;/TD&gt;&lt;TD&gt;0.217&lt;/TD&gt;&lt;TD&gt;2.382&lt;/TD&gt;&lt;TD&gt;0.5892&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Sex Female vs Male&lt;/TD&gt;&lt;TD&gt;1.932&lt;/TD&gt;&lt;TD&gt;0.445&lt;/TD&gt;&lt;TD&gt;8.384&lt;/TD&gt;&lt;TD&gt;0.3795&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Weight&lt;/TD&gt;&lt;TD&gt;0.987&lt;/TD&gt;&lt;TD&gt;0.954&lt;/TD&gt;&lt;TD&gt;1.020&lt;/TD&gt;&lt;TD&gt;0.4357&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;eGFR&lt;/TD&gt;&lt;TD&gt;1.014&lt;/TD&gt;&lt;TD&gt;0.991&lt;/TD&gt;&lt;TD&gt;1.036&lt;/TD&gt;&lt;TD&gt;0.2300&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;As you can notice, the influence of&amp;nbsp; drug is significant in the European, but not in the Asian population. One could interpret this as the effect of the drug being modified according to the study subpopulation, and hence expect the &lt;/SPAN&gt;p value&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; for interaction to be significant, but it is not at all!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;data&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Studydatabase&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;class&lt;/SPAN&gt; sex drug study;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;model&lt;/SPAN&gt; effectnum (&lt;SPAN class="s2"&gt;event&lt;/SPAN&gt;=&lt;SPAN class="s3"&gt;'Good'&lt;/SPAN&gt;)=&amp;nbsp; study drug age sex weight egfr &lt;SPAN style="font-size: 13.3333330154419px;"&gt;population&lt;/SPAN&gt;*drug;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interactin term P value&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ProbChiSq&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;0.1874&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this forum is mainly for questions regarding the SAS code itself, but I would appreciate any help from all the SAS and statistics experts here&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Am&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;/P&gt;&lt;P&gt;Any explanation please? Am I missing something&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 02:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193514#M48616</guid>
      <dc:creator>ammarhm</dc:creator>
      <dc:date>2015-03-04T02:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about interaction term</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193515#M48617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking at the overlap in the confidence bounds on the two odds ratios, I am not surprised that the test for the point interaction is not significant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;European (1.229, 2.821)&lt;/P&gt;&lt;P&gt;Asian&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0.219, 2.382)&lt;/P&gt;&lt;P&gt;Note also, that there is a significant weight effect in the European dataset that is not found in the Asian dataset.&amp;nbsp; This may be a confounded variable.&amp;nbsp; What happens if you add population*weight to the model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 19:55:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193515#M48617</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-03-04T19:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about interaction term</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193516#M48618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Dear Steve&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thank you very much, I have also noticed the overlap in the confidence intervals.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Could you please how to add the *weight term in the code? I mean if I do this I would get an error as I don't have a variable (weight):&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P class="p1" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;proc&lt;/STRONG&gt;&lt;SPAN class="s1" style="font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;logistic&lt;/STRONG&gt;&lt;SPAN class="s1" style="font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2" style="font-style: inherit; font-family: inherit;"&gt;data&lt;/SPAN&gt;&lt;SPAN class="s1" style="font-style: inherit; font-family: inherit;"&gt;=&lt;SPAN style="font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Studydatabase&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN class="s2" style="font-style: inherit; font-family: inherit;"&gt;class&lt;/SPAN&gt; sex drug study;&lt;/P&gt;&lt;P class="p2" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN class="s2" style="font-style: inherit; font-family: inherit;"&gt;model&lt;/SPAN&gt; effectnum (&lt;SPAN class="s2" style="font-style: inherit; font-family: inherit;"&gt;event&lt;/SPAN&gt;=&lt;SPAN class="s3" style="font-style: inherit; font-family: inherit;"&gt;'Good'&lt;/SPAN&gt;)=&amp;nbsp; study drug age sex weight egfr &lt;SPAN style="font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;population&lt;/SPAN&gt;*weight;&lt;/P&gt;&lt;P class="p1" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;run&lt;/STRONG&gt;&lt;SPAN class="s1" style="font-style: inherit; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P class="p1" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 22:48:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193516#M48618</guid>
      <dc:creator>ammarhm</dc:creator>
      <dc:date>2015-03-04T22:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about interaction term</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193517#M48619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Dear Steve&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thank you very much, I have also noticed the overlap in the confidence intervals.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Could you please how to add the *weight term in the code? I mean if I do this I would get an error as I don't have a variable (weight):&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P class="p1" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;proc&lt;/STRONG&gt;&lt;SPAN class="s1" style="font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;logistic&lt;/STRONG&gt;&lt;SPAN class="s1" style="font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2" style="font-style: inherit; font-family: inherit;"&gt;data&lt;/SPAN&gt;&lt;SPAN class="s1" style="font-style: inherit; font-family: inherit;"&gt;=&lt;SPAN style="font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Studydatabase&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN class="s2" style="font-style: inherit; font-family: inherit;"&gt;class&lt;/SPAN&gt; sex drug study;&lt;/P&gt;&lt;P class="p2" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN class="s2" style="font-style: inherit; font-family: inherit;"&gt;model&lt;/SPAN&gt; effectnum (&lt;SPAN class="s2" style="font-style: inherit; font-family: inherit;"&gt;event&lt;/SPAN&gt;=&lt;SPAN class="s3" style="font-style: inherit; font-family: inherit;"&gt;'Good'&lt;/SPAN&gt;)=&amp;nbsp; study drug age sex weight egfr &lt;SPAN style="font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;population&lt;/SPAN&gt;*weight;&lt;/P&gt;&lt;P class="p1" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;run&lt;/STRONG&gt;&lt;SPAN class="s1" style="font-style: inherit; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P class="p1" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 23:01:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193517#M48619</guid>
      <dc:creator>ammarhm</dc:creator>
      <dc:date>2015-03-04T23:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about interaction term</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193518#M48620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You had the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;data&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;=&lt;SPAN style="font-size: 13px;"&gt;Studydatabase&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;class&lt;/SPAN&gt; sex drug study;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;model&lt;/SPAN&gt; effectnum (&lt;SPAN class="s2"&gt;event&lt;/SPAN&gt;=&lt;SPAN class="s3"&gt;'Good'&lt;/SPAN&gt;)=&amp;nbsp; study drug age sex weight egfr &lt;SPAN style="font-size: 13px;"&gt;population&lt;/SPAN&gt;*drug;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now one thing I would do before continuing is to include 'population' in the class statement, which would give:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;data&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;=&lt;SPAN style="font-size: 13px;"&gt;Studydatabase&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;class&lt;/SPAN&gt; sex drug study population;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;model&lt;/SPAN&gt; effectnum (&lt;SPAN class="s2"&gt;event&lt;/SPAN&gt;=&lt;SPAN class="s3"&gt;'Good'&lt;/SPAN&gt;)=&amp;nbsp; study drug age sex weight egfr &lt;SPAN style="font-size: 13px;"&gt;population&lt;/SPAN&gt;*drug;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Now in both of these model statements, there is a variable called 'weight', right there before egfr.&amp;nbsp; It is not in the class statement, so I assume that it is a continuous covariate, and the Odds Ratio estimate of 0.987 says that the odds of a good event decrease slightly for each one unit increase in weight.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I suggested adding the term weight*population to the model, as I believe the event occurrence relationship to weight may differ in the two populations, and this needs to be removed as a possible confounder of the drug effect.&amp;nbsp; This would result in the following code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;data&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;=&lt;SPAN style="font-size: 13px;"&gt;Studydatabase&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;class&lt;/SPAN&gt; sex drug study population;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;model&lt;/SPAN&gt; effectnum (&lt;SPAN class="s2"&gt;event&lt;/SPAN&gt;=&lt;SPAN class="s3"&gt;'Good'&lt;/SPAN&gt;)=&amp;nbsp; study drug age sex weight egfr population*weight &lt;SPAN style="font-size: 13px;"&gt;population&lt;/SPAN&gt;*drug;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Steve Denham&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 20:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Questions-about-interaction-term/m-p/193518#M48620</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-03-05T20:25:12Z</dc:date>
    </item>
  </channel>
</rss>

