rNonCentralStudent¶
- rNonCentralStudent(*args)¶
Realization of a scalar NonCentralStudent distribution.
- Parameters:
- nufloat,
The parameter.
- deltafloat,
The parameter.
- sizeint, optional
The number of realizations. Default value is 1.
- Returns:
- realizationsfloat or a sequence of float
The realizations of the distribution.
Notes
The position parameter is equal to zero.
The probability density function is defined as:
With denotes Euler’s Gamma function
Gamma()
.Examples
>>> import openturns as ot >>> ot.RandomGenerator.SetSeed(0) >>> r = ot.DistFunc.rNonCentralStudent(2.5, 0.5) >>> r = ot.DistFunc.rNonCentralStudent(2.5, 0.5, 10)