I was looking at this example:
https://openmx.ssri.psu.edu/docs/OpenMx/2.6.7/_static/demo/OneFactorJoint_PathRaw.R
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?
You're right on. I committed your fix. Thanks!
https://github.com/OpenMx/OpenMx/commit/096de3b3294136d1f0666423d79792585eb59f23