Click or drag to resize
Accord.NET (logo)

UnivariateDiscreteDistributionBaseInverseDistributionFunction Method

Gets the inverse of the cumulative distribution function (icdf) for this distribution evaluated at probability p using a numerical approximation based on binary search.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
protected int BaseInverseDistributionFunction(
	double p
)
Request Example View Source

Parameters

p
Type: SystemDouble
A probability value between 0 and 1.

Return Value

Type: Int32
A sample which could original the given probability value when applied in the DistributionFunction(Int32).
Remarks
The Inverse Cumulative Distribution Function (ICDF) specifies, for a given probability, the value which the random variable will be at, or below, with that probability.
See Also