pNonCentralChiSquare¶
- pNonCentralChiSquare(*args)¶
Cumulative distribution function of a NonCentralChiSquare.
- Parameters:
- nufloat,
The parameter.
- lambdafloat,
The parameter.
- xfloat
Location.
- tailbool, optional
Tail flag. Default value is False. If True, the complementary CDF is computed.
- precisionfloat, optional
The precision of the evaluation.
- maxInterint, optional
The maximum number of iterations of the algorithm.
- Returns:
- pfloat
The CDF or the complementary CDF at .
Notes
The probability density function is defined as:
where is the probability density function of a random variate.
We use Benton and Krishnamoorthy’s algorithm described in [benton2003].
Examples
>>> import openturns as ot >>> cdf = ot.DistFunc.pNonCentralChiSquare(2.5, 2.7, 3.0, True, 0.001, 100) >>> cdf = ot.DistFunc.pNonCentralChiSquare(2.5, 2.7, 3.0, False, 0.001, 100)