<?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 Testing Slope=ONE in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323154#M17089</link>
    <description>&lt;P&gt;In an ANCOVA-like model (using GLM or MIXED or whatever) how do I test whether a Slope=ONE.&lt;/P&gt;
&lt;P&gt;(not zero, 1) &amp;nbsp;... testing whether the estimated slope = 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Proc GLM;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;Class Group;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;Model Y= Group X;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;... something like: TEST X=1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=== I know I could look at the CI for the parameter estimates and see if it contains 1; I want a p-value.&lt;/P&gt;
&lt;P&gt;???&lt;/P&gt;</description>
    <pubDate>Sat, 07 Jan 2017 15:02:17 GMT</pubDate>
    <dc:creator>AlBest</dc:creator>
    <dc:date>2017-01-07T15:02:17Z</dc:date>
    <item>
      <title>Testing Slope=ONE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323154#M17089</link>
      <description>&lt;P&gt;In an ANCOVA-like model (using GLM or MIXED or whatever) how do I test whether a Slope=ONE.&lt;/P&gt;
&lt;P&gt;(not zero, 1) &amp;nbsp;... testing whether the estimated slope = 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Proc GLM;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;Class Group;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;Model Y= Group X;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;... something like: TEST X=1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=== I know I could look at the CI for the parameter estimates and see if it contains 1; I want a p-value.&lt;/P&gt;
&lt;P&gt;???&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 15:02:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323154#M17089</guid>
      <dc:creator>AlBest</dc:creator>
      <dc:date>2017-01-07T15:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Testing Slope=ONE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323170#M17090</link>
      <description>&lt;P&gt;The TESTVALUE= option on the ESTIMATE or LSMESTIMATE statement will do that. See&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="CONTRAST and ESTIMATE Statements Made Easy" href="https://support.sas.com/resources/papers/proceedings11/351-2011.pdf" target="_self"&gt;https://support.sas.com/resources/papers/proceedings11/351-2011.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for an example. The TESTVALUE= option is not available for all procedures--for example, it is not available for GLIMMIX--but in those cases you can&amp;nbsp;&lt;SPAN&gt;use the STORE statement and then use the PLM procedure to obtain the ESTIMATE or LSMESTIMATE statement with TESTVALUE option.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 18:09:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323170#M17090</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-01-07T18:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Testing Slope=ONE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323171#M17091</link>
      <description>&lt;P&gt;Sorry, but the TESTVALUE= option is not available in GLM. In MIXED, the option &lt;U&gt;is&lt;/U&gt; available in the LSMEstimate statement, but it only allows CLASS values as an effect. &amp;nbsp;I need to test whether the slope of a continuous covariate is 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, I appreciate the thought. I learned something.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 18:45:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323171#M17091</guid>
      <dc:creator>AlBest</dc:creator>
      <dc:date>2017-01-07T18:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Testing Slope=ONE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323172#M17092</link>
      <description>&lt;P&gt;True, the TESTVALUE option is not available for the ESTIMATE statement in many SAS procedures (including GLM and MIXED, as well as GLIMMIX), which I noted in my response. (For testing a specific slope value, you would use ESTIMATE rather than LSMESTIMATE.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, as I also noted, you can use the STORE statement in GLM (or MIXED or GLIMMIX), and then the PLM procedure with the ESTIMATE statement and the TESTVALUE option. See&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Introducing PROC PLM and Postfitting Analysis for Very General Linear Models in SAS/STAT® 9.22" href="https://support.sas.com/resources/papers/proceedings10/258-2010.pdf" target="_self"&gt;https://support.sas.com/resources/papers/proceedings10/258-2010.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for more information about the PLM procedure; SAS documentation provides even more details. A chance to learn even more &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 18:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323172#M17092</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-01-07T18:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Testing Slope=ONE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323173#M17093</link>
      <description>&lt;P&gt;Ah. I spoke too soon.&lt;/P&gt;
&lt;P&gt;Outputing a STORE in MIXED and then using the ESTIMATE statement in PLM works!&lt;/P&gt;
&lt;P&gt;cool&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 19:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323173#M17093</guid>
      <dc:creator>AlBest</dc:creator>
      <dc:date>2017-01-07T19:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Testing Slope=ONE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323174#M17094</link>
      <description>&lt;P&gt;It is cool! I'm glad it worked for you.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 19:04:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323174#M17094</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-01-07T19:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Testing Slope=ONE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323183#M17095</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45155"&gt;@AlBest&lt;/a&gt;&amp;nbsp;Please mark answer&amp;nbsp;as correct&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2017 04:31:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-Slope-ONE/m-p/323183#M17095</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-08T04:31:13Z</dc:date>
    </item>
  </channel>
</rss>

