使用R进行因子分析(在cor.smooth(R)中:矩阵不是正定的,进行了平滑处理)

时间:2018-11-22 10:11:09

标签: r pca factor-analysis

我正在使用R对包含100多个变量的数据集进行因子分析,即

FA <- fa (r=co_fa_data, nfactors=20, rotate="varimax",fm = "minres")

但是当我运行命令时会抛出错误:

The estimated weights for the factor scores are probably incorrect.  Try a 
different factor extraction method. Error in UseMethod("conditionCall") :    no
applicable method for 'conditionCall' applied to an object of class "NULL" In 
addition: Warning messages: 1: In cor.smooth(R) : Matrix was not positive 
definite, smoothing was done.

如何避免此类错误并进行因子分析?

0 个答案:

没有答案