QuantLib icon indicating copy to clipboard operation
QuantLib copied to clipboard

Adding generalized hyperbolic distribution to distribution module on ql/math/distributions

Open kennychavz opened this issue 1 year ago • 3 comments

This pull request introduces the implementation of the generalized hyperbolic distribution to the QuantLib library under the ql/math/distributions module. The generalized hyperbolic distribution is a flexible family of continuous probability distributions that can model data with skewness and heavy tails. This implementation includes:

Definition of the GeneralizedHyperbolicDistribution class. Methods for calculating the probability density function (PDF). Integration of Boost's Bessel function for the computation. This feature will enhance QuantLib's capability to model complex statistical distributions, providing better tools for quantitative finance applications.

I am submitting this pull request to contribute to the QuantLib project, an open-source library for quantitative finance. The goal is to extend the library's functionality by adding a widely-used distribution in financial modeling and risk management.

Please review the changes and let me know if there are any adjustments or improvements needed.

kennychavz avatar Jul 11 '24 19:07 kennychavz

Thanks for opening this pull request! It might take a while before we look at it, so don't worry if there seems to be no feedback. We'll get to it.

boring-cyborg[bot] avatar Jul 11 '24 19:07 boring-cyborg[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jul 11 '24 19:07 CLAassistant

Hi, thanks—would this be used in any pricing model? Statistical analysis is not exactly in scope of the library...

lballabio avatar Jul 15 '24 16:07 lballabio

This PR was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.

github-actions[bot] avatar Sep 14 '24 01:09 github-actions[bot]

This PR was automatically closed because it has been stalled for two weeks with no further activity.

github-actions[bot] avatar Sep 28 '24 02:09 github-actions[bot]