bundles / scipy 1.17.1 / docs
Doc
Generalized Inverse Gaussian Distribution
docs/tutorial:stats:continuous_geninvgauss
The probability density function is given by:
\begin{eqnarray*}
f(x; p, b) = x^{p-1} \exp(-b(x + 1/x)/2) / (2 K_p(b)),
\end{eqnarray*}where is a real number and the parameters satisfy . is the modified Bessel function of second kind of order (scipy.special.kv).
If X is geninvgauss(p, b), then the distribution of 1/X is geninvgauss(-p, b). The inverse Gaussian distribution (scipy.stats.invgauss) is a special case with p=-1/2.
Implementation: scipy.stats.geninvgauss