Previous Up Next

8.3.3 Producing random numbers with the binomial distribution: randbinomial

The randbinomial command finds random numbers chosen according to the binomial distribution (see Section ‍8.4.3).

Example

Input:

randbinomial(100,0.4)

Output:

42

Previous Up Next