<?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 Proc nlin - test if coefficient differs from one in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-nlin-test-if-coefficient-differs-from-one/m-p/932140#M46477</link>
    <description>&lt;P&gt;I'm estimating a model and want to test if one of the parameters differs from one (rather than zero). That is, I'm trying to find the equivalent of a "test" statement in a linear regression. Specifically, I'd like to test if the lambda coefficient differs from one. Thanks for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;proc nlin data=outpn1_std;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;parameters lambda=1 a=0 b=0;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;model &amp;amp;depvar.=a+b*(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;((lambda**1)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn3)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;+((lambda**2)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn6)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;+((lambda**3)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn9)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;+((lambda**4)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn12)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;+((lambda**5)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn15)&lt;/SPAN&gt;&lt;SPAN&gt; );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2024 14:43:22 GMT</pubDate>
    <dc:creator>rj_missionbeach</dc:creator>
    <dc:date>2024-06-13T14:43:22Z</dc:date>
    <item>
      <title>Proc nlin - test if coefficient differs from one</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-nlin-test-if-coefficient-differs-from-one/m-p/932140#M46477</link>
      <description>&lt;P&gt;I'm estimating a model and want to test if one of the parameters differs from one (rather than zero). That is, I'm trying to find the equivalent of a "test" statement in a linear regression. Specifically, I'd like to test if the lambda coefficient differs from one. Thanks for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;proc nlin data=outpn1_std;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;parameters lambda=1 a=0 b=0;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;model &amp;amp;depvar.=a+b*(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;((lambda**1)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn3)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;+((lambda**2)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn6)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;+((lambda**3)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn9)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;+((lambda**4)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn12)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;+((lambda**5)/(lambda**1+lambda**2+lambda**3+lambda**4+lambda**5)*xn15)&lt;/SPAN&gt;&lt;SPAN&gt; );&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 14:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-nlin-test-if-coefficient-differs-from-one/m-p/932140#M46477</guid>
      <dc:creator>rj_missionbeach</dc:creator>
      <dc:date>2024-06-13T14:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc nlin - test if coefficient differs from one</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-nlin-test-if-coefficient-differs-from-one/m-p/932152#M46479</link>
      <description>&lt;P&gt;You can get a test of whether lambda=1 by using an ESTIMATE statement (SAS/STAT 15.1 or later). For example,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ESTIMATE 'label' lambda-1;&lt;/PRE&gt;
&lt;P&gt;This should give output that looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SteveDenham_0-1718290972891.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97327iF3F802F76914F451/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SteveDenham_0-1718290972891.png" alt="SteveDenham_0-1718290972891.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this case, I labeled the ESTIMATE 'community' and added this statement to the first example in the PROC NLIN documentation:&lt;/P&gt;
&lt;PRE&gt;estimate 'community' alpha-1;
&lt;/PRE&gt;
&lt;P&gt;The approx Pr &amp;gt;|t| is a two-tailed test of whether alpha differs from 1, by constructing the additional estimate alpha-1, which NLIN tests against zero.&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>Thu, 13 Jun 2024 15:07:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-nlin-test-if-coefficient-differs-from-one/m-p/932152#M46479</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-06-13T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc nlin - test if coefficient differs from one</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-nlin-test-if-coefficient-differs-from-one/m-p/932184#M46481</link>
      <description>Perfect. Thank you Steve!</description>
      <pubDate>Thu, 13 Jun 2024 15:13:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-nlin-test-if-coefficient-differs-from-one/m-p/932184#M46481</guid>
      <dc:creator>rj_missionbeach</dc:creator>
      <dc:date>2024-06-13T15:13:17Z</dc:date>
    </item>
  </channel>
</rss>

