Click or drag to resize
Accord.NET (logo)

ChiSquareDistributionInverse Method

Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p. This function is also known as the Quantile function.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double Inverse(
	double p,
	int degreesOfFreedom
)
Request Example View Source

Parameters

p
Type: SystemDouble
A probability value between 0 and 1.
degreesOfFreedom
Type: SystemInt32
The degrees of freedom of the Chi-Square distribution.

Return Value

Type: Double
A sample which could original the given probability value when applied in the DistributionFunction(Double).
See Also