rasch“算法的收敛性没有收敛”,“拟合概率在数值上0或1发生”

时间:2017-10-15 10:04:43

标签: r estimation psych

我有一个问题,我在R中使用函数“rasch”包“ltm”来估算困难但是当我用它时

x <- data.frame(matrix(data = c(0,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,0,0,1,0,1,0,1,0,1,0,
                       1,1,1,1,0,1,0,0,1,0,1,0,0,0,0,0,1,1,1,0,0,1,0,0,1,0,
                       1,0,1,0,1,0,1,1,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,1,1,0,
                       0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0),ncol = 6, nrow = 16))

rasch(x)

我收到很多警告

"glm.fit: algorithm did not converge"Warning message:
"glm.fit: fitted probabilities numerically 0 or 1 occurred"Warning message:
"glm.fit: algorithm did not converge"Warning message:
"glm.fit: fitted probabilities numerically 0 or 1 occurred"Warning message:
"glm.fit: algorithm did not converge"Warning message:

我该如何解决问题?

请帮忙!

0 个答案:

没有答案