Skip to content

Missing values introduced when running multigroup alignment model on simulated data  #202

@jenniferdguay

Description

@jenniferdguay

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

The code used to estimate the model is written as:

alignment.mdl <- mplusObject(
  TITLE =     "Run multigroup alignment;",
  VARIABLE =  "USEVARIABLES = group x1-x10; GROUPING =  group(2);",
  MODEL= "F1-F2 BY x1-x10(*1);",
  ANALYSIS =  "ROTATION = oblimin; alignment = fixed;",
  OUTPUT = "align;",
  rdata = simout$data  
)
alignment.fit <- mplusModeler(alignment.mdl, modelout = "alignment.inp", run=T)

The following message is printed in the console:

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

and I get this error in the Mplus output file:
Mplus_error

How can I fix this issue?

Many thanks!
Jennifer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions