Monte Carlo data generation for DTSA ... PreviousNext
Mplus Discussion > Growth Modeling of Longitudinal Data >
 Matthew Lambert  posted on Monday, June 14, 2010 - 10:50 am
Hi, I'm new to the Monte Carlo method and I am trying to conduct a post-hoc power analysis for a discrete-time survival model with 23 binary indicators, 13 binary covariates and 2 continuous covariates (similar to ex 11.8). Five of the binary covariates are dummy coded ethnicity variables, so I was wondering if it is possible to generate these variables so that they are mutually exclusive of one another. If not, how should I approach generating this variable (as a nominal variable with five levels)? Thanks for the help.
 Linda K. Muthen posted on Tuesday, June 15, 2010 - 9:07 am
I don't think this can be done in Mplus. You would need to generate the data outside of Mplus. You could generate four variables and cut them and fix their corelations to zero but I don't think that will guarantee that the variables are mutually exclusive of one another.
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