<?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: Lasso Logistics regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-Logistics-regression/m-p/59577#M2762</link>
    <description>Hi Peter,&lt;BR /&gt;
               I appreciate all your help. Thanks for replying to my question.&lt;BR /&gt;
&lt;BR /&gt;
              There are so many options in the proc glmselect for selection=lasso, I am lost. In your experience, what are some of the options that have worked for binary response variable.&lt;BR /&gt;
 &lt;BR /&gt;
             If you could give me some sample code that would be great.&lt;BR /&gt;
&lt;BR /&gt;
  Regards,&lt;BR /&gt;
&lt;BR /&gt;
Amit</description>
    <pubDate>Fri, 19 Feb 2010 15:22:52 GMT</pubDate>
    <dc:creator>AmitKB</dc:creator>
    <dc:date>2010-02-19T15:22:52Z</dc:date>
    <item>
      <title>Lasso Logistics regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-Logistics-regression/m-p/59575#M2760</link>
      <description>Hi all,&lt;BR /&gt;
          Is their a way to implement Lasso Logistics Regression. I am looking to use it for variable selection. &lt;BR /&gt;
         Thank for all your help.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Amit</description>
      <pubDate>Thu, 18 Feb 2010 17:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lasso-Logistics-regression/m-p/59575#M2760</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2010-02-18T17:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Lasso Logistics regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-Logistics-regression/m-p/59576#M2761</link>
      <description>&amp;gt; Hi all,&lt;BR /&gt;
&amp;gt; Is their a way to implement Lasso Logistics&lt;BR /&gt;
&amp;gt; Regression. I am looking to use it for variable&lt;BR /&gt;
&amp;gt; selection. &lt;BR /&gt;
&amp;gt;          Thank for all your help.&lt;BR /&gt;
&amp;gt; ,&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Amit&lt;BR /&gt;
&lt;BR /&gt;
Hi Amit&lt;BR /&gt;
&lt;BR /&gt;
You can do this in two steps:&lt;BR /&gt;
1) Use GLMSELECT as if you had an OLS model, and get several sensible models&lt;BR /&gt;
2) Try those models in LOGISTIC or whichever PROC you like for logistic regression.&lt;BR /&gt;
&lt;BR /&gt;
This isn't formally "right" but I've had good success with it.  &lt;BR /&gt;
&lt;BR /&gt;
There are also some papers on lasso for logistic models; see my paper with David Cassell on Stopping Stepwise&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.nesug.org/Proceedings/nesug09/sa/sa01.pdf" target="_blank"&gt;http://www.nesug.org/Proceedings/nesug09/sa/sa01.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
&lt;BR /&gt;
Peter</description>
      <pubDate>Fri, 19 Feb 2010 01:50:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lasso-Logistics-regression/m-p/59576#M2761</guid>
      <dc:creator>plf515</dc:creator>
      <dc:date>2010-02-19T01:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lasso Logistics regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-Logistics-regression/m-p/59577#M2762</link>
      <description>Hi Peter,&lt;BR /&gt;
               I appreciate all your help. Thanks for replying to my question.&lt;BR /&gt;
&lt;BR /&gt;
              There are so many options in the proc glmselect for selection=lasso, I am lost. In your experience, what are some of the options that have worked for binary response variable.&lt;BR /&gt;
 &lt;BR /&gt;
             If you could give me some sample code that would be great.&lt;BR /&gt;
&lt;BR /&gt;
  Regards,&lt;BR /&gt;
&lt;BR /&gt;
Amit</description>
      <pubDate>Fri, 19 Feb 2010 15:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lasso-Logistics-regression/m-p/59577#M2762</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2010-02-19T15:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lasso Logistics regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-Logistics-regression/m-p/59578#M2763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may try PROC QUANTSELECT to perform Support Vector Machine (SVM) classification with LASSO penalty. An example is as follows:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/* Start: data simulation */&lt;BR /&gt;%let seed=111;&lt;BR /&gt;Data raw;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array x[10];&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i=1 to 1000;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x0=1; /* regressor for estimating bias parameter */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do j=1 to 10;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;J&gt; = rannor(&amp;amp;seed);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y = 2*((3*x1+2*x2+x3+1+0.1*rannor(&amp;amp;seed))&amp;gt;0)-1; /*So the true model is proportional to (bias=1, x1=3, x2=2, x1=1).*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;run;&lt;BR /&gt;/* End: data simulation */&lt;/J&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* TransformSVM2QR macro pre-processes raw data for using QUANTSELECT.*/&lt;BR /&gt;%macro TransformSVM2QR(raw);&lt;BR /&gt;data transferred_&amp;amp;raw;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; set &amp;amp;raw;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; %do j=1 %to 10;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;amp;j = y*x&amp;amp;j;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; %end;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; bias=y;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; y=1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;%mend TransformSVM2QR;&lt;/P&gt;&lt;P&gt;%TransformSVM2QR(raw);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc quantselect data=transferred_raw plot=all;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; model y= bias x1-x10/quantile=1 noint selection=lasso(choose=validate include=1 sh=3);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; partition fraction(validate=0.2);&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 03:26:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lasso-Logistics-regression/m-p/59578#M2763</guid>
      <dc:creator>yonggang</dc:creator>
      <dc:date>2013-10-16T03:26:48Z</dc:date>
    </item>
  </channel>
</rss>

