<?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: OLS with parameter restriction in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681413#M206103</link>
    <description>&lt;P&gt;And this:&amp;nbsp;&lt;A href="https://support.sas.com/kb/22/800.html" target="_blank"&gt;https://support.sas.com/kb/22/800.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remember, Google is your friend in situations like this.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Sep 2020 15:57:03 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-09-03T15:57:03Z</dc:date>
    <item>
      <title>OLS with parameter restriction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681378#M206085</link>
      <description>&lt;P&gt;Hello sas users&lt;/P&gt;&lt;P&gt;Can anyone help me estimate OLS with restriction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My model is&lt;/P&gt;&lt;P&gt;Y=b0+b1*x1+b2*x2+b3*x3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to impose restrictions where&lt;/P&gt;&lt;P&gt;(i) b1,b2,b3&amp;gt;=0&amp;nbsp;&lt;/P&gt;&lt;P&gt;(ii) b1+b2+b3=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which procedure do I use?&lt;/P&gt;&lt;P&gt;If you let me know it will be really appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 15:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681378#M206085</guid>
      <dc:creator>jkim197</dc:creator>
      <dc:date>2020-09-03T15:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: OLS with parameter restriction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681387#M206090</link>
      <description>&lt;P&gt;PROC REG with the RESTRICT statement can handle your second restriction, but not the first (because PROC REG cannot handle greater than or less than restrictions).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Then there's this:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473076" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473076&lt;/A&gt;&amp;nbsp;(scroll down to the reply by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32656"&gt;@stanmarciano&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe you can program PROC IML to handle greater than or less than restrictions on the regression coefficients, but I leave that up to our in-house PROC IML author&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 15:29:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681387#M206090</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-03T15:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: OLS with parameter restriction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681404#M206100</link>
      <description>&lt;P&gt;Thanks but I didnt mean to do Bayesian inference&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 15:44:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681404#M206100</guid>
      <dc:creator>jkim197</dc:creator>
      <dc:date>2020-09-03T15:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: OLS with parameter restriction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681413#M206103</link>
      <description>&lt;P&gt;And this:&amp;nbsp;&lt;A href="https://support.sas.com/kb/22/800.html" target="_blank"&gt;https://support.sas.com/kb/22/800.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remember, Google is your friend in situations like this.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 15:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681413#M206103</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-03T15:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: OLS with parameter restriction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681427#M206111</link>
      <description>&lt;P&gt;Replace b3 with 1 - b1 - b2 in your model and use &lt;STRONG&gt;proc nlin&lt;/STRONG&gt; to fit your model with a &lt;STRONG&gt;bounds&lt;/STRONG&gt; statement.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 17:07:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681427#M206111</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-09-03T17:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: OLS with parameter restriction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681615#M206188</link>
      <description>&lt;P&gt;Check&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp; blog ,about this question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 12:42:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681615#M206188</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-09-04T12:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: OLS with parameter restriction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681626#M206190</link>
      <description>&lt;P&gt;proc model data=loading_&amp;amp;howmany(where=(year(date)=&amp;amp;i)) plots=none;&lt;BR /&gt;by wficn date;&lt;BR /&gt;retmrf=b0+b1*rm+b2*smb+b3*hml+b4*umd ;&lt;BR /&gt;bounds 0 &amp;lt;= b1 b2 b3 b4;&lt;BR /&gt;restrict b1+b2+b3+b4 = 1;&lt;BR /&gt;fit retmrf ;&lt;BR /&gt;ods output ResidSummary=rsq_&amp;amp;howmany._&amp;amp;i(keep=wficn date RSquare);&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 13:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/681626#M206190</guid>
      <dc:creator>jkim197</dc:creator>
      <dc:date>2020-09-04T13:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: OLS with parameter restriction</title>
      <link>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/688749#M209306</link>
      <description>&lt;P&gt;For more about solving regression problems in SAS that have constraints on the parameters, see&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://blogs.sas.com/content/iml/2020/09/16/restricted-regression-sas.html" target="_self"&gt;Restricted least squares regression in SAS&lt;/A&gt;&amp;nbsp; (equality constraints only)&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://blogs.sas.com/content/iml/2020/09/21/regression-inequality-constraints-sas.html" target="_self"&gt;Regression with inequality constraints on parameters&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sun, 04 Oct 2020 10:30:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/OLS-with-parameter-restriction/m-p/688749#M209306</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-10-04T10:30:11Z</dc:date>
    </item>
  </channel>
</rss>

