metasem icon indicating copy to clipboard operation
metasem copied to clipboard

tssem2 error

Open Hi3751 opened this issue 5 months ago • 6 comments

Hello Mike, I am performing a meta-analysis (with 13 variables) using the “metaSEM” package. I don't know if this is because the model is complex or because there are many missing correlations, but when I run “tssem2” I get a bunch of problems with error messages (tssem1 takes a long time (about an hour) but produces results normally). The error messages are: “1: sqrt(Diag(vcov.wls(object))) NaN” “2: print.summary.wls(x): OpenMx status1 is neither 0 or 1. You are advised to ‘rerun’ it again.” and sometimes,
“Polite note from mxTryHard: Hessian not checked as model contains mxConstraints” error2

I keep trying to rerun it, but I keep getting NaNs (especially when using likelihood-based confidence intervals), and I get values that are impossible to come up with (e.g. -2.113, or a negative value when it shouldn't be possible to come up with a negative value at all). error1

error3

Could you please take a look at the attached my data and code and see what the problem is? Thank you.

Kim data.txt code.txt

Hi3751 avatar Sep 23 '24 04:09 Hi3751