Create UNU.RAN object for a Binomial distribution
[Distribution] – Binomial.
udbinom(size, prob, lb=0, ub=size)
number of trials (one or more).
probability of success on each trial.
lower bound of (truncated) distribution.
upper bound of (truncated) distribution.
The Binomial distribution with
size = n and
prob = p has probability mass function
p(x) = choose(n,x) p^x (1-p)^(n-x)
for x = 0, …, n.
The domain of the distribution can be truncated to the
An object of class
Josef Leydold and Wolfgang H\"ormann [email protected].
N.L. Johnson, S. Kotz, and A.W. Kemp (1992): Univariate Discrete Distributions. 2nd edition, John Wiley & Sons, Inc., New York. Chap. 3, p. 105.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.