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.
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: