ChiSquareDistribution.DistributionFunction Method

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

DistributionFunction(Double) Evaluates the cumulative distribution function (CDF) of this distribution for the specified value.
DistributionFunction(Double, Double) Evaluates the cumulative distribution function (CDF) of this distribution for the specified value.

DistributionFunction(Double)

Evaluates the cumulative distribution function (CDF) of this distribution for the specified value.
C#
public override double DistributionFunction(
	double x
)

Parameters

x  Double
A real number.

Return Value

Double
The value of the cumulative distribution function for the specified value.

Remarks

The distribution function of a distribution, often also called the cumulative distribution function (CDF), gives the probability that a sample from the distribution will be less than or equal to the specified value.

The distribution function is the integral from -infinity to x of the . It is the complement of the SurvivorDistributionFunction(Double).

DistributionFunction(Double, Double)

Evaluates the cumulative distribution function (CDF) of this distribution for the specified value.
C#
public static double DistributionFunction(
	double x,
	double degreesOfFreedom
)

Parameters

x  Double
A real number.
degreesOfFreedom  Double
The degrees of freedom of the distribution.

Return Value

Double
The value of the cumulative distribution function for the specified value.

Remarks

The cumulative distribution function (CDF) of a distribution gives the probability that a sample from the distribution will be less than or equal to the specified value.

Exceptions

ArgumentOutOfRangeException

degreesOfFreedom is less than or equal to zero.

See Also