<?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: plot and output a scatter diagram and a regression plot of 3 variables taken 2 at a time in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594477#M29008</link>
    <description>What statements? Perhaps showing your code would help?</description>
    <pubDate>Mon, 07 Oct 2019 15:03:38 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-10-07T15:03:38Z</dc:date>
    <item>
      <title>plot and output a scatter diagram and a regression plot of 3 variables taken 2 at a time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594388#M28999</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to plot a scatter diagram and a regression plot of 3 variables taken 2 at a time putting the results in a 3 x 3 matrix?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Given the symbols xxx = blank cell, R= regression plot of 2 variables with data, S= scatterplot of 2 variables.&lt;/P&gt;
&lt;P&gt;Now produce a matrix that will hold 9 graphs of which we will fill 6 cells. The cell contents&lt;/P&gt;
&lt;P&gt;of the matrix&amp;nbsp;will look as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;XXX&amp;nbsp; &amp;nbsp;S&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;S&lt;/P&gt;
&lt;P&gt;&amp;nbsp; R&amp;nbsp; &amp;nbsp; XXX&amp;nbsp; &amp;nbsp; &amp;nbsp;S&lt;/P&gt;
&lt;P&gt;&amp;nbsp; R&amp;nbsp; &amp;nbsp; &amp;nbsp; R&amp;nbsp; &amp;nbsp; &amp;nbsp;XXX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All of the plots have been created using proc SGplot using the reg and scatter subcommands.&lt;/P&gt;
&lt;P&gt;I'm trying to keep this simple. Thank you in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Mary A. Marion&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 00:31:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594388#M28999</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2019-10-07T00:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: plot and output a scatter diagram and a regression plot of 3 variables taken 2 at a time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594401#M29000</link>
      <description>SGSCATTER not an option for some reason?&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=n13iu6kevi2bcvn1l8cjmdmu64kc.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=n13iu6kevi2bcvn1l8cjmdmu64kc.htm&amp;amp;locale=en&lt;/A&gt;</description>
      <pubDate>Mon, 07 Oct 2019 02:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594401#M29000</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-07T02:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: plot and output a scatter diagram and a regression plot of 3 variables taken 2 at a time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594414#M29001</link>
      <description>&lt;P&gt;Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to include those scatterplots a well. I will try adding more statements.&amp;nbsp; Thanks.&amp;nbsp; MM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 05:13:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594414#M29001</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2019-10-07T05:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: plot and output a scatter diagram and a regression plot of 3 variables taken 2 at a time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594453#M29006</link>
      <description>&lt;P&gt;It sounds like you have already created the plots and just want to pack them together. Try the&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS LAYOUT GRIDDED.&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;ODS LAYOUT END;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Examples and discussion in&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2015/11/23/ods-statement-options-to-change/" target="_self"&gt;Using the ODS statement to add layers in your ODS sandwich&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 12:07:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594453#M29006</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-10-07T12:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: plot and output a scatter diagram and a regression plot of 3 variables taken 2 at a time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594477#M29008</link>
      <description>What statements? Perhaps showing your code would help?</description>
      <pubDate>Mon, 07 Oct 2019 15:03:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594477#M29008</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-07T15:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: plot and output a scatter diagram and a regression plot of 3 variables taken 2 at a time</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594515#M29012</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am learning about tidy data. It is a game-changer&lt;/P&gt;
&lt;P&gt;Sep--May and year are columns in my data set.&lt;/P&gt;
&lt;P&gt;I want a panel of 6 plots which is different from a matrix of 9 cells.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS CODE:&lt;/P&gt;
&lt;PRE&gt;proc sgpanel data=MYDATA;&lt;BR /&gt;panelby year Jan Feb Mar;&lt;BR /&gt;scatter y=Feb x=Jan;&lt;BR /&gt;scatter y=Mar x=Jan;&lt;BR /&gt;scatter y=Mar x=Feb;&lt;BR /&gt;reg x=year y=Jan;&lt;BR /&gt;reg x=year y=Feb;&lt;BR /&gt;reg x=year y=Mar;&lt;BR /&gt;reg x=Jan  y=Feb;&lt;BR /&gt;reg x=Jan  y=Mar;&lt;BR /&gt;reg x=Feb  y=Mar;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 17:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/plot-and-output-a-scatter-diagram-and-a-regression-plot-of-3/m-p/594515#M29012</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2019-10-07T17:56:11Z</dc:date>
    </item>
  </channel>
</rss>

