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

BUG: raise if non-binary endog in Probit #7229

Merged
merged 1 commit into from
Jan 3, 2021

Conversation

josef-pkt
Copy link
Member

see #7210 Probit does not support continuous interval data

this PR adds the binary check to Probit and raises for non 0-1 endog.

I didn't change loglike of Logit which is incorrect for continuous data, everything else in Logit seems fine
(changing loglike in Logit will add possible problems with 0 log 0, so refactoring needs to be more careful)

@bashtage bashtage merged commit 47b5748 into statsmodels:master Jan 3, 2021
@ChadFulton ChadFulton mentioned this pull request Jan 9, 2021
15 tasks
bashtage added a commit that referenced this pull request Jan 27, 2021
BUG: raise if non-binary endog in Probit
@bashtage bashtage removed the backport label Jan 27, 2021
@ChadFulton ChadFulton added this to the 0.12.2 milestone Feb 1, 2021
@josef-pkt josef-pkt deleted the probit_binarycheck branch February 21, 2021 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants