Re: [R] Help with SEM package: Error message

2011-11-09 Thread John Fox
.0522614 V[y12]V[y13]V[y14]V[y15] 0.9653279 1.0703453 0.9421894 1.1277448 Iterations = 16 --- snip Best, John > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Lisa Pham &

Re: [R] Help with SEM package: Error message

2011-11-08 Thread Lisa Pham
Dear John, Thank you for your reply. My data is actually simulated under the model X = Lambda*F + E. Since my post, I've simplified the simulation of my data and I still get the error. This is what I've done since my last post. I constructed Lambda apriori (so I know exactly which observed var

Re: [R] Help with SEM package: Error message

2011-11-08 Thread John Fox
Dear Lisa, As I said, I don't have a whole lot of time today. At a quick glance, you simulation seems straightfoward except for > F_i ~ N(mu_i, Phi). > > mu_i is fixed to Phi*z_i, where z_i is a 5x1 vector. Why don't the factors have 0 means? I assumethat Phi is a correlation matrix. John O

Re: [R] Help with SEM package: Error message

2011-11-08 Thread John Fox
Dear Lisa, There doesn't seem to be anything logically wrong with your model. I don't have much time today to look into it, but trying different optimizers in version 2.0-0 of sem, using the correlation matrix in place of the covariance matrix, and setting the par.size parameter, I was unable t