<?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: TEST statement in proc surveyreg in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/TEST-statement-in-proc-surveyreg/m-p/234953#M12416</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Estimate 'X2-X3' X2 1 X3 -1;
Estimate 'X2+X3' X2 1 X3 1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2015 03:04:55 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2015-11-17T03:04:55Z</dc:date>
    <item>
      <title>TEST statement in proc surveyreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/TEST-statement-in-proc-surveyreg/m-p/234876#M12410</link>
      <description>&lt;P&gt;I am trying to figure out how the TEST statement could be employed to test for the equality of the coefficients in the proc surveyreg procedure. For instance, if the model is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveyreg data=input;&lt;/P&gt;&lt;P&gt;model DEP= X1 X2 X3 X4 /solution;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I want to formally test whether the coefficients for X2 and X3 are significantly different from each other, or if their sum is equal to 0. I tried various combinations, such as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveyreg data=input;&lt;/P&gt;&lt;P&gt;model DEP= X1 X2 X3 X4 /solution;&lt;/P&gt;&lt;P&gt;test X2 + X3;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(none seem to work);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I perform such tests? Or is it some other statement I should be looking at?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2015 15:44:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/TEST-statement-in-proc-surveyreg/m-p/234876#M12410</guid>
      <dc:creator>kerrida</dc:creator>
      <dc:date>2015-11-16T15:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: TEST statement in proc surveyreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/TEST-statement-in-proc-surveyreg/m-p/234953#M12416</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Estimate 'X2-X3' X2 1 X3 -1;
Estimate 'X2+X3' X2 1 X3 1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 03:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/TEST-statement-in-proc-surveyreg/m-p/234953#M12416</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-11-17T03:04:55Z</dc:date>
    </item>
  </channel>
</rss>

