<?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 How can I graph complex interactions from regression? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-can-I-graph-complex-interactions-from-regression/m-p/269229#M9636</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modelled regressions that include various quadratics and intereactions.&amp;nbsp; I have saved the predicted values so, for each model I have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V1&amp;nbsp;&amp;nbsp;&amp;nbsp; V2&amp;nbsp;&amp;nbsp;&amp;nbsp; Pred&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.30&lt;/P&gt;&lt;P&gt;etc for several hundred lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like a graph that has V1 on the x axis, Pred on the y axis and lines for different quantiles of V2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I've done this before.... but I can't remember how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2016 17:07:30 GMT</pubDate>
    <dc:creator>plf515</dc:creator>
    <dc:date>2016-05-09T17:07:30Z</dc:date>
    <item>
      <title>How can I graph complex interactions from regression?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-can-I-graph-complex-interactions-from-regression/m-p/269229#M9636</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modelled regressions that include various quadratics and intereactions.&amp;nbsp; I have saved the predicted values so, for each model I have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V1&amp;nbsp;&amp;nbsp;&amp;nbsp; V2&amp;nbsp;&amp;nbsp;&amp;nbsp; Pred&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.2&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.30&lt;/P&gt;&lt;P&gt;etc for several hundred lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like a graph that has V1 on the x axis, Pred on the y axis and lines for different quantiles of V2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I've done this before.... but I can't remember how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 17:07:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-can-I-graph-complex-interactions-from-regression/m-p/269229#M9636</guid>
      <dc:creator>plf515</dc:creator>
      <dc:date>2016-05-09T17:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I graph complex interactions from regression?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-can-I-graph-complex-interactions-from-regression/m-p/269233#M9637</link>
      <description>&lt;P&gt;If V2 is a class variable, you can use a SERIES statement with GROUP= option:&lt;/P&gt;
&lt;P&gt;SERIES x=v1 y=pred / group=v2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if V2 is continuous, this won't work so well.&amp;nbsp; Instead, &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_introcom_sect030.htm" target="_self"&gt;use the EFFECTPLOT statement &lt;/A&gt;to get what you want.&amp;nbsp; It sounds like you might want to use the SLICEFIT option with the SLICEBY= suboption, as shown in the second example that I linked to.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your regression procedure&amp;nbsp;does not support the EFFECTPLOT statement directly, you can&amp;nbsp;STORE the&amp;nbsp; model to an item store and use PROC PLM, which does support the EFFECTPLOT statement.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 17:16:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-can-I-graph-complex-interactions-from-regression/m-p/269233#M9637</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-09T17:16:06Z</dc:date>
    </item>
  </channel>
</rss>

