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, optional

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).

Examples

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