I encounter a problem of "x is not positive definite" when using Cheung's Two-stage MASEM. Could anyone provide some clues?
I attach part of my dataset as samples. My R-syntax is "random1<-tssem1(entrymode,samplesize,method="REM",RE.type="Diag")" . This command ends with an error information:
Error in (function(x, n, cor.analysis = TRUE, dropNA = FALSE, as.matrix = TRUE), : x is not positive definite!
Actually, I utilized Cheung's TSSEM one year ago with "metaSEM_0.8-2". The old version could inform me which matrix is non-positive, so that I could delete the matrix and went though the fist stage. But now I updated to "metaSEM_0.8-4". This new version seems not to tell us which one is non-positive.