I am using the mlogit R package.
For a subset of my dataset,
mlogit is learned ok. For another subset of my dataset, I get this error.
Error in solve.default(H, g[!fixed]) : system is computationally singular: reciprocal condition number = 1.12239e-16
When I looked for this error in contexts outside of mlogit, one suggested remedy it to use
qr.solve() instead of
- How do I modify mlogit to use
- What in my data can possibly be causing this problem?
- Can this error result from a certain category being fully predictable from some attribute?
- How do I check?