I want to simulate responses for fractional factorial design.
As an input for simulation I want to use estimated effect sizes of main factors and some interactions.
I know there is a formula for calculating effects from obtained responses:
"For each of the main effects, the estimated effect consists of the mean at the high level of the factor minus the mean at the low level of the factor."
Here is the screenshot of fractional factorial design from a book:
And here is formulas for calculation of effects when responses are known:
But I want inverse:
- Input values of estimated main effects and interactions (A B C AB AC 1 etc.)
- Derive a simulated responses for all rows (a, b, ab..) so that they lead to that predefined effects.
Could you help me please how to approach this problem?
R or JMP code would be extremely helpful.
After all I want to use derived responses in this SAS JMP code for simulation binomial responses. Also I will use it with higher number of factors.