<< beta_pdf Supplementary distibution functions bincoef >>

Grocer >> Supplementary distibution functions > beta_rnd

beta_rnd

beta random draws

CALLING SEQUENCE

[rnd]=beta_rnd(n,a,b)

PARAMETERS

Input

* n = size of the vector of draws

* a = beta distribution parameter, a = scalar

* b = beta distribution parameter b = scalar

 

Output

* rnd = n-vector of random draws from the beta(a,b) distribution

DESCRIPTION

Random draws from the beta(a,b) distribution.

EXAMPLE

x=beta_rnd(100,10,5)

AUTHOR

Eric Dubois 2002

Report an issue
<< beta_pdf Supplementary distibution functions bincoef >>