<?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: Goodness of fit statistics for proc model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Goodness-of-fit-statistics-for-proc-model/m-p/485805#M25167</link>
    <description>&lt;P&gt;Thanks for your reply. To my knowledge Proc GLM does not allow functionality for adding constraints so it does not solve my problem.&lt;/P&gt;&lt;P&gt;My model framework is:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Model: &lt;/SPAN&gt;&lt;SPAN&gt;y = var1&amp;nbsp; var2&amp;nbsp; var3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Constraints:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Weight of var1 should be at least 20%, i.e. var1/(var1+var2+var3) &amp;gt;0.2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Weight of var2 should be at least 30% i.e. var2/(var1+var2+var3) &amp;gt;0.3&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I can use the Restrict statement in Proc Model to fit models using these constraints, however, this procedure does not output the AIC, BIC and other fit statistics. Proc Reg also does not have the functionality of fitting non-linear or inequality constraints.&lt;/P&gt;&lt;P&gt;So is there any other procedure I can use to fit a model and get the goodness of fit statistics if its not available with Proc model.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Aug 2018 15:03:30 GMT</pubDate>
    <dc:creator>aaaaawe2</dc:creator>
    <dc:date>2018-08-10T15:03:30Z</dc:date>
    <item>
      <title>Goodness of fit statistics for proc model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Goodness-of-fit-statistics-for-proc-model/m-p/485519#M25161</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to look at the goodness of fit statistics (AIC, BIC etc.)&amp;nbsp;for a linear regression model I have built with Proc Model.&amp;nbsp;I&amp;nbsp;could not&amp;nbsp;use Proc Reg for this model as&amp;nbsp;I had certain constraints&amp;nbsp;(like&amp;nbsp;weight of variable_1 &amp;gt; 20%) that proc reg&amp;nbsp;can not handle.&amp;nbsp;So&amp;nbsp;I am looking to get the fit statistics using Proc&amp;nbsp;Model now. Thanks&amp;nbsp;for helping out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 15:54:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Goodness-of-fit-statistics-for-proc-model/m-p/485519#M25161</guid>
      <dc:creator>aaaaawe2</dc:creator>
      <dc:date>2018-08-09T15:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit statistics for proc model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Goodness-of-fit-statistics-for-proc-model/m-p/485616#M25162</link>
      <description>proc glm data=; class ; model / solution; ods output fitstatistics=test2; run; Unfortunately, its not possible with proc model. Try this code snippet and check whether it solves your problem!</description>
      <pubDate>Thu, 09 Aug 2018 22:24:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Goodness-of-fit-statistics-for-proc-model/m-p/485616#M25162</guid>
      <dc:creator>ajkalale</dc:creator>
      <dc:date>2018-08-09T22:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Goodness of fit statistics for proc model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Goodness-of-fit-statistics-for-proc-model/m-p/485805#M25167</link>
      <description>&lt;P&gt;Thanks for your reply. To my knowledge Proc GLM does not allow functionality for adding constraints so it does not solve my problem.&lt;/P&gt;&lt;P&gt;My model framework is:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Model: &lt;/SPAN&gt;&lt;SPAN&gt;y = var1&amp;nbsp; var2&amp;nbsp; var3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Constraints:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Weight of var1 should be at least 20%, i.e. var1/(var1+var2+var3) &amp;gt;0.2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Weight of var2 should be at least 30% i.e. var2/(var1+var2+var3) &amp;gt;0.3&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I can use the Restrict statement in Proc Model to fit models using these constraints, however, this procedure does not output the AIC, BIC and other fit statistics. Proc Reg also does not have the functionality of fitting non-linear or inequality constraints.&lt;/P&gt;&lt;P&gt;So is there any other procedure I can use to fit a model and get the goodness of fit statistics if its not available with Proc model.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 15:03:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Goodness-of-fit-statistics-for-proc-model/m-p/485805#M25167</guid>
      <dc:creator>aaaaawe2</dc:creator>
      <dc:date>2018-08-10T15:03:30Z</dc:date>
    </item>
  </channel>
</rss>

