random_beta_algorithm SciMax Toolbox random_binomial_algorithm

SciMax Toolbox >> random_binomial

random_binomial

Maxima Function

Calling Sequence

random_binomial (n,p)
random_binomial(n,p,m)

Description

Returns a Binomial(n,p) random variate, with 0<p<1 and n a positive integer. Calling random_binomial with a third argument m, a random sample of size m will be simulated.

There are three algorithms implemented for this function, the one to be used can be selected giving a certain value to the global variable random_binomial_algorithm, which defaults to kachit.

See also . To make use of this function, write first load(distrib).

random_beta_algorithm SciMax Toolbox random_binomial_algorithm