<?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: Is it possible to output only certain parameters in proc model procedure in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83237#M23876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cycling through proc model documentation, it supports the keep statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you could add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep b0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right before run; to achieve the desired result. At least according to documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 13:14:45 GMT</pubDate>
    <dc:creator>Vince28_Statcan</dc:creator>
    <dc:date>2013-07-18T13:14:45Z</dc:date>
    <item>
      <title>Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83235#M23874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a gmm model, and I estimated 16 parameters. I only care about the intercept. Is it possible to output only one parameter in stead of all. I have the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods output parameterestimates=final;&lt;/P&gt;&lt;P&gt;proc model data = current;&lt;/P&gt;&lt;P&gt;&amp;nbsp; endo Mean;&lt;/P&gt;&lt;P&gt;&amp;nbsp; exog x1 x2 x3 x4 x11 x12 x13 x14 x15;&lt;/P&gt;&lt;P&gt;&amp;nbsp; instruments _exog_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; parms b0 b1 b2 b3 b4 b11 b12 b13 b14 b15;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mean=b0+b1*x1+b2*x2+b3*x3+b4*x4+b11*x11+b12*x12+b13*x13+b14*x14+b15*x15;&lt;/P&gt;&lt;P&gt;&amp;nbsp; fit Mean/ gmm kernel=(bart,4,0) vardef=n;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only want b0 to be presented.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 06:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83235#M23874</guid>
      <dc:creator>SeanZ</dc:creator>
      <dc:date>2013-07-18T06:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83236#M23875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are outputting the parameter estimates to&amp;nbsp; the dataset &lt;STRONG&gt;final&lt;/STRONG&gt;, could you just use PROC PRINT with a WHERE parameter='b0'; statement.&amp;nbsp; You could suppress the listing for proc model with ods listing close; and just output the estimate, standard error, etc. as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 11:48:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83236#M23875</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-07-18T11:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83237#M23876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cycling through proc model documentation, it supports the keep statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you could add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep b0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right before run; to achieve the desired result. At least according to documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 13:14:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83237#M23876</guid>
      <dc:creator>Vince28_Statcan</dc:creator>
      <dc:date>2013-07-18T13:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83238#M23877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a keep in with your ODS statement, I don't know what the variable is actually called so make sure you have the correct name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods output parameterestimates=final (keep=b0);&lt;/P&gt;&lt;P&gt;proc model data = current;&lt;/P&gt;&lt;P&gt;&amp;nbsp; endo Mean;&lt;/P&gt;&lt;P&gt;&amp;nbsp; exog x1 x2 x3 x4 x11 x12 x13 x14 x15;&lt;/P&gt;&lt;P&gt;&amp;nbsp; instruments _exog_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; parms b0 b1 b2 b3 b4 b11 b12 b13 b14 b15;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mean=b0+b1*x1+b2*x2+b3*x3+b4*x4+b11*x11+b12*x12+b13*x13+b14*x14+b15*x15;&lt;/P&gt;&lt;P&gt;&amp;nbsp; fit Mean/ gmm kernel=(bart,4,0) vardef=n;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 14:36:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83238#M23877</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-18T14:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83239#M23878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe in the ods statement it would be a where statement similar to the proc print mentioned above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ods output parameterestimates=final (where=(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;parameter='b0'&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;EJ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 14:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83239#M23878</guid>
      <dc:creator>esjackso</dc:creator>
      <dc:date>2013-07-18T14:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83240#M23879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This last works for me.&amp;nbsp; I have problems with ods listing close or ods exclude all in ETS, the former not doing anything, and the latter not allowing print when a subsequent procedure (PROC PRINT) is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 15:46:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83240#M23879</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-07-18T15:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83241#M23880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. There is no variable named b0 in the output. b0 b1 ... are variables listed under variable parameter. EJ gave the correct answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 19:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83241#M23880</guid>
      <dc:creator>SeanZ</dc:creator>
      <dc:date>2013-07-18T19:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83242#M23881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. EJ gave the correct answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 20:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83242#M23881</guid>
      <dc:creator>SeanZ</dc:creator>
      <dc:date>2013-07-18T20:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83243#M23882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure, but I don't think proc print can output the parameters to a dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 20:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83243#M23882</guid>
      <dc:creator>SeanZ</dc:creator>
      <dc:date>2013-07-18T20:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to output only certain parameters in proc model procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83244#M23883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry.&amp;nbsp; My statement was very unclear.&amp;nbsp; My problem was with the ODS statements.&amp;nbsp; I solved them using ODS HTML rather than ODS LISTING.&amp;nbsp; I was able to output only the values in the 'final' dataset, and suppress all of the output from PROC MODEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-it-possible-to-output-only-certain-parameters-in-proc-model/m-p/83244#M23883</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-07-19T12:14:42Z</dc:date>
    </item>
  </channel>
</rss>

