Skip to content

poisson

Syntax

poisson(mean)

Parameters

mean
Mean average of the distribution.

Returns

Returns an integer variate according to a Poisson distribution.

Description

Returns an integer variate of a Poisson distribution with the given mean parameter.

Examples

The following state will make entering agents collectively wait with a Poisson distribution (mean = 2) of individual hourly wait times:

state Test{
    wait(poisson(2))
    default(Excluded)
}

See Also