bundles / scipy latest / scipy / stats / _continuous_distns / genhyperbolic_gen
class
scipy.stats._continuous_distns:genhyperbolic_gen
Signature
class genhyperbolic_gen ( momtype = 1 , a = None , b = None , xtol = 1e-14 , badvalue = None , name = None , longname = None , shapes = None , seed = None ) Members
Summary
A generalized hyperbolic continuous random variable.
Extended Summary
%(before_notes)s
Notes
The probability density function for genhyperbolic is:
for , if , if . denotes the modified Bessel function of the second kind and order (scipy.special.kv)
genhyperbolic takes p as a tail parameter, a as a shape parameter, b as a skewness parameter.
%(after_notes)s
The original parameterization of the Generalized Hyperbolic Distribution is found in [1] as follows
for , , , if , if .
The location-scale-based parameterization implemented in SciPy is based on [2], where , , , and
Moments are implemented based on [3] and [4].
For the distributions that are a special case such as Student's t, it is not recommended to rely on the implementation of genhyperbolic. To avoid potential numerical problems and for performance reasons, the methods of the specific distributions should be used.
See also
- cauchy
- geninvgauss
- laplace
- norminvgauss
- t
Aliases
-
scipy.stats._continuous_distns.genhyperbolic_gen