<?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 Correlation and Best Fit Line in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Correlation-and-Best-Fit-Line/m-p/344980#M79321</link>
    <description>&lt;P&gt;I am trying to create a scatter plot showing correlation stats that includes a best fit line. I am confused as to if I need to do a regression instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, my data is widely distributed, is there a way to add a log scale (Y axis) to the scatter plot so it is more spread out and can be seen clearer?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2017 14:01:22 GMT</pubDate>
    <dc:creator>edomachowske</dc:creator>
    <dc:date>2017-03-28T14:01:22Z</dc:date>
    <item>
      <title>Correlation and Best Fit Line</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Correlation-and-Best-Fit-Line/m-p/344980#M79321</link>
      <description>&lt;P&gt;I am trying to create a scatter plot showing correlation stats that includes a best fit line. I am confused as to if I need to do a regression instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, my data is widely distributed, is there a way to add a log scale (Y axis) to the scatter plot so it is more spread out and can be seen clearer?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 14:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Correlation-and-Best-Fit-Line/m-p/344980#M79321</guid>
      <dc:creator>edomachowske</dc:creator>
      <dc:date>2017-03-28T14:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation and Best Fit Line</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Correlation-and-Best-Fit-Line/m-p/344986#M79323</link>
      <description>&lt;P&gt;PROC REG and PROC CORR and PROC SGPLOT (and probably others) will create this plot for you. No, you don't need to do a regression, but you can if you want to.&amp;nbsp;The correlation best fit line actually corresponds to the first axis in principal components analysis, you could figure out what that is and then plot that line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the log scale, you could easily convert the y-variables to log scale in a data step before doing the plotting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 14:17:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Correlation-and-Best-Fit-Line/m-p/344986#M79323</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-03-28T14:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation and Best Fit Line</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Correlation-and-Best-Fit-Line/m-p/344987#M79324</link>
      <description>&lt;P&gt;PROC CORR&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/procstat/66703/HTML/default/viewer.htm#procstat_corr_examples11.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/procstat/66703/HTML/default/viewer.htm#procstat_corr_examples11.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC SGSCATTER - SAS Note + sample code for scatter plot + regression line.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/48/465.html" target="_blank"&gt;http://support.sas.com/kb/48/465.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 14:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Correlation-and-Best-Fit-Line/m-p/344987#M79324</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-28T14:12:25Z</dc:date>
    </item>
  </channel>
</rss>

