pNonCentralStudent¶
- pNonCentralStudent(nu, delta, x, tail=False)¶
Cumulative distribution function of a NonCentralStudent distribution.
- Parameters:
- nufloat,
The parameter.
- deltafloat,
The parameter.
- xfloat
Location.
- tailbool, optional
Tail flag. Default value is False. If True, the complementary CDF is computed.
- Returns:
- pfloat
The CDF or the complementary CDF at x.
Notes
The position parameter is equal to zero.
The probability density function is defined as:
With denotes Euler’s Gamma function
Gamma()
.We use Viktor Witkovsky’s algorithm described in [witkovsky2003].
Examples
>>> import openturns as ot >>> cdf = ot.DistFunc.pNonCentralStudent(2.5, 3.5, 9.5) >>> cdf = ot.DistFunc.pNonCentralStudent(2.5, 3.5, 9.5, True)