<?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 plan incomplete block design in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/519376#M26446</link>
    <description>&lt;P&gt;I just sampled 71 values without replacement from 1:213 and put them in increasing order&lt;/P&gt;</description>
    <pubDate>Fri, 07 Dec 2018 07:36:16 GMT</pubDate>
    <dc:creator>vstorme</dc:creator>
    <dc:date>2018-12-07T07:36:16Z</dc:date>
    <item>
      <title>proc plan incomplete block design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/519158#M26440</link>
      <description>&lt;P&gt;Hej,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;I try to design an incomplete block design for 13 replicates of 213&amp;nbsp;different plant varieties (considered as treatments)&amp;nbsp;with block size 71. I tried following code:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title 'Generalized Cyclic Block Design';
proc plan seed=33373;
   treatments Treatment=71 of 213 cyclic (  3	 7   9	 10	 14	 19	 23	
                                           30	33	39	 43	 54	 56	 58	
                                           62	63	64	 71	 73	 75	 83	
                                           88	89	90	 95	 99	100	101	
                                          104  109 110	112	113	114	117	
                                          119  121 122	124	126	129	133	
                                          136  139 142	147	148	151	152	
                                          153  157 160	161	162	168	173	
                                          174  176 179	180	185	187	188	
                                          189  193 200	204	206	210	211	213) 3;
   factors Block=39 Plot=71;
   output out=GCBD;
quit;

&lt;/CODE&gt;&lt;/PRE&gt;
I do not get the same replicate number for each variety (treatment). I also tried:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title 'Generalized Cyclic Block Design';
proc plan seed=33373;
   treatments Treatment=71 of 213 random;
   factors Block=39 Plot=71;
   output out=GCBD;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
The SAS example gives a perfect replicate number of 2:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title 'Generalized Cyclic Block Design';
proc plan seed=33373;
   treatments Treatment=8 of 52 cyclic (1 2 3 4 32 43 46 49) 4;
   factors Block=13 Plot=8;
   output out=GCBD;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
Does it have to do with how you create the initial block and the step?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;with kind regards,&lt;/DIV&gt;
&lt;DIV&gt;Veronique&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Dec 2018 15:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/519158#M26440</guid>
      <dc:creator>vstorme</dc:creator>
      <dc:date>2018-12-06T15:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc plan incomplete block design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/519207#M26441</link>
      <description>&lt;P&gt;How did you come up with the initial block?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 16:40:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/519207#M26441</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2018-12-06T16:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc plan incomplete block design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/519376#M26446</link>
      <description>&lt;P&gt;I just sampled 71 values without replacement from 1:213 and put them in increasing order&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 07:36:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/519376#M26446</guid>
      <dc:creator>vstorme</dc:creator>
      <dc:date>2018-12-07T07:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: proc plan incomplete block design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/522525#M26518</link>
      <description>&lt;P&gt;See the examples of constructing incomplete block designs in the PROC OPTEX chapter of the SAS/QC User's Guide.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 14:41:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/522525#M26518</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2018-12-19T14:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc plan incomplete block design</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/522807#M26519</link>
      <description>&lt;P&gt;Thanks Dave. Based on the &lt;A href="https://www.researchgate.net/publication/283758718_Generating_efficient_designs_for_comparative_experiments_using_the_SAS_procedure_OPTEX" target="_self"&gt;paper from Hans-Peter Piepho&lt;/A&gt; I tried the following successfully:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title 'resolvable IBD' ;
* example: v=30 treatments, block size k=5, r=3 replicates;
* nr of blocks needed per rep = 30/5 =6 ;
%let v=30;
%let k=5;
%let r=3;
%let b=6;

data TreatmentLabels;
  do trt=1 to &amp;amp;v;
    output;
  end;
run;

data layout;
  do rep=1 to &amp;amp;r;
    do block=1 to &amp;amp;b;
      do plot=1 to &amp;amp;k;
	    output;
      end;
    end;
  end;
run;

proc optex data=TreatmentLabels seed=98221534;
  class trt;
  model trt;
  blocks design=layout niter=10000 keep=10;
  class rep block plot;
  model rep, block(rep) / prior= 0, 10;
  output out=RIBD;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This however takes a very long time, and I need&amp;nbsp;v=213, k=71, r=13, b=3. It still was not finished after 12 hours.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 08:03:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-plan-incomplete-block-design/m-p/522807#M26519</guid>
      <dc:creator>vstorme</dc:creator>
      <dc:date>2018-12-20T08:03:46Z</dc:date>
    </item>
  </channel>
</rss>

