Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inconvenient: logit when endog is (1,2) instead of (0,1) #1053

josef-pkt opened this issue Aug 19, 2013 · 1 comment


None yet
1 participant
Copy link

commented Aug 19, 2013

This breaks with a Singular Matrix problem in the Hessian calculation.
It took me two hours of figuring out the singular matrix issue, before I thought of checking endog

I think we should add a basic check for this.

I haven't looked at the details yet.

related: I was looking at using Logit for continuous variables in [0,1] interval, and it seemed to work.


This comment has been minimized.

Copy link
Member Author

commented Sep 19, 2014

We should raise an error if there are no zero values (endog==0).sum() == 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.