<?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: In a regression procedure, how to suppress some estimated coefficients? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/In-a-regression-procedure-how-to-suppress-some-estimated/m-p/881367#M82802</link>
    <description>&lt;P&gt;I wrote a short blog post that describes, in general, how to use a built-in ODS template to display a table of values:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2023/06/19/ods-template-render.html" target="_self"&gt;"Use built-in ODS templates to display SAS tables"&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2023 10:28:43 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2023-06-19T10:28:43Z</dc:date>
    <item>
      <title>In a regression procedure, how to suppress some estimated coefficients?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/In-a-regression-procedure-how-to-suppress-some-estimated/m-p/881099#M82792</link>
      <description>&lt;P&gt;I am using HPLOGISTIC and HPREG to analyze a model with thousands of fixed effects as control variables. They are not the independent variables that I am interested in. Now the output has thousands of rows in the estimated coefficient report table. Is there anyway to prevent these fixed effects from showing up?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A sample code would go as follows, where "fixed" has thousands of levels. I am only interested in the coefficients of x1 and x2, but not fixed.&lt;/P&gt;&lt;P&gt;PROC HPREG data=test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; CLASS fixed;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; MODEL y = x1 x2 fixed;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 14:24:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/In-a-regression-procedure-how-to-suppress-some-estimated/m-p/881099#M82792</guid>
      <dc:creator>sasgenie</dc:creator>
      <dc:date>2023-06-16T14:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: In a regression procedure, how to suppress some estimated coefficients?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/In-a-regression-procedure-how-to-suppress-some-estimated/m-p/881116#M82794</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Use ODS EXCLUDE ParameterEstimates to suppress the printed table.&lt;/LI&gt;
&lt;LI&gt;Use ODS OUTPUT&amp;nbsp;ParameterEstimates=PE to store the table as a SAS data set&lt;/LI&gt;
&lt;LI&gt;Use PROC SGRENDER to display the table by using the same template that PROC HPREG uses. You can use a WHERE statement to exclude any estimates that you don't want.&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC HPREG data=test;
    CLASS fixed;
    MODEL y = x1 x2 fixed;
    ods exclude ParameterEstimates;
    ods output ParameterEstimates=PE;
RUN;

proc sgrender data=PE template=HPSTAT.HPREG.ParameterEstimates;
where Effect ^= "fixed";
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 14:56:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/In-a-regression-procedure-how-to-suppress-some-estimated/m-p/881116#M82794</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-06-16T14:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: In a regression procedure, how to suppress some estimated coefficients?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/In-a-regression-procedure-how-to-suppress-some-estimated/m-p/881367#M82802</link>
      <description>&lt;P&gt;I wrote a short blog post that describes, in general, how to use a built-in ODS template to display a table of values:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2023/06/19/ods-template-render.html" target="_self"&gt;"Use built-in ODS templates to display SAS tables"&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 10:28:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/In-a-regression-procedure-how-to-suppress-some-estimated/m-p/881367#M82802</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-06-19T10:28:43Z</dc:date>
    </item>
  </channel>
</rss>

