<?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 Regression analysis with only positive coefficients in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473070#M24621</link>
    <description>&lt;P&gt;I am looking to run a regression analysis but only get positive coefficients just based on the scenario of my calculation negative coefficients are nonsensical. &amp;nbsp;I am currently using PROC REG with a LSMEANS but I dont know if this is the only way to run it. &amp;nbsp;I have tried to use RESTRICT and BOUNDS but neither have worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jun 2018 17:19:39 GMT</pubDate>
    <dc:creator>AndrewBronson</dc:creator>
    <dc:date>2018-06-25T17:19:39Z</dc:date>
    <item>
      <title>Regression analysis with only positive coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473070#M24621</link>
      <description>&lt;P&gt;I am looking to run a regression analysis but only get positive coefficients just based on the scenario of my calculation negative coefficients are nonsensical. &amp;nbsp;I am currently using PROC REG with a LSMEANS but I dont know if this is the only way to run it. &amp;nbsp;I have tried to use RESTRICT and BOUNDS but neither have worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:19:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473070#M24621</guid>
      <dc:creator>AndrewBronson</dc:creator>
      <dc:date>2018-06-25T17:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Regression analysis with only positive coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473075#M24622</link>
      <description>&lt;P&gt;Well, here's the problem. If you have multiple X variables in your regression, and they are correlated with one another, you can get slopes that seem to have the wrong sign. This is a consequence of including variables that are correlated with one another.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try removing variables from the model, or use PROC PLS instead of PROC REG, which is less susceptible to this problem.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:25:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473075#M24622</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-06-25T17:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regression analysis with only positive coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473076#M24623</link>
      <description>&lt;P&gt;Yes I figured the multicollinearity is likely a problem. &amp;nbsp;I will try the PROC PLS. &amp;nbsp;Thank you for the suggestion&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:29:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473076#M24623</guid>
      <dc:creator>AndrewBronson</dc:creator>
      <dc:date>2018-06-25T17:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Regression analysis with only positive coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473696#M24639</link>
      <description>&lt;P&gt;If you have a very sound&amp;nbsp;theoretical backing for your coefficients to be positive, then you could use bayesian regression method and set the prior distributions from positive distributions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some helpful links for bayesian regression:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Basic setup of model using proc Genmod: &lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_genmod_sect007.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_genmod_sect007.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1a) How to change priors:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_genmod_sect012.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_genmod_sect012.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively (This might be the best proc to use in your case):&lt;/P&gt;
&lt;P&gt;Proc MCMC is another possible solution:&lt;/P&gt;
&lt;P&gt;3) Proc MCMC linear regression: &lt;A href="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_mcmc_sect004.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_mcmc_sect004.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here note that I am assuming that you have very solid theoretical backing for your Beta coefficients to be positive. This is a very strong assumption and has to be based on evidence from prior literature or some other source.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:37:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Regression-analysis-with-only-positive-coefficients/m-p/473696#M24639</guid>
      <dc:creator>stanmarciano</dc:creator>
      <dc:date>2018-06-27T12:37:29Z</dc:date>
    </item>
  </channel>
</rss>

