Hello Mike,
Thank you for your awesome software. I have been working on a TSSEM and once I run my attached codes on the data in the excel file attached, I get the message below after the first stage regression is completed:
"Error in wls(Cov = pooledS, aCov = aCov, n = tssem1.obj$total.n, RAM = RAM, :
"aCov" is not positive definite.
In addition: Warning message:
In .solve(x = object$mx.fit@output$calculatedHessian, parameters = my.name) :
Error in solving the Hessian matrix. Generalized inverse is used. The standard errors may not be trustworthy."
I have thoroughly checked my codes and data for possible errors but still can not resolve it. Could you please have a look and point out what could be the issue, please?
As a second issue, with similar data structure and codings, I am tried to run the TSSEM for a group of 14 variables. Again after the first stage output, the iterations/estimations for the second stage has been running for days with no output. Is this a normal thing or perhaps an issue of the low processing power of my computer?
Best.