关于我的数据给出错误的信息,“系统在计算上是奇异的吗? [英] R mlogit on my data giving error 'system is computationally singular?

查看:133
本文介绍了关于我的数据给出错误的信息,“系统在计算上是奇异的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以解释什么是错误,我该如何解决?

Could anyone explains what is the error and how could I resolve it?

> C.m<-mlogit(choice~TotalAmount,data=C)

Error in solve.default(H, g[!fixed]) : 
  system is computationally singular: reciprocal condition number = 6.87101e-23

推荐答案

数据中的某些内容是computationally singular例如您尝试对其进行回归的某些列是相关的. 也许您可以删除一些相关的列,然后在没有它们的情况下重试.

Something in your data is computationally singular e.g. some of the columns you are trying to do the regression on are correlated. Maybe you can remove some of the correlated columns and try again without them.

这篇关于关于我的数据给出错误的信息,“系统在计算上是奇异的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆