brief 0 #Simulation of 3 variable problem with interactions and squared terms #Design matrix must be in c2-c4. Response will go in c1. #by PGMathews 2/22/95 for Minitab V8 let c1=88+14*c2-8*c3+11*c4-3*c2*c3+12*c2*c4-2*c3*c4+4*c2*c2-8*c3*c3 #the equation let k1=count(c2) #number of runs random k1 c5; #random noise normal 0 3. #mean 0 and standard deviation/error let c1=c1+c5 #put the noise on the signal erase c5 #get rid of the evidence brief