<?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 Help calculating an LSD in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Help-calculating-an-LSD/m-p/458837#M23962</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In a multiple comparison test, I'm trying to get SAS to calculate an LSD, an average LSD, or even the LSD it uses for each comparison.&amp;nbsp; I've read a couple of similar question/answers from 2012-2013--but I just can't get them to work. I get a nice table with the results of the test (i.e. "&lt;STRONG&gt;LS-means with the same letter are not significantly different").&amp;nbsp; (sorry, I don't know why it switched to bold and I don't know how to get it back.) But I want to know the LSD value SAS used to arrive at the conclusion the values are or are not significantly different.&amp;nbsp; Here is the code I used:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'171214-0929_lines.letters.rtf'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; LSMlines;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;glimmix&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DATA&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=datain &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;plots&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=studentpanel;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;BY&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Year;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;CLASS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Rep Genotype;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;MODEL&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Yieldkgha = Genotype /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DDFM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=KR ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;RANDOM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Rep ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LSMEANS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Genotype /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;lines&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;diff&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; diffs=lsr covparms=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;error&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; lsmeans=means;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;Could someone modify this to generate the LSD values?&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;The '/lines diff" generates a nice table.&amp;nbsp; But I don't understand why it doesn't include more information about the multiple comparison tests.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;Jeff&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Apr 2018 20:27:26 GMT</pubDate>
    <dc:creator>JDR_LZV</dc:creator>
    <dc:date>2018-04-30T20:27:26Z</dc:date>
    <item>
      <title>Help calculating an LSD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-calculating-an-LSD/m-p/458837#M23962</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In a multiple comparison test, I'm trying to get SAS to calculate an LSD, an average LSD, or even the LSD it uses for each comparison.&amp;nbsp; I've read a couple of similar question/answers from 2012-2013--but I just can't get them to work. I get a nice table with the results of the test (i.e. "&lt;STRONG&gt;LS-means with the same letter are not significantly different").&amp;nbsp; (sorry, I don't know why it switched to bold and I don't know how to get it back.) But I want to know the LSD value SAS used to arrive at the conclusion the values are or are not significantly different.&amp;nbsp; Here is the code I used:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'171214-0929_lines.letters.rtf'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; LSMlines;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;glimmix&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DATA&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=datain &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;plots&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=studentpanel;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;BY&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Year;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;CLASS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Rep Genotype;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;MODEL&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Yieldkgha = Genotype /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DDFM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=KR ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;RANDOM&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Rep ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LSMEANS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Genotype /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;lines&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;diff&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; diffs=lsr covparms=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;error&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; lsmeans=means;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;Could someone modify this to generate the LSD values?&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;The '/lines diff" generates a nice table.&amp;nbsp; But I don't understand why it doesn't include more information about the multiple comparison tests.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;STRONG&gt;Jeff&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 20:27:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-calculating-an-LSD/m-p/458837#M23962</guid>
      <dc:creator>JDR_LZV</dc:creator>
      <dc:date>2018-04-30T20:27:26Z</dc:date>
    </item>
  </channel>
</rss>

