Previous Up Next

8.3.12  Producing random numbers with the geometric distribution: randgeometric

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

Example.

Input:

randgeometric(0.2)

Output (for example):

11

Previous Up Next