362ae1c3创建于 2022年6月24日历史提交

Binomial distribution

A binom discrete random variable.

Notes

The probability mass function for binomial distribution is:

.. math::

f(k) = \binom{n}{k} p^k (1-p)^{n-k}

for :math:k \in \{0, 1, \dots, n\} and :math:0 \leq p \leq 1.