<?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: constrained regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/323521#M17107</link>
    <description>&lt;P&gt;Hi PG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the following code but the restriction &lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;a + b + c + d = 1&lt;/STRONG&gt; is not being incorprated in my results.Can you identify the possible issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc nlin data=temp1 noprint outest=Out_Estimates ;&lt;BR /&gt;parms a=.25 b=.25 c=.25 d=.25;&lt;BR /&gt;bounds 0 &amp;lt;= a b c d&amp;lt;= 1;&lt;BR /&gt;restrict a + b + c + d = 1;&lt;BR /&gt;model AMP_AIT = a*US_Small_Val + b*US_Small_Gr + c*US_Large_Gr + d*_US_Large_Val;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;title 'out_estimates, loop ' &amp;amp;i;&lt;BR /&gt;proc print data=Out_Estimates;run;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2017 03:44:01 GMT</pubDate>
    <dc:creator>Amalik</dc:creator>
    <dc:date>2017-01-10T03:44:01Z</dc:date>
    <item>
      <title>constrained regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321350#M17003</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to run a constrained regression with the following constarints,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;US_Small_Val + US_Small_Gr + US_Large_Gr &amp;nbsp;+ _US_Large_Val = 1;&lt;/P&gt;&lt;P&gt;0 &amp;lt;= US_Small_Val &amp;lt;= 1;&amp;nbsp;0 &amp;lt;= US_Small_Gr &amp;lt;= 1;&amp;nbsp;0 &amp;lt;= US_Large_Gr &amp;lt;= 1;&amp;nbsp;0 &amp;lt;= _US_Large_Val &amp;lt;= 1;&lt;/P&gt;&lt;P&gt;where the model is,&lt;/P&gt;&lt;P&gt;AMP_AIT = US_Small_Val US_Small_Gr US_Large_Gr _US_Large_Val /noint;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attacing the code wci I have used but its not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can smeone please help me out in this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anum&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 21:52:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321350#M17003</guid>
      <dc:creator>Amalik</dc:creator>
      <dc:date>2016-12-27T21:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: constrained regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321356#M17004</link>
      <description>&lt;P&gt;What's the error message?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could try starting the regression at a feasable point&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;parms US_Small_Val 0.25 US_Small_Gr&amp;nbsp;0.25 US_Large_Gr 0.25 &amp;nbsp;_US_Large_Val 0.25;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 22:42:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321356#M17004</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-12-27T22:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: constrained regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321358#M17005</link>
      <description>&lt;P&gt;&amp;nbsp;it says&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, ADJSMMV, ALPHA, BLOCK, BREUSCH,&lt;BR /&gt;CATNAME, CHOW, COLLIN, CONVERGE, CORR, CORRB, CORRS, COV, COVB, COVBESTIMATOR,&lt;BR /&gt;COVS, DATA, DETAILS, DW, DWPROB, DYNAMIC, EPSILON, FASTSOLVE, FLOW, FORECAST,&lt;BR /&gt;FSRSQ, GENGMMV, GINV, GMM, GODFREY, GOF, GRAPH, HAUSMAN, HCCME, HESSIAN, HIDE,&lt;BR /&gt;I, INTGPRINT, IT2SLS, IT3SLS, ITALL, ITDETAILS, ITGMM, ITOLS, ITPRINT, ITSUR,&lt;BR /&gt;JACOBI, KERNEL, LIBNAME, LIST, LISTALL, LISTCODE, LISTDEP, LISTDER, LTEBOUND, M,&lt;BR /&gt;MAXERRORS, MAXITER, MAXSUBITER, MEMORYUSE, METHOD, MINTIMESTEP, MISSING, MOD,&lt;BR /&gt;MODEL, MODFILE, N2SLS, N3SLS, NAHEAD, NDEC, NDRAW, NEWTON, NODWPROB, NOGENGMMV,&lt;BR /&gt;NOHAUSMAN, NOINTGPRINT, NOMEM, NOMEMORYUSE, NONORMAL, NOOUTOBJVALS,&lt;BR /&gt;NOOUTVIOLATIONS, NOPRINT, NOREPORTMISSINGS, NORMAL, NOSTARTITER, NOSTORE,&lt;BR /&gt;NPREOBS, NVDRAW, OBFUSCATE, OLS, OPTIMIZE,&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 23:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321358#M17005</guid>
      <dc:creator>Amalik</dc:creator>
      <dc:date>2016-12-27T23:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: constrained regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321365#M17007</link>
      <description>&lt;P&gt;Looks like that error message is coming from the FIT statement.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 00:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321365#M17007</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-12-28T00:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: constrained regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321376#M17008</link>
      <description>&lt;P&gt;I am just guessing, I think the proper syntax for your proc model invocation should be something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc model data=temp1 noprint outest=Out_Estimates;
parms a 0.25 b 0.25 c 0.25 d 0.25;
bounds 0 &amp;lt;= a b c d &amp;lt;= 1;
restrict a + b + c + d = 1;
AMP_AIT = a*US_Small_Val + b*US_Small_Gr + c*US_Large_Gr + d*_US_Large_Val;
fit AMP_AIT;
run;
quit;  &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Dec 2016 03:38:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/321376#M17008</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-12-28T03:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: constrained regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/323521#M17107</link>
      <description>&lt;P&gt;Hi PG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the following code but the restriction &lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;a + b + c + d = 1&lt;/STRONG&gt; is not being incorprated in my results.Can you identify the possible issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc nlin data=temp1 noprint outest=Out_Estimates ;&lt;BR /&gt;parms a=.25 b=.25 c=.25 d=.25;&lt;BR /&gt;bounds 0 &amp;lt;= a b c d&amp;lt;= 1;&lt;BR /&gt;restrict a + b + c + d = 1;&lt;BR /&gt;model AMP_AIT = a*US_Small_Val + b*US_Small_Gr + c*US_Large_Gr + d*_US_Large_Val;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;title 'out_estimates, loop ' &amp;amp;i;&lt;BR /&gt;proc print data=Out_Estimates;run;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 03:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/323521#M17107</guid>
      <dc:creator>Amalik</dc:creator>
      <dc:date>2017-01-10T03:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: constrained regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/323847#M17111</link>
      <description>&lt;P&gt;&lt;STRONG&gt;restrict&lt;/STRONG&gt; is not a valid statement in proc nlin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to try proc hpnlmod instead.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 03:29:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/constrained-regression/m-p/323847#M17111</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-01-11T03:29:28Z</dc:date>
    </item>
  </channel>
</rss>

