jax.scipy.stats.gamma.logpdf

Contents

jax.scipy.stats.gamma.logpdf#

jax.scipy.stats.gamma.logpdf(x, a, loc=0, scale=1)[source]#

Gamma log probability distribution function.

JAX implementation of scipy.stats.gamma logpdf.

The Gamma probability distribution is given by

\[f(x, a) = \frac{1}{\Gamma(a)}x^{a-1}e^{-x}\]

Where \(\Gamma(a)\) is the gamma() function. It is defined for \(x \ge 0\) and \(a > 0\).

Parameters:
Returns:

array of logpdf values.

Return type:

Array