<?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: Randomized Complete Block Design (RCBD) at Multiple Sites in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/854111#M42263</link>
    <description>&lt;P&gt;Thanks for all the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to clarify:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I have blocks identified as 1 through 4 at multiple sites, then block is nested within site and not listed on it's own in the random term.&amp;nbsp; My random term would be as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed;&lt;/P&gt;&lt;P&gt;class site block treatment;&lt;/P&gt;&lt;P&gt;model response = site|treatment;&lt;/P&gt;&lt;P&gt;random block(site);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If all blocks have a unique identifier across sites, block would be included on it's own and the random term would be;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed;&lt;/P&gt;&lt;P&gt;class site block treatment;&lt;/P&gt;&lt;P&gt;model response = site|treatment;&lt;/P&gt;&lt;P&gt;random block block*site;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 16:04:54 GMT</pubDate>
    <dc:creator>tompatmck</dc:creator>
    <dc:date>2023-01-17T16:04:54Z</dc:date>
    <item>
      <title>Randomized Complete Block Design (RCBD) at Multiple Sites</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853551#M42238</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm analyzing data from a randomized complete block design replicated at multiple sites.&amp;nbsp; There is only one treatment and the block effect at each site.&amp;nbsp; I plan on using proc mixed with block as a random effect.&amp;nbsp; I'm wondering if block should be nested within each site?&amp;nbsp; And what else should go in the random effects?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed ;&lt;BR /&gt;class site block treatment ;&lt;BR /&gt;model biomass = site|treatment;&lt;BR /&gt;random block(site);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 19:24:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853551#M42238</guid>
      <dc:creator>tompatmck</dc:creator>
      <dc:date>2023-01-12T19:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Randomized Complete Block Design (RCBD) at Multiple Sites</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853680#M42250</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*
Check the first example of PROC MIXED in its documentation.
Example 84.1: Split-Plot Design
*/


data sp;
input Block A B Y @@;
datalines;
1 1 1 56 1 1 2 41
1 2 1 50 1 2 2 36
1 3 1 39 1 3 2 35
2 1 1 30 2 1 2 25
2 2 1 36 2 2 2 28
2 3 1 33 2 3 2 30
3 1 1 32 3 1 2 24
3 2 1 31 3 2 2 27
3 3 1 15 3 3 2 19
4 1 1 30 4 1 2 25
4 2 1 35 4 2 2 30
4 3 1 17 4 3 2 18
;

proc mixed;
class A B Block;
model Y = A B A*B;
random Block A*Block;
run;


/* equivalent model */
proc mixed data=sp;
class A B Block;
model Y = A B A*B;
random intercept A / subject=Block;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Jan 2023 11:57:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853680#M42250</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-01-13T11:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Randomized Complete Block Design (RCBD) at Multiple Sites</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853791#M42253</link>
      <description>Should all blocks be uniquely identifiable across sites in the data? For&lt;BR /&gt;example, there should not be a block 1 at Site X and a block 1 at Site Y?&lt;BR /&gt;Site X would have blocks 1 -4 and Site Y would have blocks 4-8, instead of&lt;BR /&gt;blocks 1-4 at both sites?&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jan 2023 19:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853791#M42253</guid>
      <dc:creator>tompatmck</dc:creator>
      <dc:date>2023-01-13T19:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Randomized Complete Block Design (RCBD) at Multiple Sites</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853864#M42255</link>
      <description>"Should all blocks be uniquely identifiable across sites in the data? "&lt;BR /&gt;Yes. It should be unique . You could take a BLOCK as a SUBJECT ID .&lt;BR /&gt;If it is not unique, you should nested it by siteid. Like:&lt;BR /&gt;&lt;BR /&gt;random intercept siteid / subject=Block(siteid);</description>
      <pubDate>Sat, 14 Jan 2023 09:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853864#M42255</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-01-14T09:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Randomized Complete Block Design (RCBD) at Multiple Sites</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853921#M42256</link>
      <description>&lt;P&gt;That RANDOM statement is almost right. If you have block 1-4 in site A and block 1-4 in site B then you do need to nest block within site. Your RANDOM statement could be&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;random block(site);&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;random int / subject=block(site);&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2023 14:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/853921#M42256</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2023-01-15T14:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Randomized Complete Block Design (RCBD) at Multiple Sites</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/854111#M42263</link>
      <description>&lt;P&gt;Thanks for all the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to clarify:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I have blocks identified as 1 through 4 at multiple sites, then block is nested within site and not listed on it's own in the random term.&amp;nbsp; My random term would be as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed;&lt;/P&gt;&lt;P&gt;class site block treatment;&lt;/P&gt;&lt;P&gt;model response = site|treatment;&lt;/P&gt;&lt;P&gt;random block(site);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If all blocks have a unique identifier across sites, block would be included on it's own and the random term would be;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed;&lt;/P&gt;&lt;P&gt;class site block treatment;&lt;/P&gt;&lt;P&gt;model response = site|treatment;&lt;/P&gt;&lt;P&gt;random block block*site;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 16:04:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Randomized-Complete-Block-Design-RCBD-at-Multiple-Sites/m-p/854111#M42263</guid>
      <dc:creator>tompatmck</dc:creator>
      <dc:date>2023-01-17T16:04:54Z</dc:date>
    </item>
  </channel>
</rss>

