Click or drag to resize
Accord.NET (logo)

BernoulliDistributionInnerInverseDistributionFunction 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
protected override int InnerInverseDistributionFunction(
	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).
See Also