<?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 interactions in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/interactions/m-p/834380#M41317</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run a model in which a have one variable (Var1) interacting with three other variables (Var2, Var3 and Var4).&lt;/P&gt;&lt;P&gt;Var1 has three categories and Var2, Var3 and Var4 are binary variable indicating the presence or absence of symptoms.&lt;/P&gt;&lt;P&gt;Is it possible to suggest a text showing the best way to interpret interactions of one variable with two or more variables?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 20:28:30 GMT</pubDate>
    <dc:creator>iuri_leite</dc:creator>
    <dc:date>2022-09-20T20:28:30Z</dc:date>
    <item>
      <title>interactions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/interactions/m-p/834380#M41317</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run a model in which a have one variable (Var1) interacting with three other variables (Var2, Var3 and Var4).&lt;/P&gt;&lt;P&gt;Var1 has three categories and Var2, Var3 and Var4 are binary variable indicating the presence or absence of symptoms.&lt;/P&gt;&lt;P&gt;Is it possible to suggest a text showing the best way to interpret interactions of one variable with two or more variables?&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 20:28:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/interactions/m-p/834380#M41317</guid>
      <dc:creator>iuri_leite</dc:creator>
      <dc:date>2022-09-20T20:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: interactions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/interactions/m-p/834383#M41318</link>
      <description>I’m assuming your outcome is continuous. I guess it depends what you’re looking to show and how simply, probably depending on your narrative. You could do a series of plots each at levels of the variables. I think since they’re all categorical variables, though, I would create a concatenated variable and compute the averages grouping by it, then plot the averages and categories in a simple bar chart.&lt;BR /&gt;&lt;BR /&gt;So like:&lt;BR /&gt;&lt;BR /&gt;data want; set have;&lt;BR /&gt;Newvar = catt(var1, ‘-‘, var2 , ‘-‘, var3 , ‘-‘, var4);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc sql; create table want2&lt;BR /&gt;as select distinct&lt;BR /&gt;Newvar,&lt;BR /&gt;avg(outcome),&lt;BR /&gt;stderr(outcome)&lt;BR /&gt;from want&lt;BR /&gt;group by Newvar;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;You could also just group by all four vars, and include them in the query.&lt;BR /&gt;&lt;BR /&gt;A logistic, etc model would be a bit more complicated.</description>
      <pubDate>Tue, 20 Sep 2022 20:46:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/interactions/m-p/834383#M41318</guid>
      <dc:creator>awesome_opossum</dc:creator>
      <dc:date>2022-09-20T20:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: interactions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/interactions/m-p/834388#M41319</link>
      <description>&lt;P&gt;Rather than suggest a text, I suggest that you examine and try to understand an interaction plot. Here is an example (scroll down): &lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_glm_examples03.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/statug/15.2/statug_glm_examples03.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interactions exist when the colored lines are not parallel to each other. Note that the red line (disease 2) is highest for drugs 1 and 2 and lowest for drugs 3 and 4. That is an interaction between drugs and diseases. Had the red line not been present and drug 4 removed so only three drugs and 2 diseases, the green and blue lines are (approximately) parallel to each other, drugs 1 and 3 (approximately) do not interact with disease. The difference is the main effect of drug.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How much “non-parallel-ness” is allowed? That would be determined by the actual F-test for the interaction.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 21:41:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/interactions/m-p/834388#M41319</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-20T21:41:49Z</dc:date>
    </item>
  </channel>
</rss>

