<?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: Adjusted means from Randomized complete block experiment where block effect is highly significant in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-means-from-Randomized-complete-block-experiment-where/m-p/199022#M10680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Steve.&amp;nbsp; I appreciate your time and expertise.&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2015 14:13:53 GMT</pubDate>
    <dc:creator>mclaughj</dc:creator>
    <dc:date>2015-06-08T14:13:53Z</dc:date>
    <item>
      <title>Adjusted means from Randomized complete block experiment where block effect is highly significant</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-means-from-Randomized-complete-block-experiment-where/m-p/199020#M10678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the best way to obtain adjusted means from a Proc GLM model (file attached) such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glm data=invivo;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class block treatment;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model invivo=block treatment;&lt;/P&gt;&lt;P&gt;weight treatment;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lsmeans treatment/ ADJUST=TUKEY;&lt;/P&gt;&lt;P&gt;Contrast 'Compare stx1-0hr with stx2-0hr' treatment 1 0 0 0 -1 0 0 0 0;&lt;/P&gt;&lt;P&gt;Contrast 'Compare stx1-1hr with stx2-1hr' treatment 0 1 0 0 0 -1 0 0 0;&lt;/P&gt;&lt;P&gt;Contrast 'Compare stx1-2hr with stx2-2hr' treatment 0 0 1 0 0 0 -1 0 0;&lt;/P&gt;&lt;P&gt;Contrast 'Compare stx1-3hr with stx2-3hr' treatment 0 0 0 1 0 0 0 -1 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The block effect is highly significant but I am having trouble identifying a method to report the adjusted means which accounts for the significant block effect.&amp;nbsp; Does this require the ESTIMATE function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 14:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-means-from-Randomized-complete-block-experiment-where/m-p/199020#M10678</guid>
      <dc:creator>mclaughj</dc:creator>
      <dc:date>2015-06-03T14:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted means from Randomized complete block experiment where block effect is highly significant</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-means-from-Randomized-complete-block-experiment-where/m-p/199021#M10679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way is to analyze the data using PROC MIXED or PROC GLIMMIX, and consider block as a random effect.&amp;nbsp; In this case, standard errors of the treatment means will correctly incorporate the variance due to block.&amp;nbsp; I also notice in your contrasts that there is a time factor.&amp;nbsp; If the time reflects repeated measurements on the same experimental unit, then the analysis should also incorporate that. Until that is clear, consider the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=invivo;&lt;/P&gt;&lt;P&gt;class block treatment;&lt;/P&gt;&lt;P&gt;model invivo=treatment;&lt;/P&gt;&lt;P&gt;random block;&lt;/P&gt;&lt;P&gt;lsmeans treatment;&lt;/P&gt;&lt;P&gt;LSMESTIMATE treatment&lt;/P&gt;&lt;P&gt; 'Compare stx1-0hr with stx2-0hr'&amp;nbsp; 1 0 0 0 -1 0 0 0 0,&lt;/P&gt;&lt;P&gt; 'Compare stx1-1hr with stx2-1hr'&amp;nbsp; 0 1 0 0 0 -1 0 0 0,&lt;/P&gt;&lt;P&gt; 'Compare stx1-2hr with stx2-2hr'&amp;nbsp; 0 0 1 0 0 0 -1 0 0,&lt;/P&gt;&lt;P&gt; 'Compare stx1-3hr with stx2-3hr'&amp;nbsp; 0 0 0 1 0 0 0 -1 0/adjust=simulate(seed=1); &lt;/P&gt;&lt;P&gt; /*Tukey adjustment is not available for the LSMESTIMATE as it is not defined */&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:10:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-means-from-Randomized-complete-block-experiment-where/m-p/199021#M10679</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-06-05T18:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted means from Randomized complete block experiment where block effect is highly significant</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-means-from-Randomized-complete-block-experiment-where/m-p/199022#M10680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Steve.&amp;nbsp; I appreciate your time and expertise.&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 14:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-means-from-Randomized-complete-block-experiment-where/m-p/199022#M10680</guid>
      <dc:creator>mclaughj</dc:creator>
      <dc:date>2015-06-08T14:13:53Z</dc:date>
    </item>
  </channel>
</rss>

