Returns a random variate from a binomial distribution.
Category: | Random Number |
Tip: | If you want to change the seed value during execution, you must use the CALL RANBIN routine instead of the RANBIN function. |
is a numeric constant, variable, or expression with an integer value. If seed ≤ 0, the time of day is used to initialize the seed stream.
Range | seed < 2^{31}−1 |
See | Seed Values for more information about seed values |
is a numeric constant, variable, or expression with an integer value that specifies the number of independent Bernoulli trials parameter.
Range | n> 0 |
is a numeric constant, variable, or expression that specifies the probability of success.
Range | 0 < p < 1 |