<?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: logistic regression with interraction in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/logistic-regression-with-interraction/m-p/446295#M23379</link>
    <description>&lt;P&gt;I mean that you would have to change your model. If you removed one of the interactions, then an ODDSRATIO statement for&amp;nbsp;&lt;SPAN&gt;spring_summer would show odds ratios just at levels of the other variable it still interacts with. However, it would be misleading to run two such models, each with one of the interactions dropped, just so you can generate the odds ratios you say you want. All of your inferences should result from a single model that best reflects reality. You shouldn't have two different versions of reality for the convenience of getting numbers. If the data indicate that&amp;nbsp;spring_summer does interact with both variables, then the correct odds ratios are what you got initially.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Mar 2018 18:00:18 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2018-03-16T18:00:18Z</dc:date>
    <item>
      <title>logistic regression with interraction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/logistic-regression-with-interraction/m-p/445870#M23371</link>
      <description>&lt;P&gt;The purpose of our study is to compare our results for minimum dietary diversity for women during 2 seasons: spring and summer.&lt;/P&gt;&lt;P&gt;We want to check if our confounding variables for women’s dietary diversity interact during the 2 seasons.&lt;/P&gt;&lt;P&gt;I have a question regarding the way we should include interactions in proc logistic when comparing two groups? We felt that it was possible that more than one confounding factor affects the way seasons influence dietary diversity. (For instance, maybe women with greater wealth have lower dietary diversity in the spring as compared to summer because foods are cheaper in the summer. In contrast, maybe women with lesser wealth must sustain on the same types of low-cost food all year-long.)&lt;/P&gt;&lt;P&gt;We used the following program, specifying the types of interactions for which we need to know the odds ratio: spring_summer* v_region_pub and spring_summer * v_urban_rural in this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc logistic data=results2;&lt;/P&gt;&lt;P&gt;class v_region_pub (param=ref ref='1-Sud')&lt;/P&gt;&lt;P&gt;v_urban_rural (param=ref ref='rural')&lt;/P&gt;&lt;P&gt;spring_summer (param=ref ref='spring');&lt;/P&gt;&lt;P&gt;model&lt;/P&gt;&lt;P&gt;MDD_W_5 (event='Oui')=&lt;/P&gt;&lt;P&gt;v_region_pub &amp;nbsp;&lt;/P&gt;&lt;P&gt;v_urban_rural &amp;nbsp;&lt;/P&gt;&lt;P&gt;spring_summer&lt;/P&gt;&lt;P&gt;spring_summer* v_region_pub&lt;/P&gt;&lt;P&gt;spring_summer * v_urban_rural &amp;nbsp;;&lt;/P&gt;&lt;P&gt;oddsratio spring_summer / diff=ref at (v_region_pub=all) cl=pl;&lt;/P&gt;&lt;P&gt;oddsratio spring_summer / diff=ref at (v_urban_rural =all) cl=pl;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though the oddsratio step specifies that we would like the program to generate the odds ratio for :&lt;/P&gt;&lt;P&gt;spring_summer* v_region_pub and&lt;/P&gt;&lt;P&gt;spring_summer * v_urban_rural &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it generates a table that presents all permutations of&lt;/P&gt;&lt;P&gt;spring_summer* v_region_pub * v_urban_rural&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://mail.google.com/mail/u/0/?ui=2&amp;amp;ik=8660e48f96&amp;amp;view=fimg&amp;amp;th=1622995477cce6e7&amp;amp;attid=0.1&amp;amp;disp=emb&amp;amp;attbid=ANGjdJ_itgP9oVhAPi25MBaUtyuFFJFt5uBLgrPa-0pXiLYcCYm4EGiYZjb0Dy3hmPMEyb5jyjTeofmp3U6efxQ77VzVxz1rpytTjjBIk2G5uK5mM23DXlzyAgPpOng&amp;amp;sz=w1152-h306&amp;amp;ats=1521117252465&amp;amp;rm=1622995477cce6e7&amp;amp;zw&amp;amp;atsh=1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 15:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/logistic-regression-with-interraction/m-p/445870#M23371</guid>
      <dc:creator>sebai</dc:creator>
      <dc:date>2018-03-15T15:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: logistic regression with interraction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/logistic-regression-with-interraction/m-p/446270#M23377</link>
      <description>&lt;P&gt;Your model says that the effect of&lt;SPAN&gt;&amp;nbsp;spring_summer depends on both of the other variables since interactions with both are in the model. Because of that, it would not make sense to look at its effect at only levels of one of the variables. If you want to assume it does not interact with one of them, then you can get the odds ratios at just the levels of the other.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 17:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/logistic-regression-with-interraction/m-p/446270#M23377</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2018-03-16T17:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: logistic regression with interraction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/logistic-regression-with-interraction/m-p/446280#M23378</link>
      <description>&lt;P&gt;Thank u so much for your answer.&lt;/P&gt;&lt;P&gt;You said, "&lt;SPAN&gt;If you want to assume it does not interact with one of them, then you can get the odds ratios at just the levels of the other."&lt;/SPAN&gt;&amp;nbsp; can you please explain to me what do u&amp;nbsp;mean by that, how can I get the odds ratio at the level of the other?&amp;nbsp;&lt;/P&gt;&lt;P&gt;+ I wanted to make a table like this, isn't it possible to make with proc logistic when entering 2 interactions (the region with spring_summer and rural_urban with spring_summer)!!?&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Odds Rtio&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Spring vs summer in region=SUD&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Spring vs summer in region=GAE&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Spring vs summer in rural_urban=rural&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Spring vs summer in rural_urban=urban&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Spring vs summer livestock=yes&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Spring vs summer livestock=no&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 16 Mar 2018 17:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/logistic-regression-with-interraction/m-p/446280#M23378</guid>
      <dc:creator>sebai</dc:creator>
      <dc:date>2018-03-16T17:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: logistic regression with interraction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/logistic-regression-with-interraction/m-p/446295#M23379</link>
      <description>&lt;P&gt;I mean that you would have to change your model. If you removed one of the interactions, then an ODDSRATIO statement for&amp;nbsp;&lt;SPAN&gt;spring_summer would show odds ratios just at levels of the other variable it still interacts with. However, it would be misleading to run two such models, each with one of the interactions dropped, just so you can generate the odds ratios you say you want. All of your inferences should result from a single model that best reflects reality. You shouldn't have two different versions of reality for the convenience of getting numbers. If the data indicate that&amp;nbsp;spring_summer does interact with both variables, then the correct odds ratios are what you got initially.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 18:00:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/logistic-regression-with-interraction/m-p/446295#M23379</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2018-03-16T18:00:18Z</dc:date>
    </item>
  </channel>
</rss>

