Skip to content

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

Merged
bashtage merged 1 commit into
statsmodels:masterfrom
josef-pkt:probit_binarycheck
Jan 3, 2021
Merged

bashtage merged 1 commit into
statsmodels:masterfrom
josef-pkt:probit_binarycheck

Conversation

@josef-pkt

Copy link
Copy Markdown
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
13 of 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.

3 participants