<?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: slope determination in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/slope-determination/m-p/328497#M17319</link>
    <description>&lt;P&gt;If you only need to find the linear relationship you can obtain both the R2 and slope using PROC REG (see:&amp;nbsp;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect003.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect003.htm&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;   proc reg;
      model sum_CiS = Q;
   run;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;HTH,&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2017 17:39:47 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2017-01-30T17:39:47Z</dc:date>
    <item>
      <title>slope determination</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/slope-determination/m-p/328490#M17318</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a dataset in SAS. I want to calculate slope and r2 for the data in the last two columns respectively. can you please help me in writing a procedure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 16:15:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/slope-determination/m-p/328490#M17318</guid>
      <dc:creator>DShah</dc:creator>
      <dc:date>2017-01-30T16:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: slope determination</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/slope-determination/m-p/328497#M17319</link>
      <description>&lt;P&gt;If you only need to find the linear relationship you can obtain both the R2 and slope using PROC REG (see:&amp;nbsp;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect003.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect003.htm&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;   proc reg;
      model sum_CiS = Q;
   run;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;HTH,&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 17:39:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/slope-determination/m-p/328497#M17319</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-01-30T17:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: slope determination</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/slope-determination/m-p/328520#M17323</link>
      <description>&lt;P&gt;Hi Art&lt;/P&gt;&lt;P&gt;Thank you for your reply. Is there a way to add the Slope and R2 values in the table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 17:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/slope-determination/m-p/328520#M17323</guid>
      <dc:creator>DShah</dc:creator>
      <dc:date>2017-01-30T17:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: slope determination</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/slope-determination/m-p/328536#M17325</link>
      <description>&lt;P&gt;Not sure what you're asking. Both are included in the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want them output to files, simply capture the ODS tables that contain them. e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods output ParameterEstimates=estimates;
ods output FitStatistics=stats;
/* ods trace on; */
proc reg data=have;;
  model sum_CiS = Q;
run;
/* ods trace off; */
&lt;/PRE&gt;
&lt;P&gt;I commented out the ods trace on and off statements as they are only used to find out what ods output tables are available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 18:04:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/slope-determination/m-p/328536#M17325</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-01-30T18:04:05Z</dc:date>
    </item>
  </channel>
</rss>

