Nominal variable in CFA Example PreviousNext
Mplus Discussion > Confirmatory Factor Analysis >
Message/Author
 Joshua Josephs posted on Friday, April 12, 2013 - 12:33 pm
Does anyone have an example of code including nominal, categorical, and continuous variables in a CFA. I know MPLUS can do this, but cant find an example of it.

Thanks,
Josh
 Bengt O. Muthen posted on Friday, April 12, 2013 - 1:30 pm
Don't know that I have an example handy, but you mix a little bit of UG ex 3.15 with a little bit of UG ex5.14. Maximum-likelihood estimation with numerical integration has to be used.
 Bengt O. Muthen posted on Friday, April 12, 2013 - 1:38 pm
You can try out the data and input for UG ex5.2 and change CATEGORICAL to NOMINAL and see what happens.
 Joshua Josephs posted on Friday, April 12, 2013 - 2:05 pm
If you make that switch in example 5.2 you get the following error message
Nominal variables must be specified with a threshold number: U1 and so on for the other variables.
 Bengt O. Muthen posted on Friday, April 12, 2013 - 4:11 pm
Ok, so say

f BY u1#1 u1#2 (assuming 3 nominal categories) etc
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: