Click or drag to resize
Accord.NET (logo)

BernoulliDistributionInverseDistributionFunction 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.5.0
Syntax
public override int InverseDistributionFunction(
	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).

Implements

IUnivariateDistributionTObservationInverseDistributionFunction(Double)
See Also