Producing random numbers with the gamma distribution: randgammad

### 8.3.10 Producing random numbers with the gamma distribution: randgammad

The randgammad command finds random numbers chosen according to the gamma distribution (see Section 8.4.11).

- randgammad takes two arguments:
  a and b, positive real numbers (the parameters).
- randgammad(a,b) returns a number chosen randomly according to the gamma distribution with parameters a and b.

#### Example.

Input:

randgammad(3,1)

Output (for example):

4.91461463472