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

ENH "heckprobit" model and bivariate normal including cdf #7312

Open
AI-Friend opened this issue Feb 7, 2021 · 2 comments
Open

ENH "heckprobit" model and bivariate normal including cdf #7312

AI-Friend opened this issue Feb 7, 2021 · 2 comments

Comments

@AI-Friend
Copy link

Do you support the "heckprobit"(probit with sample selection) model?
Stata supports this model. Does statsmodels supporst this model?

Looking forward to your reply, thank you very much!

@josef-pkt
Copy link
Member

josef-pkt commented Feb 7, 2021 via email

@josef-pkt
Copy link
Member

converting this to an enhancement request

We don't have a good bivariate normal distribution. scipy has now also multivariate normal, but I'm not sure how fast and accurate the cdf is in the bivariate case.
We have an old version of bivariate normal distribution class in sandbox.distributions, but that's not ready for use.
The cdf uses double quad, instead we could use a single quad and the univariate cdf for the conditional distribution, which I guess would be more accurate.

@josef-pkt josef-pkt changed the title Do you support the "heckprobit" model? ENH "heckprobit" model and bivariate normal including cdf Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants