jax.scipy.stats.bernoulli.cdf

Contents

jax.scipy.stats.bernoulli.cdf#

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

Cumulative distribution function of the given RV.

LAX-backend implementation of scipy.stats._distn_infrastructure.cdf().

Original docstring below.

Parameters:
  • k (array_like, int) – Quantiles.

  • arg1 (array_like) – The shape parameter(s) for the distribution (see docstring of the instance object for more information).

  • arg2 (array_like) – The shape parameter(s) for the distribution (see docstring of the instance object for more information).

  • arg3 (array_like) – The shape parameter(s) for the distribution (see docstring of the instance object for more information).

  • ... (array_like) – The shape parameter(s) for the distribution (see docstring of the instance object for more information).

  • loc (array_like, optional) – Location parameter (default=0).

  • p (Union[Array, ndarray, bool_, number, bool, int, float, complex]) –

Returns:

cdf – Cumulative distribution function evaluated at k.

Return type:

ndarray