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

Fix broken kendall tau on GumbelBarnettCopula and InvGaussianCopula #72

Closed
lrnv opened this issue Nov 17, 2023 · 11 comments · Fixed by #73
Closed

Fix broken kendall tau on GumbelBarnettCopula and InvGaussianCopula #72

lrnv opened this issue Nov 17, 2023 · 11 comments · Fixed by #73

Comments

@lrnv
Copy link
Owner

lrnv commented Nov 17, 2023

@Santymax98 This is yours to do. the gsl_... functions you wrote do not have the right interface for Julia, where the funtions are called GSL.integration_qags() intead, but the parameters are not the same as what you have ? where is this gsl_integration_qags() call coming from ?

@Santymax98
Copy link
Contributor

https://www.cagnol.com/promotion2007/cs302/gsl/gsl-ref.pdf, page. 168

I was guided by that document.

@lrnv
Copy link
Owner Author

lrnv commented Nov 17, 2023

I think you could compute the same thing with quadgk from the QuadGK.jl package, if this is indeed a gauss-konrod quadrature. That will probably be better.

Anyhow m, could you I Clyde a few tests to check that these functions are working correctly ?

@Santymax98
Copy link
Contributor

Santymax98 commented Nov 17, 2023 via email

@lrnv
Copy link
Owner Author

lrnv commented Nov 17, 2023

Yes I think that it will be better. Also the frank one if i remember correctly, using the debye1 function, can be replaced by a quadgk integration which would probably be better-behaved near critical points, and would allow us to get rid of GSL entierly (and better compatibility with bigfloats).

@Santymax98
Copy link
Contributor

Santymax98 commented Nov 17, 2023 via email

@lrnv
Copy link
Owner Author

lrnv commented Nov 17, 2023

You clearly did not make the commit to my repository as you do not have the right to do that. What you need to do is to make a PR:

  • Open a new branch in your repo on top of upstream/main (upstream means my repo)
  • Make a PR out of it
  • Commit to this branch.

As you already did once or twice :)

@lrnv
Copy link
Owner Author

lrnv commented Nov 17, 2023

I think that if you navigate to your branch, github will propose you to create a pull request. maybe ther e: main...Santymax98:Copulas.jl:main

@Santymax98
Copy link
Contributor

Santymax98 commented Nov 17, 2023 via email

@lrnv
Copy link
Owner Author

lrnv commented Nov 17, 2023

Yes i think so, sorry if it looks complicated but it is the best way for readibility of the changes later on, if we want to revert something or something like that that will be the easiest.

@Santymax98
Copy link
Contributor

Santymax98 commented Nov 17, 2023 via email

@lrnv
Copy link
Owner Author

lrnv commented Nov 17, 2023

Could you propose a PR correcting these kendall taus (and adding your name to the paper) before going into the visualisations please ?

Then the extreme values copulas from Mai looks interesting of course !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants