<?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: Making a plot to show the effect of interaction in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237183#M43472</link>
    <description>&lt;P&gt;I'm not sure what procedure you are using, but you can try to specify the plots option like "plots(only)=(diagnositcs(stats=default aic sbc));" or even after your selection= option, you may be able to use an AIC option that will display the AIC for the models.&amp;nbsp; You will need to make sure you have the ods graphics on before using the plots= statement though.&amp;nbsp; Whichever procedure you are using, I would recommend Google searching the syntax on it and determining how to specify specific statistics to be produced and outputted.&amp;nbsp; Hope this helps!&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2015 15:47:15 GMT</pubDate>
    <dc:creator>dcruik</dc:creator>
    <dc:date>2015-12-01T15:47:15Z</dc:date>
    <item>
      <title>Making a plot to show the effect of interaction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237153#M43462</link>
      <description>&lt;P&gt;The multiple regression model is&lt;/P&gt;
&lt;P&gt;E(Y)= beta0+beta1*X1+beta2*X2+beta3 X1*X2&lt;/P&gt;
&lt;P&gt;We are reqired to make a plot to show the effect of interaction.&lt;/P&gt;
&lt;P&gt;What kind of plot made by SAS will be good to&amp;nbsp;&amp;nbsp;show the interaction effect?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could anybody offer me a hint? Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 12:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237153#M43462</guid>
      <dc:creator>DingDing</dc:creator>
      <dc:date>2015-12-01T12:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Making a plot to show the effect of interaction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237158#M43463</link>
      <description>&lt;P&gt;If you perform this model fit in PROC GLM (or a bunch of other procedures), then using PROC PLM is an easy way to make an interaction plot using the EFFECTPLOT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_plm_overview.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_plm_overview.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 13:16:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237158#M43463</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-12-01T13:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Making a plot to show the effect of interaction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237162#M43464</link>
      <description>&lt;P&gt;Thank you!! It really helps. One more question not relate to this, but relate to my assignment. So I would like to consult you directly here.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;We are required to use the F-test to perform a Forward stepwise selection procedure to decide whether to add an variable, and then use&amp;nbsp;the Akaike Information Criterion(AIC) to check&amp;nbsp;model selection?&lt;/P&gt;
&lt;P&gt;The model fit is&lt;/P&gt;
&lt;P&gt;E(Y)= beta0+beta1*X1+beta2*X2+beta3 X1*X2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know how to calculate the AIC and how to perform&amp;nbsp;&lt;SPAN&gt;Forward stepwise selection procedure in SAS. Do you have&amp;nbsp;some examples similiar to this? I check the web again and again but failed to find some similiar&amp;nbsp;procedure. If you could help me, that is really very appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 13:31:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237162#M43464</guid>
      <dc:creator>DingDing</dc:creator>
      <dc:date>2015-12-01T13:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Making a plot to show the effect of interaction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237164#M43465</link>
      <description>&lt;P&gt;The AIC is a default model statistic that SAS produces in the proc reg or proc glm/proc glmselect procedures.&amp;nbsp; To perform a Forward and Stepwise selection, you just need to use the option "selection=" after your model statement.&amp;nbsp; Below are links to help you with the different options with the proc reg and proc glm/proc glmselect procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect006.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect006.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and &lt;A href="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect013.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect013.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_glm_sect007.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_glm_sect007.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and &lt;A href="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_glmselect_sect010.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_glmselect_sect010.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 14:09:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237164#M43465</guid>
      <dc:creator>dcruik</dc:creator>
      <dc:date>2015-12-01T14:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Making a plot to show the effect of interaction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237171#M43467</link>
      <description>&lt;P&gt;Thank you very much, dear dcruik. You offer me a great help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 19:44:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237171#M43467</guid>
      <dc:creator>DingDing</dc:creator>
      <dc:date>2015-12-01T19:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Making a plot to show the effect of interaction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237172#M43468</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/59466"&gt;@DingDing&lt;/a&gt; wrote:&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;We are required to use the F-test to perform a Forward stepwise selection procedure to decide whether to add an variable, and then use&amp;nbsp;the Akaike Information Criterion(AIC) to check&amp;nbsp;model selection?&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Time for a rant&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt; Gosh, I really hate to hear things like this. Is there some reason to require Forward stepwise selection? This method has been shown in many different papers to be a poor method of model building. Or is this simply a homework assignment? (In which case, I don't understand why a professor would require a poor method of model building)&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;  Rant off&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 14:55:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237172#M43468</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-12-01T14:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Making a plot to show the effect of interaction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237179#M43470</link>
      <description>I am very sorry. This is indeed an assignment, since time is very limited to submit, and I don't have much time to go through everything and I thought I am not able to figure out this before the deadline, so I just post it here for a direct answer.</description>
      <pubDate>Tue, 01 Dec 2015 15:23:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237179#M43470</guid>
      <dc:creator>DingDing</dc:creator>
      <dc:date>2015-12-01T15:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Making a plot to show the effect of interaction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237183#M43472</link>
      <description>&lt;P&gt;I'm not sure what procedure you are using, but you can try to specify the plots option like "plots(only)=(diagnositcs(stats=default aic sbc));" or even after your selection= option, you may be able to use an AIC option that will display the AIC for the models.&amp;nbsp; You will need to make sure you have the ods graphics on before using the plots= statement though.&amp;nbsp; Whichever procedure you are using, I would recommend Google searching the syntax on it and determining how to specify specific statistics to be produced and outputted.&amp;nbsp; Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 15:47:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237183#M43472</guid>
      <dc:creator>dcruik</dc:creator>
      <dc:date>2015-12-01T15:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Making a plot to show the effect of interaction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237245#M43488</link>
      <description>Thank you, dear dcruik. It really helps. It's very nice of you.</description>
      <pubDate>Tue, 01 Dec 2015 19:46:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-a-plot-to-show-the-effect-of-interaction/m-p/237245#M43488</guid>
      <dc:creator>DingDing</dc:creator>
      <dc:date>2015-12-01T19:46:39Z</dc:date>
    </item>
  </channel>
</rss>

