The MplusAutomation package leverages the flexibility of the R language to automate latent variable model estimation and interpretation using Mplus, a powerful latent variable modeling program developed by Muthen and Muthen (www.statmodel.com). Specifically, MplusAutomation provides routines for creating related groups of models, running batches of models, and extracting and tabulating model parameters and fit statistics.
81
stars
46
forks
source link
Missing values introduced when running multigroup alignment model on simulated data #202
I'm trying to run a multigroup alignment model with different oblique rotations. However, when running the model on simulated data, I get an error that the data has 1 missing value for each group even though the data has been generated with no missing values.
The simulated data looks something like this:
The code used to estimate the model is written as:
No PROPORTION OF DATA PRESENT sections found within COVARIANCE COVERAGE OF DATA output.
Warning message:
In readModels(target = outfile, quiet = quiet) : NAs introduced by coercion
Hi,
I'm trying to run a multigroup alignment model with different oblique rotations. However, when running the model on simulated data, I get an error that the data has 1 missing value for each group even though the data has been generated with no missing values.
The simulated data looks something like this:![simout$data](https://github.com/michaelhallquist/MplusAutomation/assets/103517728/6cc921b3-037b-4a34-afd9-761308a5cc94)
The code used to estimate the model is written as:
The following message is printed in the console:
and I get this error in the Mplus output file:![Mplus_error](https://github.com/michaelhallquist/MplusAutomation/assets/103517728/3353bcc4-e193-4bfc-b987-d7b4995fa95e)
How can I fix this issue?
Many thanks! Jennifer