Nominal X in MONTECARLO PreviousNext
Mplus Discussion > Structural Equation Modeling >
Message/Author
 Patrick Malone posted on Wednesday, April 11, 2012 - 12:05 pm
I've been struggling with creating a nominal (5-category) X variable in a MONTECARLO simulation.

I did figure out I could generate dummy codes and manipulate them with a DEFINE in a second run to make them mutually exclusive, but I could not work out to make them so in the data generation step.

Any tips?

Thanks.
 Linda K. Muthen posted on Wednesday, April 11, 2012 - 6:02 pm
You can generate a nominal dependent variable using the GENERATE option. There is no straightforward way to generate nominal independent variables.
 Patrick Malone posted on Wednesday, April 11, 2012 - 6:10 pm
Thanks, Linda.
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: