<?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 logistic model selection for categorical variable in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432489#M22770</link>
    <description>&lt;P&gt;Unless you specify &lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glmselect_syntax03.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug.glmselect.glsclasssplit" target="_self"&gt;the SPLIT option on the CLASS statement&lt;/A&gt; in PROC GLMSELECT or PROC HPGENSELECT, the whole variable will either be included or excluded. PROC LOGISTIC does not support the SPLIT option, so again the whole variable is selected or not.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 20:42:00 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2018-01-30T20:42:00Z</dc:date>
    <item>
      <title>proc logistic model selection for categorical variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432223#M22763</link>
      <description>&lt;P&gt;my variable pool contains both categorical variables and continuous variable. I plan to use /selection=stepwise to do the stepwise variable selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For categorical variables, is it enough to specify them in class statement? will the selection process treated different levels of a categorical variable as one variable? Or I need to specify categorical variable like '&lt;EM&gt;groupnames&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;= 'Height' 'Age' in the proc reg variable selection?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 14:47:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432223#M22763</guid>
      <dc:creator>zzzyyy</dc:creator>
      <dc:date>2018-01-30T14:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic model selection for categorical variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432309#M22764</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;will the selection process treated different levels of a categorical variable as one variable&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes, it will. If you want to treat them each individually you need to make your own dummy variables and in general it's not statistically recommended anyways.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/102529"&gt;@zzzyyy&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;my variable pool contains both categorical variables and continuous variable. I plan to use /selection=stepwise to do the stepwise variable selection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For categorical variables, is it enough to specify them in class statement? will the selection process treated different levels of a categorical variable as one variable? Or I need to specify categorical variable like '&lt;EM&gt;groupnames&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;= 'Height' 'Age' in the proc reg variable selection?&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 16:15:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432309#M22764</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-30T16:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic model selection for categorical variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432449#M22765</link>
      <description>&lt;P&gt;Can you clarify? Your title says 'logistic' but you&amp;nbsp;mention "PROC REG."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For linear regression models, look at &lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glmselect_syntax01.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;PROC GLMSELECT.&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For logistic regression models, look at &lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_hpgenselect_toc.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;PROC HPGENSELECT.&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 19:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432449#M22765</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-01-30T19:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic model selection for categorical variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432484#M22768</link>
      <description>&lt;P&gt;I don't want to treat them&amp;nbsp; individually, I want different levels be treated as a whole group. So is proc logistic class statement enough to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;restrict the variable selection method so that a group of variables enters or leaves the model together?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432484#M22768</guid>
      <dc:creator>zzzyyy</dc:creator>
      <dc:date>2018-01-30T20:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic model selection for categorical variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432486#M22769</link>
      <description>&lt;P&gt;since I used to use proc reg and groupname option to&amp;nbsp;restrict the effect selection method so that a group of variables enters or leaves the model together. Now I'm going to use proc logistic, I'm wondering will class statement reach the same result as groupname during variable selection process.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432486#M22769</guid>
      <dc:creator>zzzyyy</dc:creator>
      <dc:date>2018-01-30T20:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic model selection for categorical variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432489#M22770</link>
      <description>&lt;P&gt;Unless you specify &lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glmselect_syntax03.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug.glmselect.glsclasssplit" target="_self"&gt;the SPLIT option on the CLASS statement&lt;/A&gt; in PROC GLMSELECT or PROC HPGENSELECT, the whole variable will either be included or excluded. PROC LOGISTIC does not support the SPLIT option, so again the whole variable is selected or not.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:42:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432489#M22770</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-01-30T20:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic model selection for categorical variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432715#M22773</link>
      <description>&lt;P&gt;got it, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 13:38:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-model-selection-for-categorical-variable/m-p/432715#M22773</guid>
      <dc:creator>zzzyyy</dc:creator>
      <dc:date>2018-01-31T13:38:10Z</dc:date>
    </item>
  </channel>
</rss>

