Hi @frankderuyck,
If I understand your need, you would like to create a Y response matching a specific model (with main effects, interactions, quadratic effects...), but adding some "controlled" noise so that you have a little variability in the response ? So that your response looks more realistic in the context of teaching and less completely deterministic with perfect modeling ?
In that case, the options mentioned by @jthi may help you, adding Random Normal or Random Integer in the response formula.
Here is a formula example I have used for a simulation :
50 + :X3 * 10 + :X2 * 4 + :X2 * :X3 * 2 + :X2 * :X2 * -6 + Random Normal( 0, 2 )
I specified my Y response to have an intercept of 50, I added some terms in the model for thisresponse equation, and at the end, I added random normal noise, of mean 0 and standard deviation of 2.
Note that if I replay this Y column (open up, click on the formula without changing anything and then closing the window), numbers may change as the formula will be reevaluated. One option to avoid this is to check "Supress Eval", so that the formula will be fixed with the specified random normal noise :
If you talk about the modeling, you won't have any reproducibility issue using multivariate regression or some other models, but for some Machine Learning models, you have the option to specify the seed for analysis reproducibility (here an example of analyzing a Y response with Bootstap Forest specifying a random seed 12345 so that relaunching the analysis/script will give the exact same results) :
I hope this answer will help you,
Victor GUILLER
"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)