最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

matrix - R corFiml() long vectors not supported yet: memory.c:3948 - Stack Overflow

programmeradmin0浏览0评论

I have a dataset of 547 columns with 643 cases, with a large proportion of missingness, so I am attempting to use full-information maximum likelihood in a factor analysis. To do this, I am attempting to use the corFiml function to get a matrix using fiml to pass to the fa() function. However, when I try to use the corFiml function on the dataset, I receive the error:

Error in nlminb(): ! long vectors not supported yet: memory.c:3948

There is roughly a 50% missingness rate, as we used a planned missingness design. This is unlikely to be a memory issue, as I am running the code using 500gb of RAM. I have tried using both a regular R script and rmd (including removing cache=TRUE and cache.lazy=FALSE, as others have suggested).

As to the factor analysis itself, I have tried using

fa(data, fm = "pa", rotate = "none", missing = TRUE, impute = "fiml")

But have received a nonpositive definite correlation matrix. Using multiple imputation for the missingness has proved insurmountably computationally demanding (even using a 1tb of RAM, the imputation has not finished running in half a year).

No solution that I have found online has worked thus far, and I would appreciate any assistance.

发布评论

评论列表(0)

  1. 暂无评论