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

Copula derivatives wrt arguments and parameters #377

Open
tnagler opened this issue Oct 7, 2018 · 1 comment
Open

Copula derivatives wrt arguments and parameters #377

tnagler opened this issue Oct 7, 2018 · 1 comment

Comments

@tnagler
Copy link
Collaborator

tnagler commented Oct 7, 2018

At some point we should have this.

Useful for

  • faster MLE.
  • computation of Fisher Information and similar quantities.
  • Goodness-of-Fit tests

Requirement

In my opinion, we should ensure that it works for all parametric families.

Implementation options

  • Numerical derivatives: super easy to implement, but slow. In particular, there will be no speed-up for (sequential) MLE. Could be a preliminary solution.
  • Symbolic derivatives:
    • The "VineCopula approach" of copy&pasting generated code: Allows to enhance stability by manual modifications, but adds a lot of ugly code to the library.
    • At compile time in C++ using this or that: Very elegant and probably very little overhead at compile time, but doesn't allow manual modifications. We would need to ensure stability by a "hack" like truncation.
  • Automatic differentiation: Also rather elegant, but heavy memory load at compile time. Possible frameworks: Eigen and Stan.
@tvatter
Copy link
Collaborator

tvatter commented Oct 7, 2018

  • Numerical derivatives: we should have this as a benchmark, but I wouldn't release this as a feature.
  • Symbolic derivatives:
    • The "VineCopula approach" of copy&pasting generated code: no way.
    • At compile time in C++ using this or that: I really like the codet solution. C++14 is not a good idea I think.
  • Automatic differentiation: slow (and really stan is too heavy for this I think).

@tnagler tnagler mentioned this issue Sep 21, 2019
3 tasks
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