8.3.11 Producing random numbers with the beta distribution: randbetad
The randbetad command finds random numbers chosen
according to the beta distribution (see
Section 8.4.12).
- randbetad takes two arguments:
a and b, positive real numbers (the parameters).
- randbetad(a,b) returns a number chosen randomly
according to the beta distribution with parameters a and b.
Example
Input:
randbetad(2,3)
Output (for example):