Error in http://openmx.psyc.virginia.edu/docs/OpenMx/2.6.7/_static/demo/OneFactorJoint_PathRaw.R ?

Posted on
Picture of user. rabil Joined: 01/14/2010
Forums

I was looking at this example:

http://openmx.psyc.virginia.edu/docs/OpenMx/2.6.7/_static/demo/OneFacto…

When I ran it, there were no estimates for the factor loadings.

This code doesn't include "facLoads". Shouldn't it?

oneFactorJointModel <- mxModel("Common Factor Model Path Specification", type="RAM",
manifestVars=c("x1","x2","x3","z1","z2","z3"), latentVars="F1",
dataRaw, resVars, latVar, means, thresholds)

I think this is what is needed:

oneFactorJointModel <- mxModel("Common Factor Model Path Specification", type="RAM",
manifestVars=c("x1","x2","x3","z1","z2","z3"), latentVars="F1",
dataRaw, resVars, latVar, means, thresholds, facLoads)

Or am I missing something?