qPoisson

qPoisson(_lambda, p, tail=False)

Quantile of a Poisson distribution.

Parameters:
lambdafloat, \lambda \geq 0

The intensity of the Poisson distribution.

pfloat, in [0,1]

The probability.

tailbool

Tail flag.

Default value is False.

If True, the quantile associated to (1-p) is computed.

Returns:
qfloat

The quantile of order p or (1-p).

Notes

This method is based on Mikes Giles’ algorithm, described in [giles2013].

Examples

>>> import openturns as ot
>>> q = ot.DistFunc.qPoisson(2.0, 0.95)