<?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 Class Variables in Proc Logistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Class-Variables-in-Proc-Logistic/m-p/152428#M7994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a best subsets selection on the score chi-square for a set of both categorical and continuous predictors. The problem is that since some of my variables are categorical they have to be specified with a class statement and I can't use "selection=score" as a parameter when class variables are involved. Any ideas on how to deal with this problem? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods output bestsubsets=score;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc logistic data=work.***;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class x1 x2 x3 x4 x5 x6 x7;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model target(event='1')= x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 / selection=score best=1 start=1 stop=20;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods output close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2014 18:59:40 GMT</pubDate>
    <dc:creator>FightingIllini</dc:creator>
    <dc:date>2014-10-31T18:59:40Z</dc:date>
    <item>
      <title>Class Variables in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Class-Variables-in-Proc-Logistic/m-p/152428#M7994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a best subsets selection on the score chi-square for a set of both categorical and continuous predictors. The problem is that since some of my variables are categorical they have to be specified with a class statement and I can't use "selection=score" as a parameter when class variables are involved. Any ideas on how to deal with this problem? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods output bestsubsets=score;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc logistic data=work.***;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class x1 x2 x3 x4 x5 x6 x7;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model target(event='1')= x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 / selection=score best=1 start=1 stop=20;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods output close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 18:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Class-Variables-in-Proc-Logistic/m-p/152428#M7994</guid>
      <dc:creator>FightingIllini</dc:creator>
      <dc:date>2014-10-31T18:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Class Variables in Proc Logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Class-Variables-in-Proc-Logistic/m-p/152429#M7995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the CLASS variables are at least ordinal in scale and it is reasonable to assign numeric scores to their levels, then you could create numeric variables for them.&amp;nbsp; Otherwise, you might want to consider another method such as SELECTION=STEPWISE. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 19:18:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Class-Variables-in-Proc-Logistic/m-p/152429#M7995</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2014-11-03T19:18:25Z</dc:date>
    </item>
  </channel>
</rss>

