Gao Yan posted on Wednesday, September 15, 2010 - 8:10 am
Hi, I am doing the data simulation in mplus. my model is
a with b; ab | a xwwith b; c on a b ab; d on a c;
but it was said the the covariance matrix is not positive. after tried different ways. I find that when you define the algorithm=integration which is a must when you use xwith, there will be the same problem when you use with as well.
See mcex5.13.inp which is a Monte Carlo input for a model with a latent variable interaction. You must provide population parameter values for a simulation study. See also the Monte Carlo examples chapter and the chapter on the MONTECARLO command in the user's guide.