<?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 output for multiple PROC REG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Slope-output-for-multiple-PROC-REG/m-p/475009#M30816</link>
    <description>&lt;P&gt;Use the OUTEST= option&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_reg_syntax01.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_reg_syntax01.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jul 2018 18:25:23 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-07-02T18:25:23Z</dc:date>
    <item>
      <title>Slope output for multiple PROC REG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Slope-output-for-multiple-PROC-REG/m-p/474993#M30813</link>
      <description>&lt;P&gt;If I run this code:&lt;/P&gt;&lt;PRE&gt;proc sort data=dataname;
where Month in (1,2,3);
where also Day in (1,2,3);
by Hour;
run;

proc reg data=dataname;
where Month in (1,2,3);
where also Day in (1,2,3);
model Y=X;
by Hour;
run;&lt;/PRE&gt;&lt;P&gt;And I get Regression results for every hour.&lt;/P&gt;&lt;P&gt;Is there a way I can output slope of X for every hour into a new table or whatever? Anything just so I don't have to manually copy the slope (Parameter Estimates) into notepad?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 17:42:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Slope-output-for-multiple-PROC-REG/m-p/474993#M30813</guid>
      <dc:creator>matt23</dc:creator>
      <dc:date>2018-07-02T17:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Slope output for multiple PROC REG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Slope-output-for-multiple-PROC-REG/m-p/475009#M30816</link>
      <description>&lt;P&gt;Use the OUTEST= option&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_reg_syntax01.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_reg_syntax01.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 18:25:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Slope-output-for-multiple-PROC-REG/m-p/475009#M30816</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-07-02T18:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Slope output for multiple PROC REG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Slope-output-for-multiple-PROC-REG/m-p/475042#M30820</link>
      <description>&lt;PRE&gt;ods output ParameterEstimates=PE_Table;&lt;BR /&gt;proc reg data=dataname;
where Month in (1,2,3) and Day in (1,2,3);&lt;BR /&gt;by Hour;
model Y=X;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another method is using the ODS OUTPUT statement, this approach allows you to capture almost any ODS output and then reformat into the output you'd like.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 20:07:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Slope-output-for-multiple-PROC-REG/m-p/475042#M30820</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-07-02T20:07:57Z</dc:date>
    </item>
  </channel>
</rss>

