<?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: dummy variables in model selection in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/dummy-variables-in-model-selection/m-p/61418#M2863</link>
    <description>If you have SAS 9.2, use the GLMSELECT procedure.&lt;BR /&gt;
&lt;BR /&gt;
If you are using earlier versions, and the model is that straight-forward, I would use GLM and manually implement the stepwise algorithm by looking at the criteria.&lt;BR /&gt;
&lt;BR /&gt;
Your referent approach is the only one that really works in REG (otherwise you have a singular design matrix, AKA over-specified model), but you don't have the option of grouping the other levels and that can become a problem.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
    <pubDate>Tue, 04 Aug 2009 21:16:04 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2009-08-04T21:16:04Z</dc:date>
    <item>
      <title>dummy variables in model selection</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/dummy-variables-in-model-selection/m-p/61417#M2862</link>
      <description>hi, &lt;BR /&gt;
&lt;BR /&gt;
i've been stuck on this forever. I've created dummy variables and need to run a stepwise regression using proc reg. do i keep my referent variable in the model? or out of the model? &lt;BR /&gt;
for example if age is outcome and race is what i created dummies for and 'other' is referent do i use brackets? and leave out the referent? or include all + the referent? &lt;BR /&gt;
&lt;BR /&gt;
using referent:&lt;BR /&gt;
proc reg data = XYZ&lt;BR /&gt;
model age = { asian american dutch } edu SES / selection = stepwise ........groupnames='race'; run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
including referent: &lt;BR /&gt;
&lt;BR /&gt;
proc reg data = XYZ; &lt;BR /&gt;
model age = asian american dutch other edu / selection = stepwise.....;run;?????&lt;BR /&gt;
&lt;BR /&gt;
if it's the first and edu is included and SES is not? does anyone know how to interpret that interms of the referent group???? should i be using proc logistic instead when using dummy variables?</description>
      <pubDate>Tue, 04 Aug 2009 18:05:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/dummy-variables-in-model-selection/m-p/61417#M2862</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-04T18:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: dummy variables in model selection</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/dummy-variables-in-model-selection/m-p/61418#M2863</link>
      <description>If you have SAS 9.2, use the GLMSELECT procedure.&lt;BR /&gt;
&lt;BR /&gt;
If you are using earlier versions, and the model is that straight-forward, I would use GLM and manually implement the stepwise algorithm by looking at the criteria.&lt;BR /&gt;
&lt;BR /&gt;
Your referent approach is the only one that really works in REG (otherwise you have a singular design matrix, AKA over-specified model), but you don't have the option of grouping the other levels and that can become a problem.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Tue, 04 Aug 2009 21:16:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/dummy-variables-in-model-selection/m-p/61418#M2863</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-08-04T21:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: dummy variables in model selection</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/dummy-variables-in-model-selection/m-p/61419#M2864</link>
      <description>See this thread for a more complete discussion&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=23573尕" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=23573尕&lt;/A&gt;</description>
      <pubDate>Tue, 04 Aug 2009 21:17:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/dummy-variables-in-model-selection/m-p/61419#M2864</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-08-04T21:17:51Z</dc:date>
    </item>
  </channel>
</rss>

