<?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: Automated Model Selection Question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Automated-Model-Selection-Question/m-p/76847#M16607</link>
    <description>Welcome to the forum.  "Procedures" may be a better place, but this is fine.&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately, the SAS procedures that do automated selection don't recognize the higher order terms.  You end up having to do the model selection manually (say with GLM rather than REG).  &lt;BR /&gt;
&lt;BR /&gt;
I would generally take a backward elimination approach.  If there are several higher order terms, then I'd do a 'chunk test' to look at a bunch of them at once (e.g. If I have 5 squares, I'd do one model with them in and one model with them out and build the f-test with 5 d.f. from the two models.) to reduce my multiple comparisons risks.  Ditto the interaction terms.  If someone else has reported that a particular higher order term is important, I might test that one individually to see if it holds in my data.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
    <pubDate>Wed, 11 Mar 2009 19:52:52 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2009-03-11T19:52:52Z</dc:date>
    <item>
      <title>Automated Model Selection Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automated-Model-Selection-Question/m-p/76846#M16606</link>
      <description>Sorry, if this isn't the right place to ask this. I'm somewhat new to SAS and not much of a programmer, so I was a bit lost in deciding where this topic should go...&lt;BR /&gt;
&lt;BR /&gt;
With Automated Model Selection (best subsets, forward selection, etc.), I'm having trouble with datasets that have higher order terms or terms created after multiplying other terms. How can I manipulate SAS into taking these variables into consideration? (ie, if Variable 'x' discarded in backwards elimination, then it has to discard Variable 'x^2' and Variable 'x*y')</description>
      <pubDate>Wed, 11 Mar 2009 16:36:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automated-Model-Selection-Question/m-p/76846#M16606</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-11T16:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Model Selection Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automated-Model-Selection-Question/m-p/76847#M16607</link>
      <description>Welcome to the forum.  "Procedures" may be a better place, but this is fine.&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately, the SAS procedures that do automated selection don't recognize the higher order terms.  You end up having to do the model selection manually (say with GLM rather than REG).  &lt;BR /&gt;
&lt;BR /&gt;
I would generally take a backward elimination approach.  If there are several higher order terms, then I'd do a 'chunk test' to look at a bunch of them at once (e.g. If I have 5 squares, I'd do one model with them in and one model with them out and build the f-test with 5 d.f. from the two models.) to reduce my multiple comparisons risks.  Ditto the interaction terms.  If someone else has reported that a particular higher order term is important, I might test that one individually to see if it holds in my data.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Wed, 11 Mar 2009 19:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automated-Model-Selection-Question/m-p/76847#M16607</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-03-11T19:52:52Z</dc:date>
    </item>
  </channel>
</rss>

