Thanks so much for your help @WarrenKuhfeld! The code works and creates the design I need, but the d-efficiency comes out lower (84.46) in this code than when I ran my original code (around 94ish). Additionally, when I change the number of blocks in your code to try and increase the d-efficiency, it always comes out high (around 99). This is the case for all other numbers of blocks (I've tried 11, 13, and 14) apart from 12.. I'm not sure if I've done something wrong but I've included the code below for when I did 11 blocks: %mktex(11 2, n=99) data init; set design; retain x2-x9 .; x9 = x2; x2 = .; run; proc print; run; %mktex(11 3 2 2 2 3 3 2 2, n=99, init=init, interact=x2|x3|x4|x5|x6|x7|x8|x9@2, seed=12345) %mktlab(data=design, vars=Block x1-x8) proc sort; by block x8; run; proc print; id block; by block; run; proc freq; tables block * x8; run;
... View more