distr_bernoulli: Creates a Bernoulli distribution parameterized by probs
or logits (but not both).
Samples are binary (0 or 1). They take the value 1 with probability p
and 0 with probability 1 - p.
Description
Creates a Bernoulli distribution parameterized by probs
or logits (but not both).
Samples are binary (0 or 1). They take the value 1 with probability p
and 0 with probability 1 - p.