Skip to content

Conversation

AustenLamacraft
Copy link
Contributor

Switches out numerical evaluation of Painleve for evaluation of the finite dimensional approximation of the Fredholm determinant.

At the moment, pdf is not implemented, as I don't know anything better than numerical differentiation of the cdf -- a possible drawback relative to Painlevé.

I've used FastGaussQuadrature for quadrature. Potentially could switch to tanh-sinh as per this stack exchange answer. I don't know about the relative merits.

@dlfivefifty
Copy link
Member

Do we still require OrdinaryDiffEq.jl or can that dependency be dropped?

@dlfivefifty
Copy link
Member

I've used FastGaussQuadrature for quadrature. Potentially could switch to tanh-sinh as per this stack exchange answer. I don't know about the relative merits.

tanh-sinh is good for removing algebraic-like singularities, and allows for using Trapezoidal-like rules (so simpler, though that's less relevant when there are convenient quadrature-rule packages). I'd think that if you are not planning to optimise parameters to minimise number of evaluations, just use FastGaussQuadrature.jl.

@dlfivefifty
Copy link
Member

@MikaelSlevinsky @ajt60gaibb any more informed knowledge about Gauss quadrature v tanh-sinh rules?

@MikaelSlevinsky
Copy link

MikaelSlevinsky commented May 25, 2018 via email

@dlfivefifty
Copy link
Member

I’d be very surprised if there’s a high-performance application of TW distributions, so probably best to just do what’s easiest and not over-optimise.

@dlfivefifty dlfivefifty merged commit 70ed13b into JuliaMath:master May 27, 2018
@AustenLamacraft
Copy link
Contributor Author

Just noticed the README needs updating ... still mentions Painlevé

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 this pull request may close these issues.

3 participants