Published on *OpenMx* (http://openmx.psyc.virginia.edu)

By *newsomjr*

Created *08/16/2010 - 23:02*

Mon, 08/16/2010 - 23:02 — newsomjr [1]

I received this error when trying to run a latent growth curve model:

Error: The expected covariance matrix associated with the FIML objective in model 'MZ' is not of the same length as the dimnames provided by the objective function.

I used the traceback() function to try to determine the error and received the following output:

9: stop(msg, call. = FALSE)

8: updateObjectiveDimnames(.Object, job, model@name, "FIML")

7: genericObjModelConvert(flatObjective, job, model, namespace,

flatJob)

6: genericObjModelConvert(flatObjective, job, model, namespace,

flatJob)

5: translateObjectivesHelper(job, submodel, namespace, flatJob)

4: translateObjectivesHelper(model, model, namespace, flatModel)

3: translateObjectives(model, namespace, flatModel)

2: runHelper(model, frontendStart, intervals, silent, suppressWarnings,

unsafe, checkpoint, useSocket)

1: mxRun(lgcACEModel)

I am not sure how to interpret this message, or how to correct the script. Any help would be greatly appreciated! I have attached my script, and can upload my data if that is helpful.

Thank you!

**Links:**

[1] http://openmx.psyc.virginia.edu/users/newsomjr

[2] http://openmx.psyc.virginia.edu/thread/677

[3] http://openmx.psyc.virginia.edu/thread/627

[4] http://openmx.psyc.virginia.edu/forums/openmx-help/openmx-error-messages