Attachment | Size |
---|---|
forum_revised_code_example.txt [6] | 1.68 KB |
I am trying to allow for correlation between some residual errors in a single common factor model with 7 methods. I want them to all equal a common correlation rho. The attached file shows how I coded the mxPath and mxAlgebra statements to link the covariances so that the covariance equals the product of the two standard deviations and the common correlation rho. When I run this using mxRun or mxTryHard:
fit.all.cov.deep2 <- mxRun(model.all.cov.deep2)
Error: Unknown reference 'rho' detected in the entity 'cov23' in model 'model_all_cov_deep2'
How can I fix this?