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:
x (Array | ndarray | bool | number | bool | int | float | complex) – arraylike, value at which to evaluate the PDF
a (Array | ndarray | bool | number | bool | int | float | complex) – arraylike, distribution shape parameter
loc (Array | ndarray | bool | number | bool | int | float | complex) – arraylike, distribution offset parameter
scale (Array | ndarray | bool | number | bool | int | float | complex) – arraylike, distribution scale parameter
- Returns:
array of logpdf values.
- Return type: