<?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 How to do variable selection for logistic regression? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98164#M4930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,everyone!&amp;nbsp; I need to do logistic regression on my data,but the client offered me more than 20 variables. I'm pretty sure that some of them are not necessary. But how to remove them? Is there one stepwise method, just like proc reg, for proc logistic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone could help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 08:48:03 GMT</pubDate>
    <dc:creator>MikeTurner</dc:creator>
    <dc:date>2012-07-03T08:48:03Z</dc:date>
    <item>
      <title>How to do variable selection for logistic regression?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98164#M4930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,everyone!&amp;nbsp; I need to do logistic regression on my data,but the client offered me more than 20 variables. I'm pretty sure that some of them are not necessary. But how to remove them? Is there one stepwise method, just like proc reg, for proc logistic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone could help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 08:48:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98164#M4930</guid>
      <dc:creator>MikeTurner</dc:creator>
      <dc:date>2012-07-03T08:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to do variable selection for logistic regression?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98165#M4931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there is a SELECTION= option in the MODEL statement within PROC LOGISTIC.&amp;nbsp; The methods available are BACKWARD, FORWARD, STEPWISE and SCORE. Check out the SAS documentation below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_logistic_sect016.htm"&gt;http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_logistic_sect016.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 09:18:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98165#M4931</guid>
      <dc:creator>Keith</dc:creator>
      <dc:date>2012-07-03T09:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to do variable selection for logistic regression?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98166#M4932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! I'll give one try. Thanks, Keith!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 09:38:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98166#M4932</guid>
      <dc:creator>MikeTurner</dc:creator>
      <dc:date>2012-07-03T09:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to do variable selection for logistic regression?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98167#M4933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to output the odds value for every observation to one dataset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 09:50:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98167#M4933</guid>
      <dc:creator>MikeTurner</dc:creator>
      <dc:date>2012-07-03T09:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to do variable selection for logistic regression?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98168#M4934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if you can output the odds, however you can output the estimated probability (from which you could easily calculate the odds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;logistic&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=sashelp.class&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=test &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;predicted&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=prob;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; sex= age height weight;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 10:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98168#M4934</guid>
      <dc:creator>Keith</dc:creator>
      <dc:date>2012-07-03T10:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to do variable selection for logistic regression?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98169#M4935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you get too far with stepwise selection, you might want to read the paper by Peter Flom and David Cassell on "Stopping Stepwise."&amp;nbsp; It is at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nesug.org/proceedings/nesug07/sa/sa07.pdf"&gt;http://www.nesug.org/proceedings/nesug07/sa/sa07.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the link isn't clickable, paste it into your browser.&amp;nbsp; There have been several presentations regarding the use of the LASSO method in PROC GLMSELECT to get a reasonable model, even for non-normally distributed response variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 11:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98169#M4935</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-07-03T11:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to do variable selection for logistic regression?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98170#M4936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve, thanks for the reference. I wish the equivalent of GLMSELECT was available for logistic regression. It would save me a lot of work! - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 15:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-variable-selection-for-logistic-regression/m-p/98170#M4936</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-07-03T15:14:42Z</dc:date>
    </item>
  </channel>
</rss>

