<?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 can you change the p-value to a one-sided test in proc nlmixed? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-can-you-change-the-p-value-to-a-one-sided-test-in-proc/m-p/579000#M164303</link>
    <description>&lt;P&gt;I'm using SAS 9.4 and running the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc nlmixed data=newdata;&lt;/P&gt;&lt;P&gt;parms b0=&lt;SPAN&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;b1=-4&amp;nbsp;b2=-5&amp;nbsp;b3=4 v=&lt;SPAN&gt;&lt;STRONG&gt;21&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;p=b0+b1*bin+b2*time+b3*bin*time;&lt;/P&gt;&lt;P&gt;model y ~ normal(p,v);&lt;/P&gt;&lt;P&gt;estimate &lt;SPAN&gt;"parm eq 0"&lt;/SPAN&gt; b3-5 df=&lt;SPAN&gt;&lt;STRONG&gt;1e8&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;ods output AdditionalEstimates=Parms;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an estimate statement because I'm trying to test b3=5. &amp;nbsp;I want my p-value for these results to be from a one-sided test and I assume right now the p-value represents a two-sided test. &amp;nbsp;How can I change this?&lt;/P&gt;</description>
    <pubDate>Sun, 04 Aug 2019 13:40:40 GMT</pubDate>
    <dc:creator>newbieprog</dc:creator>
    <dc:date>2019-08-04T13:40:40Z</dc:date>
    <item>
      <title>How can you change the p-value to a one-sided test in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-you-change-the-p-value-to-a-one-sided-test-in-proc/m-p/579000#M164303</link>
      <description>&lt;P&gt;I'm using SAS 9.4 and running the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc nlmixed data=newdata;&lt;/P&gt;&lt;P&gt;parms b0=&lt;SPAN&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;b1=-4&amp;nbsp;b2=-5&amp;nbsp;b3=4 v=&lt;SPAN&gt;&lt;STRONG&gt;21&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;p=b0+b1*bin+b2*time+b3*bin*time;&lt;/P&gt;&lt;P&gt;model y ~ normal(p,v);&lt;/P&gt;&lt;P&gt;estimate &lt;SPAN&gt;"parm eq 0"&lt;/SPAN&gt; b3-5 df=&lt;SPAN&gt;&lt;STRONG&gt;1e8&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;ods output AdditionalEstimates=Parms;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an estimate statement because I'm trying to test b3=5. &amp;nbsp;I want my p-value for these results to be from a one-sided test and I assume right now the p-value represents a two-sided test. &amp;nbsp;How can I change this?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2019 13:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-you-change-the-p-value-to-a-one-sided-test-in-proc/m-p/579000#M164303</guid>
      <dc:creator>newbieprog</dc:creator>
      <dc:date>2019-08-04T13:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can you change the p-value to a one-sided test in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-you-change-the-p-value-to-a-one-sided-test-in-proc/m-p/579013#M164309</link>
      <description>&lt;P&gt;To get the p-value for a one-sided test, you take the p-value for the two-sided test, and you divide it in half.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2019 15:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-you-change-the-p-value-to-a-one-sided-test-in-proc/m-p/579013#M164309</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-04T15:30:07Z</dc:date>
    </item>
  </channel>
</rss>

