jax.scipy.stats.bernoulli.cdf

Contents

jax.scipy.stats.bernoulli.cdf#

jax.scipy.stats.bernoulli.cdf(k, p)[source]#

Bernoulli cumulative distribution function.

JAX implementation of scipy.stats.bernoulli cdf

The Bernoulli cumulative distribution function is defined as:

\[f_{cdf}(k, p) = \sum_{i=0}^k f_{pmf}(k, p)\]

where \(f_{pmf}(k, p)\) is the Bernoulli probability mass function jax.scipy.stats.bernoulli.pmf().

Parameters:
Returns:

array of cdf values

Return type:

Array