random_bernoulli SciMax Toolbox random_beta_algorithm

SciMax Toolbox >> random_beta

random_beta

Maxima Function

Calling Sequence

random_beta (a,b)
random_beta(a,b,n)

Description

Returns a Beta(a,b) random variate, with a,b>0. Calling random_beta with a third argument n, a random sample of size n 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_beta_algorithm, which defaults to cheng.

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

random_bernoulli SciMax Toolbox random_beta_algorithm