Ann Lee posted on Sunday, March 18, 2012 - 6:13 pm
Hi Dr. Muthen,
For Type=Random, supposing I have a moderator of x2 influencing the relationship between x1 and y.
x3 | x1 xwith x2, y on x1 x3;
what is the default setting for the relationship between y and x2 in the estimated SEM? Is it true that if a model includes an A*B interaction, then both A and B must be in the model even if they are of no interest?
I would include both main effects along with the interaction.
Anonymous posted on Tuesday, March 20, 2012 - 12:17 pm
I am doing the same thing (without TYPE = RANDOM), but how can you center the variables before computing the interaction (through DEFINE)? I know I would have to use SAVEDATA somewhere but which of all options (DIFFTEST, etc)?