R 中的 factanal() 函数如何计算因子之间的相关性?

How does factanal() function in R calculate correlations between factors?

当使用 R 中 stats 包中的 factanal() 函数使用 promax 旋转时,您将获得因子相关性。

tmp = cbind(rnorm(200,2,1.5),rnorm(200,2,1.5),rnorm(200,2,1.5),rnorm(200,2,1.5),rnorm(200,2,1.5),rnorm(200,2,1.5))
print(factanal(tmp, 3, rotation="promax"))

但是,我似乎无法找到这些相关性是如何计算的(在 R 文档中没有帮助)。我也未能在因子得分上使用 cor() 自己重新创建它们。

我猜这可能是多元相关,但我不能确定。

它是使用以下代码计算的,可在此处找到 https://github.com/SurajGupta/r-source/blob/master/src/library/stats/R/factanal.R

tmat <- solve(tmp$rotmat) R <- tmat %*% t(tmat)