-
Notifications
You must be signed in to change notification settings - Fork 106
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
The method 'select_copula' of Bivariate return wrong CopulaType #101
Comments
Thanks for reporting this @gaboolic ! It definitely looks like this should be fixed. Would you mind making a PR fixing it? :-) My suggested approach would be to return returning
|
OK,Thanks for your prompt reply |
This issue seems to go much deeper than expected. I reproduce here a short conversation that happened on a private channel between me and @aliciasun
The conclusion reached was:
And
Since the issue has grown bigger than we thought at the beginning, I'm assigning it to @JDTheRipperPC , who, a part from fixing the problem, will work on adding tests that reproduce and validate the behavior. |
Description
In copulas/bivariate/base.py
class CopulaTypes(Enum):
But the method 'select_copula' , is
copula_candidates = [frank]
copula_candidates.append(clayton)
copula_candidates.append(gumbel)
They're not in the same order.
When frank.tau > 0 and frank is best, it returns clayton. It should return frank
The text was updated successfully, but these errors were encountered: