<?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: proc reg - basic question in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-reg-basic-question/m-p/18722#M542</link>
    <description>Check out the OUTEST= option for the MODEL statement.  You can then post-process with a DATA step or PROC SQL to eliminate the variables that were not selected for the model.</description>
    <pubDate>Tue, 01 Mar 2011 00:36:23 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2011-03-01T00:36:23Z</dc:date>
    <item>
      <title>proc reg - basic question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-reg-basic-question/m-p/18721#M541</link>
      <description>Hi all,&lt;BR /&gt;
I'm running several stepwise regression&lt;BR /&gt;
and I'm trying to find out how to &lt;BR /&gt;
1) output &lt;B&gt;only the chosen final model &lt;/B&gt;of a stepwise regression.&lt;BR /&gt;
2) efficiently get the &lt;U&gt;list of the chosen variables &lt;/U&gt;of the final regression, how do you recomend to do it?&lt;BR /&gt;
&lt;BR /&gt;
My code:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc reg data=&amp;amp;data outest=&amp;amp;out tableout ;&lt;BR /&gt;
model   &amp;amp;Var.=v1-v365 a1-a12 t1-t6&lt;BR /&gt;
/AIC selection=stepwise SLENTRY=0.05  ;&lt;BR /&gt;
OUTPUT out=&amp;amp;out p=predicted r=residuals STUDENT=STUDENT_residuals;&lt;BR /&gt;
where station=&amp;amp;stat.;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
Tal</description>
      <pubDate>Mon, 28 Feb 2011 20:49:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-reg-basic-question/m-p/18721#M541</guid>
      <dc:creator>tal83</dc:creator>
      <dc:date>2011-02-28T20:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: proc reg - basic question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-reg-basic-question/m-p/18722#M542</link>
      <description>Check out the OUTEST= option for the MODEL statement.  You can then post-process with a DATA step or PROC SQL to eliminate the variables that were not selected for the model.</description>
      <pubDate>Tue, 01 Mar 2011 00:36:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-reg-basic-question/m-p/18722#M542</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-03-01T00:36:23Z</dc:date>
    </item>
  </channel>
</rss>

