#MINITAB SIM5 macro #By: PGMathews, LCC, 3/12/96 brief 0 #Simulation of 5 variable problem with interactions and squared terms #Design matrix must be in c2-c6. Response will go in c1. let c1=110-4*c2+80*c3-36*c4-18*c6& +6*c2*c4+28*c3*c4-12*c4*c6& +24*c3*c3-6*c4*c4+16*c6*c6 let k1=count(c2) random k1 c15; #random error Normal 0 20. #mean 0 and standard deviation/error let c1=c1+c15 #add the signal to the noise round c1 c1 erase c15 #get rid of the evidence brief