R/distributions.R
bernoulli_lpmf.Rd
Bernoulli log-probability mass function
bernoulli_lpmf(x, prob, sum = TRUE)
Vector of binary outcomes (0 or 1).
Probability of success.
The sum of the log-probability.