Poisson

Interface

poisson(m:real) : int

where m>0.0. Returns a drawing from a Poisson distribution with intensity m.

Raises Poisson exception, if m<=0.0.

Characteristics

Mean: m
Variance: m

Probability mass functions for Poisson distributions:

Probability mass functions for Poisson distributions

Example

poisson(100.0)

A company has a network with a certain load. Each second an average of 100 packets is sent to the network. The number of packets arriving to the network per second is Poisson distributed with intensity m=100.0.

Related pages