I found out that this error means there is an underflow that is not handled
by the default solve. The suggested solution is to use qr.solve() or svd
instead of default.solve().
How can I modify mlogit to use qr.solve() instead of solve.default()?
Thanks
On Thu, Apr 19, 2012 at 2:10 PM, geek gir
Thank you for your response. Each v can take a a value from 1 to 100.
Input data subset: v1.data
v1 v2 v3 v4 v5
1 1591 5152
2 1591783
3 1591 4611
4 1991 8411
5 1591 31 4
6 1
There's something in your data that makes the model computationally
singular when you take the various subsettings... Can you provide a
small reproducible example so we can help narrow it down? It looks
like you're using different data for each mlogit though so I'm not
sure how the comparison that
I forgot to say that the models for v2 and v5 worked fine on a smaller
dataset, but gave me this error on a larger dataset.
Thanks
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
I am learning five mlogits as follows
v1.model<-mlogit(v1~1|v2+v3+v4+v5, data=mlogit.v1.data, reflevel="1")
v2.model<-mlogit(v2~1|v1+v3+v4+v5, data=mlogit.v2.data, reflevel="1")
v3.model<-mlogit(v3~1|v1+v2+v4+v5, data=mlogit.v3.data, reflevel="1")
v4.model<-mlogit(v4~1|v1+v2+v3+v5, data=mlogit.v4.
5 matches
Mail list logo