Previous Up Next

9.3.12  Producing random numbers with the geometric distribution: randgeometric

The randgeometric command finds random numbers chosen according to the geometric distribution (see Section 9.4.13).


Example.
Input:

randgeometric(0.2)

Output (for example):

11

Previous Up Next