Nominal X in MONTECARLO PreviousNext
Mplus Discussion > Structural Equation Modeling >
 Patrick Malone posted on Wednesday, April 11, 2012 - 6:05 am
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?

 Linda K. Muthen posted on Wednesday, April 11, 2012 - 12: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 - 12:10 pm
Thanks, Linda.
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message