binomial¶
Syntax¶
Parameters¶
n- A numeric expression representing the range of the distribution.
p- A numeric expression representing the probability of success for each trial.
Returns¶
This returns integer values between 0 and n, inclusive. The values are based
on a binomial discrete distribution with range n and probability p.
Description¶
Returns integers according to a binomial discrete distribution. This
distribution produces random integers in the range \([0, n]\), where each value
represents the number of successes in a sequence of n trials, each with a
probability of success equal to p.