Mplus does not allow labels for either observed or latent variables. Observed variables are given names using the NAMES option of the VARIABLE command. Factors are named using the BY option of the MODEL command.
Eureeka! Now I see! I mistakenly thought that one had to use f1, f2, etc. as factor names, just as one refers to factors in LISREL as ksi1, ksi2, etc. by default. And for some reason, I myopically fixated on the original variable names in naming observed variables in Mplus. Clearly, the latent and observed variables assume whatever names you give them at the outset in Mplus. Duh!
Thank you for your patience in explaining the obvious to one who seems not to see it. I once was blind, but now I see; was lost, but now am found. Much obliged!
hello, For some reason Mplus never lets me create new variables using variables from the NAMES list coupled with some mathematical operators (this is explained in the manual on p. 466 in version 5, but it doesn't seem to work in practice). After the NAMES list I write define: in100000= w1salary/100000; MISSING ARE ALL (-999.00); USEVARIABLES =in100000 v1 v2 v3
And I get the following error message:
*** ERROR in Define command Error in assignment statement for MISSING
No matter where I move the define command (before or after USEVARIABLES or Missing or whereever) I get an error message.
The new variables created in DEFINE should be placed at the end of the USEVARIABLES list after any original variables. The DEFINE command should come before or after the VARIABLE command not in the middle of it.
Dear Linda, Thanks for your answer. I tried your suggestion (your first sentence), but that doesn't work either. After the USEVARIABLES list, I write: define: IN100000= w1salary/100000;
and then I get the following error message:
*** ERROR in MODEL command Unknown variable(s) in an ON statement: IN100000
Why doesn't Mplus recognize this new variable that I've created?
Second, I don't understand what you mean when you write: 'The DEFINE command should come before or after the VARIABLE command not in the middle of it'. When you say VARIABLE command, are you talking about the combined command of both NAMESARE and USEVARIABLES?
The only reason I'm creating this new variable is that the original variable, w1salary, has values that Mplus doesn't seem to be able to handle. I get ********* instead of estimates, so I figured I'd make the values smaller by dividing it by 100000.