<?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 How to test significance of  sum of coefficients in proc glm statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845762#M334356</link>
    <description>&lt;P&gt;I am using proc GLM statement:&lt;/P&gt;&lt;P&gt;proc glm data=x;&lt;/P&gt;&lt;P&gt;absorb cusip;&lt;/P&gt;&lt;P&gt;class year;&lt;/P&gt;&lt;P&gt;model y= a1 a2 a3 b1 b2 b3 b4 year/solution NOINT;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to test the statistical significance of the sum b1+b3 and the sum b2+b4.&lt;/P&gt;&lt;P&gt;How do I do that?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 19:48:12 GMT</pubDate>
    <dc:creator>Noga</dc:creator>
    <dc:date>2022-11-22T19:48:12Z</dc:date>
    <item>
      <title>How to test significance of  sum of coefficients in proc glm statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845762#M334356</link>
      <description>&lt;P&gt;I am using proc GLM statement:&lt;/P&gt;&lt;P&gt;proc glm data=x;&lt;/P&gt;&lt;P&gt;absorb cusip;&lt;/P&gt;&lt;P&gt;class year;&lt;/P&gt;&lt;P&gt;model y= a1 a2 a3 b1 b2 b3 b4 year/solution NOINT;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to test the statistical significance of the sum b1+b3 and the sum b2+b4.&lt;/P&gt;&lt;P&gt;How do I do that?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 19:48:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845762#M334356</guid>
      <dc:creator>Noga</dc:creator>
      <dc:date>2022-11-22T19:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to test significance of  sum of coefficients in proc glm statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845776#M334364</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/385232"&gt;@Noga&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am using proc GLM statement:&lt;/P&gt;
&lt;P&gt;proc glm data=x;&lt;/P&gt;
&lt;P&gt;absorb cusip;&lt;/P&gt;
&lt;P&gt;class year;&lt;/P&gt;
&lt;P&gt;model y= a1 a2 a3 b1 b2 b3 b4 year/solution NOINT;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to test the statistical significance of the sum b1+b3 and the sum b2+b4.&lt;/P&gt;
&lt;P&gt;How do I do that?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;"Statistical significance" is only defined relative to a specific hypothesis test. You didn't state an hypothesis you are trying to test.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 21:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845776#M334364</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-11-22T21:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to test significance of  sum of coefficients in proc glm statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845817#M334382</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; wrote several blogs about it .&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2022/10/12/reduced-regression-tests.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2022/10/12/reduced-regression-tests.html&lt;/A&gt;</description>
      <pubDate>Wed, 23 Nov 2022 02:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845817#M334382</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-23T02:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to test significance of  sum of coefficients in proc glm statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845861#M334403</link>
      <description>&lt;P&gt;I want to test: b1+b3=0, and b2+b4=0&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 07:38:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845861#M334403</guid>
      <dc:creator>Noga</dc:creator>
      <dc:date>2022-11-23T07:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to test significance of  sum of coefficients in proc glm statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845862#M334404</link>
      <description>&lt;P&gt;but he addresses proc reg, not proc glm&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 07:38:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845862#M334404</guid>
      <dc:creator>Noga</dc:creator>
      <dc:date>2022-11-23T07:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to test significance of  sum of coefficients in proc glm statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845891#M334417</link>
      <description>&lt;P&gt;To test a hypothesis of a linear relationship between coefficients, you can use the ESTIMATE statement:&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_glm_syntax07.htm" target="_blank" rel="noopener"&gt;SAS Help Center: ESTIMATE Statement&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the following DATA step simulates data from a linear regression model for which the coefficients for x1 and x3 are +2 and -2, respectively. Similarly, the coefficients for x2 and x4 are +1.5 and -1.5, respectively.&amp;nbsp; The ESTIMATE statements produce tables that show the estimate (and std error) for the differences of the coefficients:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let N = 100;
data Full;
call streaminit(123);
do i = 1 to &amp;amp;N;
   x1 = rand("Normal", 25, 5);
   x2 = rand("Normal", 14, 2);
   x3 = rand("Normal", 40, 9);
   x4 = rand("Normal", 21, 7);
   eps = rand("normal", 0, 30);
   y = 17 + 2*x1 + 1.5*x2 - 2*x3 - 1.5*x4 + eps;
   output;
end;
keep x1-x4 y;
run;

proc glm data=Full;
model y = x1-x4 / solution clmparm;
estimate 'x1-x3' x1 1 x3 -1;
estimate 'x2-x4' x2 1 x4 -1;
ods select Estimates ParameterEstimates;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The results are the same as for the REG procedure, except the GLM procedure outputs the p-value as a t test statistic, whereas PROC REG uses an F test.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 10:57:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/845891#M334417</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-11-24T10:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to test significance of  sum of coefficients in proc glm statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/846058#M334476</link>
      <description>Rick,&lt;BR /&gt;estimate 'x1-x3' x1 1 x2 -1;&lt;BR /&gt;should be&lt;BR /&gt;estimate 'x1-x3' x1 1 x3 -1;</description>
      <pubDate>Thu, 24 Nov 2022 01:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/846058#M334476</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-24T01:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to test significance of  sum of coefficients in proc glm statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/846059#M334477</link>
      <description>&lt;P&gt;Or you can make a new variable new=b1+b3;&lt;/P&gt;
&lt;P&gt;and use this variable NEW to test its estimated coefficient is zero or not ,like others variables. ?&lt;/P&gt;
&lt;P&gt;also calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 01:56:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-test-significance-of-sum-of-coefficients-in-proc-glm/m-p/846059#M334477</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-24T01:56:05Z</dc:date>
    </item>
  </channel>
</rss>

