<?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: Compare coefficients in a single panel model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671500#M32101</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;test sum_AA = sum_AB = sum_AC = sum_AR = sum_AS = sum_AT = sum_AZ = sum_EE;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I think this is correct, but as I don't use PROC PANEL, you might have to parameterize it differently. You could also add the /WALD option. And you should remove SUM_AS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;The usual t-test statistics tell me that some of the coefficients of interest are significantly different from 0 and some or not.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I don't see that in your output. To me they all look not significantly different from 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2020 17:52:42 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-07-22T17:52:42Z</dc:date>
    <item>
      <title>Compare coefficients in a single panel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671431#M32093</link>
      <description>&lt;P&gt;I ran a regression of the following form:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc panel data = vr_input ;
id gvkey rankyear;
model vr_diff = readj_avg sum_AA sum_AB sum_AC sum_AR sum_AS sum_AT sum_AZ sum_EE
/ fixtwo;
test sum_AA = sum_AB = sum_AC = sum_AR = sum_AS = sum_AT = sum_AZ = sum_EE;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I want to test wether the coefficients sum_AA/sum_AB/sum_AC/... are different from one each other. I.e. I want to test the null hypothesis that the respective regression coefficients are equal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To my understanding, this can be done by conducting a Wald test. After reading the SAS documentation I found out that adding the "test" line as done above is the way to conduct this in SAS. Is this correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, the outputs are a bit confusing to me. The usual t-test statistics tell me that some of the coefficients of interest are significantly different from 0 and some or not. Intuitively this implies that the coefficients differ from each other. However, the Wald test tells me that the coefficients are in fact not significantly different from each other. How is this possible?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shenflow_0-1595430863562.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47510i6275D6FF099BB29F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shenflow_0-1595430863562.png" alt="shenflow_0-1595430863562.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shenflow_1-1595430879953.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/47511iFE2133508CADBD5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shenflow_1-1595430879953.png" alt="shenflow_1-1595430879953.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 15:17:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671431#M32093</guid>
      <dc:creator>shenflow</dc:creator>
      <dc:date>2020-07-22T15:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Compare coefficients in a single panel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671438#M32095</link>
      <description>Regarding the confusion. I just found this paper: &lt;A href="https://www.tandfonline.com/doi/abs/10.1198/000313006X152649" target="_blank"&gt;https://www.tandfonline.com/doi/abs/10.1198/000313006X152649&lt;/A&gt; which discusses that the difference between significance and insignificance is not significant per se itself. From my perspective, this kind of provides an answer to my second question. However, I would still appreciate answers. Especially regarding the question wether this statistical procedure fits my purpose at all.</description>
      <pubDate>Wed, 22 Jul 2020 15:39:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671438#M32095</guid>
      <dc:creator>shenflow</dc:creator>
      <dc:date>2020-07-22T15:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compare coefficients in a single panel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671500#M32101</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;test sum_AA = sum_AB = sum_AC = sum_AR = sum_AS = sum_AT = sum_AZ = sum_EE;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I think this is correct, but as I don't use PROC PANEL, you might have to parameterize it differently. You could also add the /WALD option. And you should remove SUM_AS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;The usual t-test statistics tell me that some of the coefficients of interest are significantly different from 0 and some or not.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I don't see that in your output. To me they all look not significantly different from 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 17:52:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671500#M32101</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-22T17:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compare coefficients in a single panel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671526#M32103</link>
      <description>&lt;P&gt;Consider the following to get rid of the AS problem (I would wager that AS occurs either first or last in the actual dataset).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc panel data = vr_input ;
id gvkey rankyear;
model vr_diff = readj_avg sum_AA sum_AB sum_AC sum_AR sum_AS sum_AT sum_AZ sum_EE
/ fixtwo noint printfixed;
test sum_AA = sum_AB = sum_AC = sum_AR = sum_AS = sum_AT = sum_AZ = sum_EE/all;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This should put all estimates as the means (rather than as a deviation from the overall mean) and provide all sorts of tests regarding the general equality of the sum_ variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 18:25:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671526#M32103</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-07-22T18:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Compare coefficients in a single panel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671694#M32107</link>
      <description>&lt;P&gt;At a 10 percent level, one is significantly different from zero. At the same time, at the 10 percent level, the values dont differ from each other.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 08:46:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671694#M32107</guid>
      <dc:creator>shenflow</dc:creator>
      <dc:date>2020-07-23T08:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compare coefficients in a single panel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671740#M32110</link>
      <description>&lt;P&gt;Unfortunately, excluding the intercept does not solve the issue of not getting an estimate for sum_AS. I do not know why though.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 10:13:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671740#M32110</guid>
      <dc:creator>shenflow</dc:creator>
      <dc:date>2020-07-23T10:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Compare coefficients in a single panel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671746#M32111</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/254635"&gt;@shenflow&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;At a 10 percent level, one is significantly different from zero. At the same time, at the 10 percent level, the values dont differ from each other.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's always helpful to state in your initial message what alpha level you are using if it is not 5 percent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Unfortunately, excluding the intercept does not solve the issue of not getting an estimate for sum_AS. I do not know why though.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Didn't we discuss this in an earlier thread? There are linear combinations of variables in your data set that a perfectly correlated with other linear combinations, and so in this case one the slope of the original variables cannot be estimated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 10:35:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671746#M32111</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-23T10:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Compare coefficients in a single panel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671822#M32117</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;You did suggest dropping the variable.&amp;nbsp; I thought it may be confounded with the intercept, making the NOINT option worthwhile. And it didn't work, so that leaves your approach as the only option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 14:01:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-coefficients-in-a-single-panel-model/m-p/671822#M32117</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-07-23T14:01:35Z</dc:date>
    </item>
  </channel>
</rss>

