Interaction between observed variables PreviousNext
Mplus Discussion > Structural Equation Modeling >
Message/Author
 Rules Comm posted on Monday, April 19, 2010 - 10:29 pm
Professors,

I have a question on interaction.

I intend to include some interactions between observed variables. I did as follows:

DEFINE:
unidg=uniscr*demgopcg;
unidist=uniscr*dist1mj;
unidvd=uniscr*dvdgvt;
dvdprz=dvdgvt*przpoz01;
unikey=uniscr*keyiss;

But in the output, it always say:
ERROR in Model command
Unknown variable(s) in an ON statement: UNIDIST

Maybe I have got the command wrong. But I do not know how.

Notes: Among the observed variables I am using, some are continuous, others are categorical.

Thanks a lot.

John
 Linda K. Muthen posted on Tuesday, April 20, 2010 - 7:01 am
You need to put the new variables on the USEVARIABLES list -- at the end after any original variables.
 Charlotte posted on Saturday, May 11, 2019 - 1:02 pm
I am also having this problem, despite having added the new variable to the end of the use variables list. Is there a way to fix this?
 Bengt O. Muthen posted on Saturday, May 11, 2019 - 5:31 pm
You must be doing something else wrong but we need to see the full output to say - send to Support along with your license number.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: