jax.scipy.stats.binom.pmf#

jax.scipy.stats.binom.pmf(k, n, p, loc=0)[source]#

Binomial probability mass function.

JAX implementation of scipy.stats.binom pmf.

The binomial probability mass function is defined as

\[f(k, n, p) = {n \choose k}p^k(1-p)^{n-k}\]

for \(0\le p\le 1\) and non-negative integers \(k\).

Parameters:
Returns:

array of pmf values.

Return type:

Array