<?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: Proc glimmix estimate statement - one tailed p value not displaying in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873072#M43181</link>
    <description>&lt;P&gt;Thanks.&amp;nbsp; Good point but "Pr t" is all that is provided in the Estimates table, which I assume is two tailed.&amp;nbsp; Using proc mixed for other response variables, the same estimate statements produce an Estimates table has a column with Upper, Upper, Both, which seems correct, but I can not get glimmix to produce a similar table.&amp;nbsp; Perhaps it is the method or link I using?&amp;nbsp; I need the power of the one tailed test for other response variables, not the example below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unless I am wrong, the contrast statements (e.g.,&amp;nbsp; 0 0 1 -1 -1 1) are not testing a directional difference, but a non-directional difference, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-04-30 at 12.44.11 PM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83433i86261B671500642B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-04-30 at 12.44.11 PM.png" alt="Screen Shot 2023-04-30 at 12.44.11 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Apr 2023 16:58:27 GMT</pubDate>
    <dc:creator>didymo</dc:creator>
    <dc:date>2023-04-30T16:58:27Z</dc:date>
    <item>
      <title>Proc glimmix estimate statement - one tailed p value not displaying</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/872908#M43171</link>
      <description>&lt;P&gt;Below is the code I am using.&amp;nbsp; I am specifying a one tailed test for the contrasts in the estimate statement but it is not displaying the upper one tailed p value in the Estimates table.&amp;nbsp; Looks like it is the default two-tailed p value for the contrasts.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas as to why?&amp;nbsp; Thanks, Brad&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods output lsmeans=larvae_order_MEANS_lognormal;&lt;BR /&gt;proc print data=larvae_order_MEANS_lognormal;&lt;BR /&gt;proc sort data=library.larvae_order_MEANS; by order;&lt;BR /&gt;title 'GLIMMIX LOGNORMAL REML - LARVAL ORDER DENSITIES - BLOCKED';&lt;BR /&gt;proc glimmix data=library.larvae_order_MEANS method=LAPLACE; by order;&lt;BR /&gt;class type subsite pair year;&lt;BR /&gt;model MEAN_density_m2=type year year*type / solution dist=lognormal link=identity;&lt;BR /&gt;random pair pair*type;&lt;BR /&gt;lsmeans year*type / adjust=tukey CL ilink diff=all;&lt;BR /&gt;lsmeans type / adjust=tukey CL ilink diff=all;&lt;BR /&gt;estimate 'treated restored change - untreated restored change' year*type 0 0 1 -1 -1 1 / upper;&lt;BR /&gt;estimate 'treated restored change - reference change' year*type 1 -1 0 0 -1 1 / upper;&lt;BR /&gt;estimate 'untreated restored change - reference change' year*type 1 -1 -1 1 0 0;&lt;BR /&gt;run;&lt;BR /&gt;ods output / reset;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 19:49:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/872908#M43171</guid>
      <dc:creator>didymo</dc:creator>
      <dc:date>2023-04-28T19:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix estimate statement - one tailed p value not displaying</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873056#M43177</link>
      <description>&lt;P&gt;Instead of halving the p-value of the two-tailed test (halving method) , the ESTIMATE statement in many procedures can provide the one-sided p-value directly by specifying the UPPER or LOWER option as appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What makes you think you are looking at a two-sided p-value?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usage Note 24094: Testing the null hypothesis that a parameter (or parameters) is equal to, greater than, or less than a constant&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/24/094.html" target="_blank"&gt;https://support.sas.com/kb/24/094.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 13:08:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873056#M43177</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-04-30T13:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix estimate statement - one tailed p value not displaying</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873065#M43179</link>
      <description>&lt;P&gt;For the 2 of 3 of your ESTIMATE statements that have the UPPER option, what makes you think you are not getting a one-sided p-value? Is the p-value label "Pr&amp;gt;z" (for one-sided) or "Pr&amp;gt;|z|" (for two-sided)?&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 15:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873065#M43179</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-04-30T15:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix estimate statement - one tailed p value not displaying</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873072#M43181</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; Good point but "Pr t" is all that is provided in the Estimates table, which I assume is two tailed.&amp;nbsp; Using proc mixed for other response variables, the same estimate statements produce an Estimates table has a column with Upper, Upper, Both, which seems correct, but I can not get glimmix to produce a similar table.&amp;nbsp; Perhaps it is the method or link I using?&amp;nbsp; I need the power of the one tailed test for other response variables, not the example below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unless I am wrong, the contrast statements (e.g.,&amp;nbsp; 0 0 1 -1 -1 1) are not testing a directional difference, but a non-directional difference, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-04-30 at 12.44.11 PM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83433i86261B671500642B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-04-30 at 12.44.11 PM.png" alt="Screen Shot 2023-04-30 at 12.44.11 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 16:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873072#M43181</guid>
      <dc:creator>didymo</dc:creator>
      <dc:date>2023-04-30T16:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix estimate statement - one tailed p value not displaying</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873075#M43182</link>
      <description>That label reflects the fact that you have some ESTIMATE statements with UPPER and some without. As a result the label cannot indicate one- or two-tailed because you have both. However, the p-values from the statements with UPPER are one-tailed, and the p-value from the statement without UPPER is two-tailed. You can verify by simply rerunning omitting UPPER to see the change in the p-values.</description>
      <pubDate>Sun, 30 Apr 2023 17:16:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873075#M43182</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-04-30T17:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix estimate statement - one tailed p value not displaying</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873094#M43184</link>
      <description>&lt;P&gt;Got it.&amp;nbsp; Thanks, However, this is not the problem.&amp;nbsp; GLIMMIX with ESTIMATES statement and '/ upper' does not produce a one tailed p&amp;nbsp; value, which I am trying to resolve.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 23:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873094#M43184</guid>
      <dc:creator>didymo</dc:creator>
      <dc:date>2023-04-30T23:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix estimate statement - one tailed p value not displaying</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873101#M43185</link>
      <description>As I mentioned in my previous reply, the ESTIMATE statements with the UPPER option, ARE one-sided. What evidence do you have that they are not?</description>
      <pubDate>Mon, 01 May 2023 01:23:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873101#M43185</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-05-01T01:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc glimmix estimate statement - one tailed p value not displaying</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873105#M43186</link>
      <description>&lt;P&gt;Oops, they are, but the output could be clearer.&amp;nbsp; I removed the 'upper' and the p value label is: Pr &amp;gt; |t| with a larger p value!&amp;nbsp; The one sided is denated 'Pr t' in glimmix I guess versus the output having a label column with upper and both in mixed.&amp;nbsp; Cheers!&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 02:44:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-glimmix-estimate-statement-one-tailed-p-value-not/m-p/873105#M43186</guid>
      <dc:creator>didymo</dc:creator>
      <dc:date>2023-05-01T02:44:02Z</dc:date>
    </item>
  </channel>
</rss>

