<?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: How to perform t test on slope in proc reg in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/363933#M86242</link>
    <description>&lt;P&gt;It's not obvious why you are making the statement that the TEST command is testing "the overall F test on slope=1 and intercept=0&amp;nbsp;", as far as I know, this is not true. Why do you think it is testing this and not testing slope=1?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also am mystified by&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;model observed=predicted;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as this makes little sense to me.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2017 20:23:10 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2017-06-02T20:23:10Z</dc:date>
    <item>
      <title>How to perform t test on slope in proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/363905#M86230</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to do a t-test on the slope of a simple linear regression.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;H0: slope=1 VS Ha: slope !=1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the folowing code,"test predicted=1;&amp;nbsp;", but it&amp;nbsp;performed the overall F test on slope=1 and intercept=0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc reg data=test;&lt;BR /&gt;model observed=predicted;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;test predicted=1;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;quit;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 18:38:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/363905#M86230</guid>
      <dc:creator>Xiaoningdemao</dc:creator>
      <dc:date>2017-06-02T18:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform t test on slope in proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/363933#M86242</link>
      <description>&lt;P&gt;It's not obvious why you are making the statement that the TEST command is testing "the overall F test on slope=1 and intercept=0&amp;nbsp;", as far as I know, this is not true. Why do you think it is testing this and not testing slope=1?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also am mystified by&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;model observed=predicted;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as this makes little sense to me.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 20:23:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/363933#M86242</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-06-02T20:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform t test on slope in proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/365103#M86677</link>
      <description>&lt;P&gt;Dear Paige,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are right,&amp;nbsp;I should wrote&lt;/P&gt;&lt;P&gt;model observed=predicters;&lt;/P&gt;&lt;P&gt;maybe this is more reasonable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the TEST command, the output shows a F-test. Isn't F-test come with ANOVA, and is an overall global test testing "slope=1 and intercept=0"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 17:22:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/365103#M86677</guid>
      <dc:creator>Xiaoningdemao</dc:creator>
      <dc:date>2017-06-07T17:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform t test on slope in proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/365106#M86679</link>
      <description>&lt;P&gt;The TEST command&amp;nbsp;does&amp;nbsp;not product&amp;nbsp;the standard&amp;nbsp;ANOVA F-test. The TEST commands tests the specific hypothesis you are interested in, which in this case is testing&amp;nbsp;the slope = 1 only.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 17:29:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/365106#M86679</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-06-07T17:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform t test on slope in proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/365127#M86691</link>
      <description>Dear Paige,&lt;BR /&gt;&lt;BR /&gt;Oh, I see!!&lt;BR /&gt;&lt;BR /&gt;Thank you very much!&lt;BR /&gt;&lt;BR /&gt;Best wishes.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2017 18:18:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-perform-t-test-on-slope-in-proc-reg/m-p/365127#M86691</guid>
      <dc:creator>Xiaoningdemao</dc:creator>
      <dc:date>2017-06-07T18:18:25Z</dc:date>
    </item>
  </channel>
</rss>

