<?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: Suppress the Parameter Estimates of SOME Independent Variables in PROC REG in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Suppress-the-Parameter-Estimates-of-SOME-Independent-Variables/m-p/780044#M248497</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/176501"&gt;@ericdrosano&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you for your feeback. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Another reason I avoid GLM is because it causes problems with some of the IVs that I'm using as fixed effects. Maybe it's because I'm not running GLM correctly, or with the right options, but I'll get '0.000000000' and 'B' for my main variables of interest depending upon certain FE variables.&lt;BR /&gt;&lt;BR /&gt;I was trying to avoid what you're saying, in terms of creating additional data sets, but it's possible that may be the best solution.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You say it causes problems, but apparently you misinterpret the zeros. These are&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; problems, but you have to learn to interpret the zeros properly. And again, the model is the same between REG and GLM, no difference in predicted values, no difference in R-squared.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an explanation of why GLM produces zeros for some levels of the class variables.&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Interpreting-Multivariate-Linear-Regression-with-Categorical/m-p/591230#M28913" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/Statistical-Procedures/Interpreting-Multivariate-Linear-Regression-with-Categorical/m-p/591230#M28913&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 22:37:16 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-11-12T22:37:16Z</dc:date>
    <item>
      <title>Suppress the Parameter Estimates of SOME Independent Variables in PROC REG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppress-the-Parameter-Estimates-of-SOME-Independent-Variables/m-p/780039#M248493</link>
      <description>&lt;P&gt;I am running OLS regressions using &lt;U&gt;&lt;STRONG&gt;proc reg&lt;/STRONG&gt;&lt;/U&gt; and have created dummy variables for years in order to implement a year fixed effect in my model. I do NOT want to use &lt;STRONG&gt;&lt;EM&gt;proc glm&lt;/EM&gt;&lt;/STRONG&gt; to run my fixed effects regressions because proc glm requires suppressing the intercept. Since some of my fixed effects involve variables that range in the upper hundreds, I would like to keep using &lt;U&gt;&lt;STRONG&gt;proc reg&lt;/STRONG&gt;&lt;/U&gt;, and report the parameter estimates of the independent variables, but suppress those variables used as fixed effects in the print out of the results.&lt;/P&gt;
&lt;P&gt;For example, if my model looked like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	ods select		NObs ANOVA FitStatistics ParameterEstimates;
		proc reg
			data = testdata; model dv = IV1 IV2 IV3 IV4 y2000--y2020;
			run; quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The parameter estimates will include all of y2000--y2020, but I would rather suppress them.&lt;BR /&gt;&lt;STRONG&gt;Is this possible?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 20:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppress-the-Parameter-Estimates-of-SOME-Independent-Variables/m-p/780039#M248493</guid>
      <dc:creator>ericdrosano</dc:creator>
      <dc:date>2021-11-12T20:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress the Parameter Estimates of SOME Independent Variables in PROC REG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppress-the-Parameter-Estimates-of-SOME-Independent-Variables/m-p/780042#M248495</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;because proc glm requires suppressing the intercept&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;No it doesn't &lt;EM&gt;require&lt;/EM&gt; you to do that — you have an option to suppress the intercept, or not. And regardless of whether or not you suppress the intercept, the model does not change. Same model, either way. And same model from GLM or REG, no difference. Just different parameterization of the coefficients.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can suppress the parameter estimates only if you create an output data set of the estimates, and then remove the rows from the data set, and then print the data set. The standard HTML output does not give you the option to exclude some model terms.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 20:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppress-the-Parameter-Estimates-of-SOME-Independent-Variables/m-p/780042#M248495</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-11-12T20:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress the Parameter Estimates of SOME Independent Variables in PROC REG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppress-the-Parameter-Estimates-of-SOME-Independent-Variables/m-p/780043#M248496</link>
      <description>Thank you for your feeback. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Another reason I avoid GLM is because it causes problems with some of the IVs that I'm using as fixed effects. Maybe it's because I'm not running GLM correctly, or with the right options, but I'll get '0.000000000' and 'B' for my main variables of interest depending upon certain FE variables.&lt;BR /&gt;&lt;BR /&gt;I was trying to avoid what you're saying, in terms of creating additional data sets, but it's possible that may be the best solution.&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Nov 2021 20:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppress-the-Parameter-Estimates-of-SOME-Independent-Variables/m-p/780043#M248496</guid>
      <dc:creator>ericdrosano</dc:creator>
      <dc:date>2021-11-12T20:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress the Parameter Estimates of SOME Independent Variables in PROC REG</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppress-the-Parameter-Estimates-of-SOME-Independent-Variables/m-p/780044#M248497</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/176501"&gt;@ericdrosano&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you for your feeback. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Another reason I avoid GLM is because it causes problems with some of the IVs that I'm using as fixed effects. Maybe it's because I'm not running GLM correctly, or with the right options, but I'll get '0.000000000' and 'B' for my main variables of interest depending upon certain FE variables.&lt;BR /&gt;&lt;BR /&gt;I was trying to avoid what you're saying, in terms of creating additional data sets, but it's possible that may be the best solution.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You say it causes problems, but apparently you misinterpret the zeros. These are&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; problems, but you have to learn to interpret the zeros properly. And again, the model is the same between REG and GLM, no difference in predicted values, no difference in R-squared.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an explanation of why GLM produces zeros for some levels of the class variables.&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Interpreting-Multivariate-Linear-Regression-with-Categorical/m-p/591230#M28913" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/Statistical-Procedures/Interpreting-Multivariate-Linear-Regression-with-Categorical/m-p/591230#M28913&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 22:37:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppress-the-Parameter-Estimates-of-SOME-Independent-Variables/m-p/780044#M248497</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-11-12T22:37:16Z</dc:date>
    </item>
  </channel>
</rss>

