Functions to compute the probability density function, cumulative distribution function, and quantile function for the Binomial distribution.
Usage
binomial_pdf(k, n, prob)
binomial_lpdf(k, n, prob)
binomial_cdf(k, n, prob)
binomial_lcdf(k, n, prob)
binomial_quantile(p, n, prob)
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.
See also
Boost Documentation for more details on the mathematical background.