Grocer Function
NAME
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
-
t = 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