jax.scipy.stats.gennorm.logpdf

Contents

jax.scipy.stats.gennorm.logpdf#

jax.scipy.stats.gennorm.logpdf(x, beta)[source]#

Generalized normal log probability distribution function.

JAX implementation of scipy.stats.gennorm logpdf.

The generalized normal probability distribution function is defined as

\[f(x, \beta) = \frac{\beta}{2\Gamma(1/\beta)}\exp(-|x|^\beta)\]

where \(\Gamma\) is the gamma() function, and \(\beta > 0\).

Parameters:
Returns:

array of logpdf values.

Return type:

Array