aesara.tensor.random.binomial

Contents

aesara.tensor.random.binomial#

aesara.tensor.random.binomial = <aesara.tensor.random.basic.BinomialRV object>[source]#

A binomial discrete random variable.

The probability mass function for binomial for the number k of successes in terms of the probability of success p of a single trial and the number n of trials is:

f(k; p, n) = {n \choose k} p^k (1-p)^{n-k}