RANDNEGBINOM

RANDNEGBINOM random variate from a negative binomial distribution

Synopsis

RANDNEGBINOM(p,n)

Arguments

p: probability of success in a single trial

n: number of failures

Note

If p < 0 or p > 1 RANDNEGBINOM returns #NUM! If n < 1 RANDNEGBINOM returns #NUM!

See also

RAND, RANDBETWEEN.