dNonCentralStudent

dNonCentralStudent(nu, delta, x)

Probability density function of a NonCentralStudent distribution.

Parameters:
nufloat, \nu > 0

The \nu parameter.

deltafloat, \delta > 0

The \nu parameter.

xfloat
Returns:
pfloat

The PDF at point x.

Notes

The position parameter \gamma is equal to zero.

The probability density function is defined as:

f_X(x) = \frac{exp \left(-\delta^2 / 2 \right)}
              {\sqrt{\nu\pi} \Gamma \left(\frac{\nu}{2} \right)}
         \left(\frac{\nu}{\nu + x^2}\right) ^ {\frac{\nu + 1}{2}}
         \sum_{j=0}^{\infty}
         \frac{\Gamma \left(\frac{\nu + j + 1}{2}\right)}{\Gamma(j + 1)}
         \left(\delta(x - \gamma)
         \sqrt{\frac{2}{\nu + x^2}}\right) ^ j,
         \quad x \in \Rset

With \Gamma denotes Euler’s Gamma function Gamma().

Examples

>>> import openturns as ot
>>> ot.RandomGenerator.SetSeed(0)
>>> r = ot.DistFunc.dNonCentralStudent(2.5, 0.5, 4.0)