bernoulli_distribution: Bernoulli Distribution Functions
Description
Functions to compute the probability density function, cumulative distribution function, and quantile function for the Bernoulli distribution.
Usage
bernoulli_pdf(x, p_success)
bernoulli_lpdf(x, p_success)
bernoulli_cdf(x, p_success)
bernoulli_lcdf(x, p_success)
bernoulli_quantile(p, p_success)
Value
A single numeric value with the computed probability density, log-probability density, cumulative distribution, log-cumulative distribution, or quantile depending on the function called.