<?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   non-negative constraint in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749342#M36446</link>
    <description>&lt;P&gt;You can use HPGENSELECT to fit your model using the LASSO method in the SELECTION statement. It also has a RESTRICT statement that can be used to restrict parameters in the model. Unfortunately, model selection methods cannot be used together with parameter restrictions. However, after selecting a model, you can try refitting it by adding one or more RESTRICT statements to restrict parameters. For example, the following restricts the X4 parameter to be positive.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc hpgenselect;
model y=x1 x2 x3 x4;
restrict x4 1 &amp;gt; 0;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 21 Jun 2021 17:40:01 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2021-06-21T17:40:01Z</dc:date>
    <item>
      <title>Lasso   non-negative constraint</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749184#M36444</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;PRE class="tw-data-text tw-text-large XcVN5d tw-ta"&gt;&lt;SPAN class="Y2IQFc"&gt;Please tell me how to put a non-negative constraint on the regression coefficient in Lasso regression.&lt;BR /&gt;I use ETS or STAT.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 05:18:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749184#M36444</guid>
      <dc:creator>anonysas</dc:creator>
      <dc:date>2021-06-21T05:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lasso   non-negative constraint</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749308#M36445</link>
      <description>&lt;P&gt;Here is a Japanese community, so you may find it easier to get answers if you post here.&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/bd-p/programming" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/bd-p/programming&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 16:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749308#M36445</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2021-06-21T16:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lasso   non-negative constraint</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749342#M36446</link>
      <description>&lt;P&gt;You can use HPGENSELECT to fit your model using the LASSO method in the SELECTION statement. It also has a RESTRICT statement that can be used to restrict parameters in the model. Unfortunately, model selection methods cannot be used together with parameter restrictions. However, after selecting a model, you can try refitting it by adding one or more RESTRICT statements to restrict parameters. For example, the following restricts the X4 parameter to be positive.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc hpgenselect;
model y=x1 x2 x3 x4;
restrict x4 1 &amp;gt; 0;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Jun 2021 17:40:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749342#M36446</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-06-21T17:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lasso   non-negative constraint</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749415#M36447</link>
      <description>Thank you for your concern.</description>
      <pubDate>Tue, 22 Jun 2021 06:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749415#M36447</guid>
      <dc:creator>anonysas</dc:creator>
      <dc:date>2021-06-22T06:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lasso   non-negative constraint</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749417#M36448</link>
      <description>I understood that it would be done in two steps.&lt;BR /&gt;Thank you.</description>
      <pubDate>Tue, 22 Jun 2021 06:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Lasso-non-negative-constraint/m-p/749417#M36448</guid>
      <dc:creator>anonysas</dc:creator>
      <dc:date>2021-06-22T06:10:46Z</dc:date>
    </item>
  </channel>
</rss>

