Class CumulativeChiSquareDistribution
The cumulative chi-squared distribution with df degrees of freedom: P(df/2, x/2), the gamma CDF.
public sealed class CumulativeChiSquareDistribution
- Inheritance
-
CumulativeChiSquareDistribution
- Inherited Members
Constructors
CumulativeChiSquareDistribution(double)
Initializes a new instance of the CumulativeChiSquareDistribution class.
public CumulativeChiSquareDistribution(double df)
Parameters
dfdoubleThe degrees of freedom; the gamma distribution refuses a non-positive one when evaluated.
Methods
Evaluate(double)
The probability of a value below x.
public double Evaluate(double x)
Parameters
xdoubleThe point.
Returns
- double
P(df/2, x/2).
Exceptions
- ArgumentException
The degrees of freedom aren't positive.
- NanoQLException
The gamma function's series don't converge.