qStudent

qStudent(*args)

Quantile of a scalar Student distribution.

Parameters:
nufloat, \nu > 0

The \nu parameter.

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

The probability density function is defined as:

p(x) = \dfrac{1}{\sqrt{\nu}B(1/2, \nu/2)} \left(1+ \dfrac{x^2}{\nu}\right)^{-\dfrac{\nu+1}{2}} \quad x \in \Rset

with \nu > 0.

Examples

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