macro sim nrep mcolumn resp acol bcol ccol CP SO RO noise mconstant nrep sd FFDesign 3 8; Alias 3; XMatrix acol bcol ccol. let sd=sqrt(10/nrep) let resp=120+.5*acol+2.0*acol*bcol+ccol rand 8 noise; norm 0 sd. let resp=resp+noise FFactorial Resp=acol|bcol|ccol; Geffects 0.2; Rtype 1. endmacro