<?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: regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407782#M21228</link>
    <description>&lt;P&gt;bounds 0 &amp;lt; a1 &amp;lt; a2 &amp;lt; a3 &amp;lt; 1;&lt;BR /&gt;y = a0 + a1*x1 + (a2-a1)*x2 + (a3-a2)*x3 + (1-a3)*x4;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2017 18:51:43 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2017-10-26T18:51:43Z</dc:date>
    <item>
      <title>regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407289#M21203</link>
      <description>&lt;P&gt;I have to run this linear regression&lt;/P&gt;&lt;P&gt;y = a +b1 x1 + b2 x2 +u&lt;/P&gt;&lt;P&gt;with b1, b2 &amp;gt;0&amp;nbsp; and b1+b2=1&lt;/P&gt;&lt;P&gt;proc reg would be perfect but it doesn't accept inequality constraints.&lt;/P&gt;&lt;P&gt;viceversa, proc nlin would be ok but it doesn't accept equality constraints.&lt;/P&gt;&lt;P&gt;one possibility would be proc nlin with&lt;/P&gt;&lt;P&gt;y= a + exp(c1) x1 + (1-exp(c1)) x2 + u&lt;/P&gt;&lt;P&gt;Do you have a better solution?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 14:21:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407289#M21203</guid>
      <dc:creator>riccardo85</dc:creator>
      <dc:date>2017-10-25T14:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407538#M21220</link>
      <description>&lt;P&gt;In proc nlin, use bounds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;bounds 0 &amp;lt; C &amp;lt; 1;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and equation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;y = a + C x1 + (1-C) x2 + u;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 04:45:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407538#M21220</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-10-26T04:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407576#M21221</link>
      <description>&lt;P&gt;thank you but with 3 (or more) parameters?&lt;/P&gt;&lt;P&gt;y=a0+ a1 x1 + a2 x2 + a3 x3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;becomes&lt;/P&gt;&lt;P&gt;y= a0 + a1 x1 +a2 x2 + (1-a1-a2) x3&lt;/P&gt;&lt;P&gt;bounds 0&amp;lt; a1 &amp;lt; 1&lt;/P&gt;&lt;P&gt;bounds 0 &amp;lt; a2 &amp;lt;1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the constraint&amp;nbsp; 0 &amp;lt; a3 &amp;lt; 1 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 08:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407576#M21221</guid>
      <dc:creator>riccardo85</dc:creator>
      <dc:date>2017-10-26T08:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407646#M21223</link>
      <description>&lt;PRE&gt;

proc hpgenselect;
class A;
model y/n = A x / dist=binomial;
restrict A 1 0 -1;
restrict x 2 &amp;gt;= 0.5;
run;


&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Oct 2017 14:01:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407646#M21223</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-10-26T14:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407782#M21228</link>
      <description>&lt;P&gt;bounds 0 &amp;lt; a1 &amp;lt; a2 &amp;lt; a3 &amp;lt; 1;&lt;BR /&gt;y = a0 + a1*x1 + (a2-a1)*x2 + (a3-a2)*x3 + (1-a3)*x4;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 18:51:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/regression/m-p/407782#M21228</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-10-26T18:51:43Z</dc:date>
    </item>
  </channel>
</rss>

