<?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: LSMEANS in PROC GLM in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/547334#M27348</link>
    <description>&lt;P&gt;Do you get something similar to this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 415px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28343i3A014D9A553F3CAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Mar 2019 20:45:00 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2019-03-29T20:45:00Z</dc:date>
    <item>
      <title>LSMEANS in PROC GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/547320#M27346</link>
      <description>&lt;P&gt;Is there an option in LSMEANS of PROC GLM which will compute pairwise p-values?&lt;/P&gt;&lt;P&gt;In my program, the variable 'surgery' has 15 categories. I want to see pairwise differences &amp;amp; p-values between them all. I am trying to avoid writing many estimate statements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glm data=ads;&lt;BR /&gt;&amp;nbsp; class surgery ;&lt;BR /&gt;&amp;nbsp; model event=surgery/solution ss3;;&lt;BR /&gt;&amp;nbsp; lsmeans surgery / cl adjust=tukey stderr pdiff tdiff ;&lt;BR /&gt;means surgery / tukey alpha=0.05 cldiff;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get the differences but not the p-values I want.&lt;/P&gt;&lt;P&gt;I'm trying to see if I can get the p-value from such an estimate statement, without typing out each comparison. I'm interested in the p-value from each comparison, not accounting for others.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;estimate 'surgery 1 vs 2' surgery 1&amp;nbsp; -1 0 0 0 0 0 0 0 0 0 0 0 0 0 ;&lt;BR /&gt;estimate 'surgery 2 vs 1' surgery -1&amp;nbsp; 1 0 0 0 0 0 0 0 0 0 0 0 0 0 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 19:16:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/547320#M27346</guid>
      <dc:creator>tka726</dc:creator>
      <dc:date>2019-03-29T19:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS in PROC GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/547334#M27348</link>
      <description>&lt;P&gt;Do you get something similar to this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 415px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28343i3A014D9A553F3CAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 20:45:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/547334#M27348</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2019-03-29T20:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS in PROC GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/547349#M27349</link>
      <description>&lt;P&gt;If you do not want to adjust for experiment-wise Type I error, then remove "adjust=tukey" from the LSMEANS statement (while keeping in mind that there are 105 pairwise comparisons among 15 means, and only 14 degrees of freedom).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 22:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/547349#M27349</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2019-03-29T22:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS in PROC GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/547991#M27358</link>
      <description>&lt;P&gt;Thanks! This does not give the p-value for each comparison though? Is there a way to get each p-value?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 18:03:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/547991#M27358</guid>
      <dc:creator>tka726</dc:creator>
      <dc:date>2019-04-02T18:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS in PROC GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/548000#M27359</link>
      <description>&lt;P&gt;The p-value is the bottom number in each cell of the table.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 18:11:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/548000#M27359</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-04-02T18:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS in PROC GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/548005#M27360</link>
      <description>&lt;P&gt;I do, but why do these p-values not match what I get if I write out contrast statments?&lt;/P&gt;&lt;P&gt;I.e. these are the comparison p-values I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;estimate 'surgery 1 vs 2' surgery 1&amp;nbsp; -1 0 0 0 0 0 0 0 0 0 0 0 0 0 ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;estimate 'surgery 2 vs 1' surgery -1&amp;nbsp; 1 0 0 0 0 0 0 0 0 0 0 0 0 0 ;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 18:30:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/548005#M27360</guid>
      <dc:creator>tka726</dc:creator>
      <dc:date>2019-04-02T18:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS in PROC GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/548010#M27361</link>
      <description>&lt;P&gt;They don't match because the LSMEANS comparisons uses Tukey adjustments to the p-values (that's what your code asked for), but your estimate statements have no such adjustment.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 19:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/LSMEANS-in-PROC-GLM/m-p/548010#M27361</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-04-02T19:05:15Z</dc:date>
    </item>
  </channel>
</rss>

