pub fn geninvgauss_logpdf(x: f64, p: f64, b: f64) -> f64Expand description
Logarithm of the generalized inverse Gaussian probability density function
Corresponds to xsf::geninvgauss_logpdf, and to the logpdf of
scipy.stats.geninvgauss with loc=0 and scale=1.
§Definition
$$ f(x; p, b) = {x^{p-1} \over 2 K_p(b)} \exp\left(-{b \over 2} \left(x + {1 \over x}\right)\right) $$
for $x > 0$, where $K_p$ is the modified Bessel function of the second kind.
§See also
geninvgauss_pdf: the density itself