<?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 Plot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Interaction-Plot/m-p/408048#M13947</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to get help with generating a similar plot as below. The data has the continuous variable COST and two categorical variables A and B. I wanted to compare COST&amp;nbsp;of different groups of&amp;nbsp;A and&amp;nbsp;B through the visualization.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Anyone has a suggestion about where to start? PROC ANOVA, PROC SGPLOT or PLOT GLM?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Plot.jpg" style="width: 502px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16266iF80EDC0E8F174B0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Plot.jpg" alt="Plot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2017 14:27:56 GMT</pubDate>
    <dc:creator>lizzy28</dc:creator>
    <dc:date>2017-10-27T14:27:56Z</dc:date>
    <item>
      <title>Interaction Plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Interaction-Plot/m-p/408048#M13947</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to get help with generating a similar plot as below. The data has the continuous variable COST and two categorical variables A and B. I wanted to compare COST&amp;nbsp;of different groups of&amp;nbsp;A and&amp;nbsp;B through the visualization.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Anyone has a suggestion about where to start? PROC ANOVA, PROC SGPLOT or PLOT GLM?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Plot.jpg" style="width: 502px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16266iF80EDC0E8F174B0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Plot.jpg" alt="Plot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 14:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Interaction-Plot/m-p/408048#M13947</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2017-10-27T14:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Interaction Plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Interaction-Plot/m-p/408124#M13956</link>
      <description>&lt;P&gt;I would use PROC GLM. Something like the following should get you started.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data A;
call streaminit(123);
do A = 1 to 3;
   s = 10*(A-2)**2;
   mean = 70 + 3*(A-2)**2;
   do B = 1 to 4;
      do i = 1 to 10;
         COST = B + rand("Normal", mean, s);
         output;
      end;
   end;
end;
run;

ods graphics on;
proc glm data=A;
class A B;
model COST = A | B;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Oct 2017 18:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Interaction-Plot/m-p/408124#M13956</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-10-27T18:17:39Z</dc:date>
    </item>
  </channel>
</rss>

