R mlogit on my data giving error 'system is computationally singular?

纵饮孤独 提交于 2019-12-12 21:33:14

问题


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

回答1:


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.



来源:https://stackoverflow.com/questions/18978572/r-mlogit-on-my-data-giving-error-system-is-computationally-singular

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!