metasem
metasem copied to clipboard
tssem2 error
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”
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).
Could you please take a look at the attached my data and code and see what the problem is? Thank you.